Entity

Functions

int SO3EntityNumOfSubEntities (mmachine m)
 main include
int SO3EntitySetVisibilityFlags (mmachine m)
 SO3EntitySetVisibilityFlags : Set the visibility flags corresponding to viewports masks.
int SO3EntityGetVisibilityFlags (mmachine m)
 SO3EntityGetVisibilityFlags : Get the visibility flags corresponding to viewports masks.
int SO3EntityGetMaterialByIndex (mmachine m)
 SO3EntityGetMaterialByIndex : Return the material associated with a given subEntity for a given node.
int SO3EntityMaterialList (mmachine m)
 SO3EntityMaterialList : return the list of material applied on an Entity.
int SO3EntityAttachSkeleton (mmachine m)
 SO3EntityAttachSkeleton : Load a skeleton resource in Scene.
int SO3EntitySetMaterial (mmachine m)
 SO3EntitySetMaterial : Set a material on Entity.

Detailed Description

Scol functions definition


Function Documentation

int SO3EntityAttachSkeleton ( mmachine  m  ) 

SO3EntityAttachSkeleton : Load a skeleton resource in Scene.

Prototype: fun [SO3_OBJECT P] SO3_OBJECT

Parameters:
SO3_OBJECT : entity to which the loaded skeleton will be attached
P : resource skeleton path
Returns:
SO3_OBJECT : The entity where the skeleton is attached if success, NIL otherwise

Definition at line 315 of file SCOLEntity.cpp.

int SO3EntityGetMaterialByIndex ( mmachine  m  ) 

SO3EntityGetMaterialByIndex : Return the material associated with a given subEntity for a given node.

Prototype: fun [SO3_OBJECT I] SO3_MATERIAL

Parameters:
SO3_OBJECT : current node
I : given index
Returns:
SO3_MATERIAL : The subEntity material if success , NIL otherwise

Definition at line 185 of file SCOLEntity.cpp.

int SO3EntityGetVisibilityFlags ( mmachine  m  ) 

SO3EntityGetVisibilityFlags : Get the visibility flags corresponding to viewports masks.

Prototype: fun [SO3_OBJECT] I

Parameters:
SO3_OBJECT : current entity
Returns:
I : flags, NIL otherwise

Definition at line 144 of file SCOLEntity.cpp.

int SO3EntityMaterialList ( mmachine  m  ) 

SO3EntityMaterialList : return the list of material applied on an Entity.

Prototype: fun [SO3_OBJECT] [SO3_MATERIAL r1]

Parameters:
SO3_OBJECT : given entity
Returns:
[SO3_MATERIAL r1] : Materials list if success, NIL otherwise

Definition at line 242 of file SCOLEntity.cpp.

int SO3EntityNumOfSubEntities ( mmachine  m  ) 

main include

SO3EntityNumOfSubEntities : Return the number of subEntities for a given entity Prototype: fun [SO3_OBJECT] [SO3_OBJECT r1]

Parameters:
SO3_OBJECT : current entity
Returns:
I : Number of SubEntities if success , NIL otherwise

Definition at line 55 of file SCOLEntity.cpp.

int SO3EntitySetMaterial ( mmachine  m  ) 

SO3EntitySetMaterial : Set a material on Entity.

Prototype: fun [SO3_OBJECT SO3_MATERIAL I] I

Parameters:
SO3_OBJECT : given entity
SO3_MATERIAL : given material
I : subEntity index
Returns:
I : 1 if success, NIL otherwise

Definition at line 485 of file SCOLEntity.cpp.

int SO3EntitySetVisibilityFlags ( mmachine  m  ) 

SO3EntitySetVisibilityFlags : Set the visibility flags corresponding to viewports masks.

Prototype: fun [SO3_OBJECT I] I

Parameters:
SO3_OBJECT : current entity
I : flags
Returns:
I : 0 success, NIL otherwise

Definition at line 95 of file SCOLEntity.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Oct 31 14:42:33 2011 for SO3Engine by  doxygen 1.6.3