SO3Engine
|
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 | SO3EntitySetVisibilityFlagIndexEnable (mmachine m) |
SO3EntitySetVisibilityFlagIndexEnable : Set the visibility flag at the given index (do not change other flags!). | |
int | SO3EntityGetVisibilityFlagIndexEnable (mmachine m) |
SO3EntityGetVisibilityFlagIndexEnable : Retrieve if the visibility flag at the given index is enabled or not (do not returns other flags!). | |
int | SO3EntityGenerateLOD (mmachine m) |
SO3EntityGenerateLOD : Generate LOD on an entity. | |
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 | SO3EntityGetSkeleton (mmachine m) |
SO3EntityGetSkeleton : Get a skeleton resource from the entity. | |
int | SO3EntitySetMaterial (mmachine m) |
SO3EntitySetMaterial : Set a material on Entity. | |
int | SO3EntityGetResourceGroup (mmachine m) |
SO3EntityGetResourceGroup : Get the resource group of an Entity. | |
int | SO3EntitySetMinPixelSize (mmachine m) |
SO3EntitySetMinPixelSize : Set the visibility minmum pixel size. | |
int | SO3EntityGetMinPixelSize (mmachine m) |
SO3EntityGetMinPixelSize : Get the visibility minimum pixel size. | |
Scol functions definition
int SO3EntityAttachSkeleton | ( | mmachine | m | ) |
SO3EntityAttachSkeleton : Load a skeleton resource in Scene.
Prototype: fun [SO3_OBJECT P] SO3_OBJECT
SO3_OBJECT | : entity to which the loaded skeleton will be attached |
P | : resource skeleton path |
Definition at line 472 of file SCOLEntity.cpp.
int SO3EntityGenerateLOD | ( | mmachine | m | ) |
SO3EntityGenerateLOD : Generate LOD on an entity.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current entity |
I | : number of LOD levels, 0 to disable LOD |
Definition at line 282 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
SO3_OBJECT | : current node |
I | : given index |
Definition at line 337 of file SCOLEntity.cpp.
int SO3EntityGetMinPixelSize | ( | mmachine | m | ) |
SO3EntityGetMinPixelSize : Get the visibility minimum pixel size.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current entity |
Definition at line 844 of file SCOLEntity.cpp.
int SO3EntityGetResourceGroup | ( | mmachine | m | ) |
SO3EntityGetResourceGroup : Get the resource group of an Entity.
Prototype: fun [SO3_OBJECT] S
SO3_OBJECT | : given entity |
I | : subEntity index |
Definition at line 752 of file SCOLEntity.cpp.
int SO3EntityGetSkeleton | ( | mmachine | m | ) |
SO3EntityGetSkeleton : Get a skeleton resource from the entity.
Prototype: fun [SO3_OBJECT] P
SO3_OBJECT | : entity |
Definition at line 650 of file SCOLEntity.cpp.
int SO3EntityGetVisibilityFlagIndexEnable | ( | mmachine | m | ) |
SO3EntityGetVisibilityFlagIndexEnable : Retrieve if the visibility flag at the given index is enabled or not (do not returns other flags!).
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current entity |
I | : flag index. Flag index range is from 0 to 31 (which means that 32 different visibility layers are possible) |
Definition at line 229 of file SCOLEntity.cpp.
int SO3EntityGetVisibilityFlags | ( | mmachine | m | ) |
SO3EntityGetVisibilityFlags : Get the visibility flags corresponding to viewports masks.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current entity |
Definition at line 137 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]
SO3_OBJECT | : given entity |
Definition at line 394 of file SCOLEntity.cpp.
int SO3EntityNumOfSubEntities | ( | mmachine | m | ) |
main include
SO3EntityNumOfSubEntities : Return the number of subEntities for a given entity
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current entity |
Definition at line 54 of file SCOLEntity.cpp.
int SO3EntitySetMaterial | ( | mmachine | m | ) |
SO3EntitySetMaterial : Set a material on Entity.
Prototype: fun [SO3_OBJECT SO3_MATERIAL I] I
SO3_OBJECT | : given entity |
SO3_MATERIAL | : given material |
I | : subEntity index |
Definition at line 701 of file SCOLEntity.cpp.
int SO3EntitySetMinPixelSize | ( | mmachine | m | ) |
SO3EntitySetMinPixelSize : Set the visibility minmum pixel size.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current entity |
F | : pixel size |
Definition at line 797 of file SCOLEntity.cpp.
int SO3EntitySetVisibilityFlagIndexEnable | ( | mmachine | m | ) |
SO3EntitySetVisibilityFlagIndexEnable : Set the visibility flag at the given index (do not change other flags!).
Prototype: fun [SO3_OBJECT I I] I
SO3_OBJECT | : current entity |
I | : flag index. Flag index range is from 0 to 31 (which means that 32 different visibility layers are possible) |
I | : 1 to enable, 0 or NIL to disable |
Definition at line 178 of file SCOLEntity.cpp.
int SO3EntitySetVisibilityFlags | ( | mmachine | m | ) |
SO3EntitySetVisibilityFlags : Set the visibility flags corresponding to viewports masks.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current entity |
I | : flags |
Definition at line 94 of file SCOLEntity.cpp.