#include "SO3SCOL.h"#include "../SO3Animation/SO3Anim.h"#include "../SO3Material/SO3Material.h"#include "../SCOLBasic/SO3Std.h"#include "../SCOLBasic/SO3DataScol.h"#include "../SO3SceneGraph/SO3Entity.h"#include "../SO3SceneGraph/SO3Scene.h"#include "../SO3SceneGraph/SO3Skeleton.h"Go to the source code of this file.
Defines | |
| #define | NBENTITYPKG 7 |
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. | |
| int | SCOLloadEntity (mmachine m, cbmachine w) |
| Load the SO3Engine Entity function. | |
| int | SCOLfreeEntity () |
| free the SO3Engine Entity function | |
Variables | |
| char * | ENTITYname [NBENTITYPKG] |
| int(* | ENTITYFunc [NBENTITYPKG])(mmachine m) |
| int | ENTITYnarg [NBENTITYPKG] |
| char * | ENTITYType [NBENTITYPKG] |
| #define NBENTITYPKG 7 |
Nb of Scol functions or types
Definition at line 533 of file SCOLEntity.cpp.
| int SCOLfreeEntity | ( | ) |
free the SO3Engine Entity function
| m | : The VM |
Definition at line 611 of file SCOLEntity.cpp.
Load the SO3Engine Entity function.
| m | : The VM | |
| w | : The Callback VM |
Definition at line 601 of file SCOLEntity.cpp.
| int(* ENTITYFunc[NBENTITYPKG])(mmachine m) |
{
SO3EntityNumOfSubEntities,
SO3EntityGetMaterialByIndex,
SO3EntityMaterialList,
SO3EntityAttachSkeleton,
SO3EntitySetMaterial,
SO3EntitySetVisibilityFlags,
SO3EntityGetVisibilityFlags
}
Nb of arguments of each scol function
Definition at line 554 of file SCOLEntity.cpp.
| char* ENTITYname[NBENTITYPKG] |
{
"SO3EntityNumOfSubEntities",
"SO3EntityGetMaterialByIndex",
"SO3EntityMaterialList",
"SO3EntityAttachSkeleton",
"SO3EntitySetMaterial",
"SO3EntitySetVisibilityFlags",
"SO3EntityGetVisibilityFlags"
}
Pointers to C functions that manipulate the VM for each scol function previously defined
Definition at line 539 of file SCOLEntity.cpp.
| int ENTITYnarg[NBENTITYPKG] |
{
1,
2,
1,
2,
3,
2,
1
}
Nb of arguments of each scol function
Definition at line 569 of file SCOLEntity.cpp.
| char* ENTITYType[NBENTITYPKG] |
{
"fun [SO3_OBJECT] I",
"fun [SO3_OBJECT I] SO3_MATERIAL",
"fun [SO3_OBJECT] [SO3_MATERIAL r1]",
"fun [SO3_OBJECT P] SO3_OBJECT",
"fun [SO3_OBJECT SO3_MATERIAL I] I",
"fun [SO3_OBJECT I] I",
"fun [SO3_OBJECT] I"
}
Prototypes of the scol functions
Definition at line 584 of file SCOLEntity.cpp.
1.6.3