Project

General

Profile

SO3Engine
SCOLEntity.cpp File Reference

Go to the source code of this file.

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.
 
int SCOLloadEntity (mmachine m, cbmachine w)
 Load the SO3Engine Entity function.
 
int SCOLfreeEntity ()
 free the SO3Engine Entity function
 

Variables

NativeDefinition natSO3Entity []
 

Function Documentation

◆ SCOLfreeEntity()

int SCOLfreeEntity ( )

free the SO3Engine Entity function

Parameters
m: The VM

Definition at line 908 of file SCOLEntity.cpp.

◆ SCOLloadEntity()

int SCOLloadEntity ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Entity function.

Parameters
m: The VM
w: The Callback VM

Definition at line 898 of file SCOLEntity.cpp.

Variable Documentation

◆ natSO3Entity

NativeDefinition natSO3Entity[]
Initial value:
= {
{ "SO3EntityNumOfSubEntities", 1, "fun [SO3_OBJECT] I", SO3EntityNumOfSubEntities },
{ "SO3EntityGetMaterialByIndex", 2, "fun [SO3_OBJECT I] SO3_MATERIAL", SO3EntityGetMaterialByIndex },
{ "SO3EntityMaterialList", 1, "fun [SO3_OBJECT] [SO3_MATERIAL r1]", SO3EntityMaterialList },
{ "SO3EntityAttachSkeleton", 2, "fun [SO3_OBJECT P] SO3_OBJECT", SO3EntityAttachSkeleton },
{ "SO3EntityGetSkeleton", 1, "fun [SO3_OBJECT] P", SO3EntityGetSkeleton },
{ "SO3EntitySetMaterial", 3, "fun [SO3_OBJECT SO3_MATERIAL I] I", SO3EntitySetMaterial },
{ "SO3EntityGetResourceGroup", 1, "fun [SO3_OBJECT] S", SO3EntityGetResourceGroup },
{ "SO3EntitySetVisibilityFlags", 2, "fun [SO3_OBJECT I] I", SO3EntitySetVisibilityFlags },
{ "SO3EntityGetVisibilityFlags", 1, "fun [SO3_OBJECT] I", SO3EntityGetVisibilityFlags },
{ "SO3EntitySetVisibilityFlagIndexEnable", 3, "fun [SO3_OBJECT I I] I", SO3EntitySetVisibilityFlagIndexEnable },
{ "SO3EntityGetVisibilityFlagIndexEnable", 2, "fun [SO3_OBJECT I] I", SO3EntityGetVisibilityFlagIndexEnable },
{ "SO3EntityGenerateLOD", 2, "fun [SO3_OBJECT I] I", SO3EntityGenerateLOD },
{ "SO3EntitySetMinPixelSize", 2, "fun [SO3_OBJECT F] I", SO3EntitySetMinPixelSize },
{ "SO3EntityGetMinPixelSize", 1, "fun [SO3_OBJECT] F", SO3EntityGetMinPixelSize }
}
int SO3EntityGetMaterialByIndex(mmachine m)
SO3EntityGetMaterialByIndex : Return the material associated with a given subEntity for a given node.
int SO3EntitySetMinPixelSize(mmachine m)
SO3EntitySetMinPixelSize : Set the visibility minmum pixel size.
int SO3EntityMaterialList(mmachine m)
SO3EntityMaterialList : return the list of material applied on an Entity.
int SO3EntitySetMaterial(mmachine m)
SO3EntitySetMaterial : Set a material on Entity.
int SO3EntityGetMinPixelSize(mmachine m)
SO3EntityGetMinPixelSize : Get the visibility minimum pixel size.
int SO3EntityNumOfSubEntities(mmachine m)
main include
int SO3EntityGetVisibilityFlagIndexEnable(mmachine m)
SO3EntityGetVisibilityFlagIndexEnable : Retrieve if the visibility flag at the given index is enabled...
int SO3EntityAttachSkeleton(mmachine m)
SO3EntityAttachSkeleton : Load a skeleton resource in Scene.
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 oth...
int SO3EntityGetSkeleton(mmachine m)
SO3EntityGetSkeleton : Get a skeleton resource from the entity.
int SO3EntityGetResourceGroup(mmachine m)
SO3EntityGetResourceGroup : Get the resource group of an Entity.
int SO3EntityGenerateLOD(mmachine m)
SO3EntityGenerateLOD : Generate LOD on an entity.

Definition at line 875 of file SCOLEntity.cpp.