SO3Engine
|
Functions | |
int | SO3CbMaterialCollision (mmachine m) |
SO3CbMaterialCollision : Define the callback scol had to be called when two material ID collide. | |
int | SO3CbMaterialOverlapStarted (mmachine m) |
SO3CbMaterialOverlapStarted : Define the callback scol had to be called when two material ID start to overlap. | |
int | SO3CbMaterialOverlapEnded (mmachine m) |
SO3CbMaterialOverlapEnded : Define the callback scol had to be called when two material ID does not overlap together anymore. | |
int | SO3CbBodyLeaveWorld (mmachine m) |
SO3CbBodyLeaveWorld : Define the scol callback had to be called when a body leave the physic world deprecated. | |
int | SO3SceneLoadEntity (mmachine m) |
SO3SceneLoadEntity : create an Entity as a new SO3_Object. | |
int | SO3SceneLoadEntityInBackground (mmachine m) |
SO3SceneLoadEntityInBackground : create an Entity as a new SO3_Object. | |
int | SO3SceneLoadEntityByResourceName (mmachine m) |
SO3SceneLoadEntityByResourceName : create an Entity as a new SO3_Object. | |
int | SO3SceneCloneEntity (mmachine m) |
SO3SceneCloneEntity : clone an Entity as a new SO3_Object. | |
int | SO3SceneConvertFile (mmachine m) |
SO3SceneConvertFile : Convert a file. | |
int | SO3SceneLoadFile (mmachine m) |
SO3SceneLoadFile : create an Entity as a new SO3_Object. | |
int | SO3SceneConvertFileEx (mmachine m) |
SO3SceneConvertFileEx : Convert a file. | |
int | SO3SceneLoadFileEx (mmachine m) |
SO3SceneLoadFileEx : create an Entity as a new SO3_Object. | |
int | SO3SceneUnloadResource (mmachine m) |
SO3SceneUnloadResource : Unload a resource from Scene TODO! | |
int | SO3SceneLoadResource (mmachine m) |
SO3SceneLoadResource : Load a resource in Scene. | |
int | SO3SceneCloneAnimation (mmachine m) |
SO3SceneCloneAnimation : Clone a SO3_ANIM in Scene. | |
int | SO3SceneCloneAnimTrack (mmachine m) |
SO3SceneCloneAnimTrack : Clone a SO3_ANIMTRACK in Scene on a given SO3_ANIM DEPRECATED FUNCTION Prototype: fun [SO3_SCENE SO3_OBJECT SO3_ANIM I] SO3_ANIMTRACK. | |
int | SO3SceneLoadResourceMaterial (mmachine m) |
SO3SceneLoadResourceMaterial :Load Resource Material in Scene Deprecated | |
int | SO3SceneCreate (mmachine m) |
SO3SceneCreate : Create a new scene. | |
int | SO3SceneDelete (mmachine m) |
SO3SceneDelete : destroy a scene. | |
int | SO3SceneClear (mmachine m) |
SO3SceneClear : clear a scene. | |
int | SO3SceneSetSkyBox (mmachine m) |
SO3SceneSetSkyBox : function to set a sky box for a scene. | |
int | SO3SceneSetSkyBoxEnable (mmachine m) |
SO3SceneSetSkyBox : function to defines visiblity state for a sky box. | |
int | SO3SceneGetSkyBoxParameters (mmachine m) |
SO3SceneGetSkyBoxParameters : function to get the sky box parameters. | |
int | SO3SceneSetSkyDome (mmachine m) |
SO3SceneSetSkyDome : function to set a sky dome for a scene. | |
int | SO3SceneSetSkyDomeEnable (mmachine m) |
SO3SceneSetSkyDomeEnable : function to defines visiblity state for a sky dome. | |
int | SO3SceneGetSkyDomeParameters (mmachine m) |
SO3SceneGetSkyDomeParameters : function to get the sky dome parameters. | |
int | SO3SceneSetSkyPlane (mmachine m) |
SO3SceneSetSkyPlane : function to set a sky plane for a scene. | |
int | SO3SceneSetSkyPlaneEnable (mmachine m) |
SO3SceneSetSkyPlaneEnable : function to defines visiblity state for a sky plane. | |
int | SO3SceneGetSkyPlaneParameters (mmachine m) |
SO3SceneGetSkyPlaneParameters : function to get the sky plane parameters. | |
int | SO3SceneSetAmbientLight (mmachine m) |
SO3SceneSetAmbientLight : function to defines ambient light of the scene. | |
int | SO3SceneGetAmbientLight (mmachine m) |
SO3SceneGetAmbientLight : function to get the ambient light of the scene. | |
int | SO3SceneGetFogColor (mmachine m) |
SO3SceneGetFogColor : function to get the fog color of the scene. | |
int | SO3SceneGetFogMode (mmachine m) |
SO3SceneGetFogColor : function to get the fog mode of the scene. | |
int | SO3SceneGetFogDensity (mmachine m) |
SO3SceneGetFogDensity : function to get the fog density of the scene. | |
int | SO3SceneGetFogStart (mmachine m) |
SO3SceneGetFogStart : function to get the fog start of the scene. | |
int | SO3SceneGetFogEnd (mmachine m) |
SO3SceneGetFogEnd : function to get the fog end of the scene. | |
int | SO3SceneSetFog (mmachine m) |
SO3SceneSetFog : function to defines fog properties of the scene. | |
int | SO3SceneGetNode (mmachine m) |
SO3SceneGetNode : return a scene node by its name. | |
int | SO3SceneGetObject (mmachine m) |
SO3SceneGetObject : return a scene object by its name. | |
int | SO3SceneNodeCreate (mmachine m) |
SO3SceneNodeCreate : Create a new node. | |
int | SO3SceneParseMaterialsFromGroup (mmachine m) |
SO3SceneParseMaterialsFromGroup : Return the list of materials from a group name. | |
int | SO3SceneParseCompositorsFromGroup (mmachine m) |
SO3SceneParseCompositorsFromGroup : Return the list of compositors from a group name. | |
int | SO3SceneParseSchemeFromGroup (mmachine m) |
SO3SceneParseSchemeFromGroup : Return the list of material scheme from a group name. | |
int | SO3SceneParseParticleSystemsFromGroup (mmachine m) |
SO3SceneParseParticleSystemsFromGroup : Return the list of particle systems from a group name. | |
int | SO3SceneGetMaterial (mmachine m) |
SO3SceneGetMaterial : Return a material by its name. | |
int | SO3SceneGetTexture (mmachine m) |
SO3SceneGetTexture : Return a texture by its name. | |
int | SO3PlaneCreate (mmachine m) |
SO3PlaneCreate : create a plane as a SO3_OBJECT. | |
int | SO3SphereCreate (mmachine m) |
SO3SphereCreate : create a sphere as a SO3_OBJECT. | |
int | SO3ConeCreate (mmachine m) |
SO3ConeCreate : create a cone as a SO3_OBJECT. | |
int | SO3OctahedronCreate (mmachine m) |
SO3OctahedronCreate : create an octahedron as a SO3_OBJECT. | |
int | SO3SceneGetAnimation (mmachine m) |
SO3SceneGetAnimation : return an animation by its name. | |
int | SO3SceneGetAnimations (mmachine m) |
SO3SceneGetAnimations : Return the list of animations on a scene. | |
int | SO3SceneGetNumAnimations (mmachine m) |
SO3SceneGetNumAnimations : return an animation by its name. | |
int | SO3SceneSetMaterialsPointSize (mmachine m) |
SO3SceneSetMaterialsPointSize : Set all scene materials point cloud size. | |
int | SO3CbScenePreRender (mmachine m) |
SO3CbScenePreRender : defines callback for pre render event. | |
int | SO3CbScenePreRenderPhysic (mmachine m) |
SO3CbScenePreRenderPhysic : defines callback for pre render event, but after the animations and before physics update. | |
int | SO3CbScenePreRender2 (mmachine m) |
SO3CbScenePreRender2 : defines callback for pre render event, but after the animations and physics update. | |
int | SO3CbScenePostRender (mmachine m) |
SO3CbScenePostRender : defines callback for post render event. | |
int | SO3BufferGetLastMouseInfos (mmachine m) |
SO3BufferGetLastMouseInfos : get Last raycast info of a given render window. | |
Scol functions definition
int SO3BufferGetLastMouseInfos | ( | mmachine | m | ) |
SO3BufferGetLastMouseInfos : get Last raycast info of a given render window.
Prototype: fun [SO3_BUFFER] [SO3_SCENE SO3_OBJECT SO3_MATERIAL I [I [[F F F] [F F F] [F F F]] [[F F] [F F] [F F]]] [F F F] [F F] F]
SO3_BUFFER | : targeted render window |
Definition at line 3778 of file SO3SCOL.cpp.
int SO3CbBodyLeaveWorld | ( | mmachine | m | ) |
SO3CbBodyLeaveWorld : Define the scol callback had to be called when a body leave the physic world deprecated.
Prototype: fun [SO3_SCENE fun [SO3_PHYSICBODY u0] u1 u0] SO3_PHYSICBODY
SO3_PHYSICBODY | : physic body |
fun | [SO3_PHYSICBODY u0] u1 : function scol to call
|
u0 | : user parameter |
Definition at line 8731 of file SCOLPhysics.cpp.
int SO3CbMaterialCollision | ( | mmachine | m | ) |
SO3CbMaterialCollision : Define the callback scol had to be called when two material ID collide.
Prototype: fun [SO3_PHYSICMATERIAL SO3_PHYSICMATERIAL fun [SO3_SCENE u0 SO3_PHYSICBODY SO3_PHYSICBODY [F F F] [F F F] F F] u1 u0 ] SO3_PHYSICMATERIALPAIR
SO3_PHYSICMATERIAL | : current Material ID1 |
SO3_PHYSICMATERIAL | : current Material ID2 |
fun | [SO3_SCENE u0 SO3_PHYSICBODY SO3_PHYSICBODY [F F F] [F F F] [F F F] F] u1 : function scol to call
|
u0 | : user parameter |
Definition at line 8429 of file SCOLPhysics.cpp.
int SO3CbMaterialOverlapEnded | ( | mmachine | m | ) |
SO3CbMaterialOverlapEnded : Define the callback scol had to be called when two material ID does not overlap together anymore.
Prototype: fun [SO3_PHYSICMATERIAL SO3_PHYSICMATERIAL fun [SO3_SCENE u0 SO3_PHYSICBODY SO3_PHYSICBODY] u1 u0 ] SO3_PHYSICMATERIALPAIR
SO3_PHYSICMATERIAL | : current Material ID1 |
SO3_PHYSICMATERIAL | : current Material ID2 |
fun | [SO3_SCENE u0 SO3_PHYSICBODY SO3_PHYSICBODY] u1 : function scol to call
|
u0 | : user parameter |
Definition at line 8631 of file SCOLPhysics.cpp.
int SO3CbMaterialOverlapStarted | ( | mmachine | m | ) |
SO3CbMaterialOverlapStarted : Define the callback scol had to be called when two material ID start to overlap.
Prototype: fun [SO3_PHYSICMATERIAL SO3_PHYSICMATERIAL fun [SO3_SCENE u0 SO3_PHYSICBODY SO3_PHYSICBODY] u1 u0 ] SO3_PHYSICMATERIALPAIR
SO3_PHYSICMATERIAL | : current Material ID1 |
SO3_PHYSICMATERIAL | : current Material ID2 |
fun | [SO3_SCENE u0 SO3_PHYSICBODY SO3_PHYSICBODY] u1 : function scol to call
|
u0 | : user parameter |
Definition at line 8530 of file SCOLPhysics.cpp.
int SO3CbScenePostRender | ( | mmachine | m | ) |
SO3CbScenePostRender : defines callback for post render event.
Prototype: fun [SO3_SCENE fun [SO3_SCENE u0 I] u1 u0] SO3_SCENE
SO3_SCENE | : scene object |
fun | [SO3_SCENE u0 I] u1 : function scol to call |
u0 | : user parameter |
I | : time elapsed since last frame in microseconds |
Definition at line 4163 of file SCOLScene.cpp.
int SO3CbScenePreRender | ( | mmachine | m | ) |
SO3CbScenePreRender : defines callback for pre render event.
Prototype: fun [SO3_SCENE fun [SO3_SCENE u0 I] u1 u0] SO3_SCENE
SO3_SCENE | : scene object |
fun | [SO3_SCENE u0 I] u1 : function scol to call |
u0 | : user parameter |
I | : time elapsed since last frame in microseconds |
Definition at line 4087 of file SCOLScene.cpp.
int SO3CbScenePreRender2 | ( | mmachine | m | ) |
SO3CbScenePreRender2 : defines callback for pre render event, but after the animations and physics update.
Prototype: fun [SO3_SCENE fun [SO3_SCENE u0 I] u1 u0] SO3_SCENE
SO3_SCENE | : scene object |
fun | [SO3_SCENE u0 I] u1 : function scol to call |
u0 | : user parameter |
I | : time elapsed since last frame in microseconds |
Definition at line 4138 of file SCOLScene.cpp.
int SO3CbScenePreRenderPhysic | ( | mmachine | m | ) |
SO3CbScenePreRenderPhysic : defines callback for pre render event, but after the animations and before physics update.
Prototype: fun [SO3_SCENE fun [SO3_SCENE u0 I] u1 u0] SO3_SCENE
SO3_SCENE | : scene object |
fun | [SO3_SCENE u0 I] u1 : function scol to call |
u0 | : user parameter |
I | : physic time step in microseconds |
Definition at line 4112 of file SCOLScene.cpp.
int SO3ConeCreate | ( | mmachine | m | ) |
SO3ConeCreate : create a cone as a SO3_OBJECT.
Prototype: fun [SO3_SCENE S S F F I] SO3_OBJECT
SO3_SCENE | : current scene |
S | : group name |
S | : plane name |
F | : radius |
F | : height |
I | : segments |
Definition at line 3752 of file SCOLScene.cpp.
int SO3OctahedronCreate | ( | mmachine | m | ) |
SO3OctahedronCreate : create an octahedron as a SO3_OBJECT.
Prototype: fun [SO3_SCENE S S F F F] SO3_OBJECT
SO3_SCENE | : current scene |
S | : group name |
S | : plane name |
F | : base |
F | : bottom |
F | : up |
Definition at line 3831 of file SCOLScene.cpp.
int SO3PlaneCreate | ( | mmachine | m | ) |
SO3PlaneCreate : create a plane as a SO3_OBJECT.
Prototype: fun [SO3_SCENE S S [F F] [I I] [F F]] SO3_OBJECT
SO3_SCENE | : current scene |
S | : group name |
S | : plane name |
[F | F] : width and height |
[I | I] : plane segmentation X and Y (1 default) |
[F | F] : UV tile (U and V, 1.0 default) |
Definition at line 3588 of file SCOLScene.cpp.
int SO3SceneClear | ( | mmachine | m | ) |
SO3SceneClear : clear a scene.
Prototype: fun [SO3_SCENE] I
SO3_SCENE | : current scene |
Definition at line 1610 of file SCOLScene.cpp.
int SO3SceneCloneAnimation | ( | mmachine | m | ) |
SO3SceneCloneAnimation : Clone a SO3_ANIM in Scene.
Prototype: fun [SO3_SCENE SO3_ANIM S] SO3_ANIM
SO3_SCENE | : current scene |
SO3_ANIM | : initial animation which will be cloned |
S | : cloned animation name |
Definition at line 1257 of file SCOLScene.cpp.
int SO3SceneCloneAnimTrack | ( | mmachine | m | ) |
SO3SceneCloneAnimTrack : Clone a SO3_ANIMTRACK in Scene on a given SO3_ANIM DEPRECATED FUNCTION Prototype: fun [SO3_SCENE SO3_OBJECT SO3_ANIM I] SO3_ANIMTRACK.
SO3_SCENE | : current scene |
SO3_OBJECT | : Associated node |
SO3_ANIM | : Associated animation |
I | : Animation track type |
Definition at line 1326 of file SCOLScene.cpp.
int SO3SceneCloneEntity | ( | mmachine | m | ) |
SO3SceneCloneEntity : clone an Entity as a new SO3_Object.
Prototype: fun [SO3_SCENE S SO3_OBJECT] SO3_OBJECT
SO3_SCENE | : current scene |
S | : given name for entity |
SO3_OBJECT | : source entity |
Definition at line 367 of file SCOLScene.cpp.
int SO3SceneConvertFile | ( | mmachine | m | ) |
SO3SceneConvertFile : Convert a file.
Prototype: fun [P S I] P
P | : file path |
S | : export path related to the scol partition |
I | : loader flags |
Definition at line 447 of file SCOLScene.cpp.
int SO3SceneConvertFileEx | ( | mmachine | m | ) |
SO3SceneConvertFileEx : Convert a file.
Prototype: fun [P S I F] P
P | : file path |
S | : export path related to the scol partition |
I | : loader flags |
F | : scale factor |
Definition at line 764 of file SCOLScene.cpp.
int SO3SceneCreate | ( | mmachine | m | ) |
SO3SceneCreate : Create a new scene.
Prototype: fun [Chn S] SO3_SCENE
Chn | : current channel |
S | : given name for the scene |
Definition at line 1480 of file SCOLScene.cpp.
int SO3SceneDelete | ( | mmachine | m | ) |
SO3SceneDelete : destroy a scene.
Prototype: fun [SO3_SCENE] I
SO3_SCENE | : current scene |
Definition at line 1582 of file SCOLScene.cpp.
int SO3SceneGetAmbientLight | ( | mmachine | m | ) |
SO3SceneGetAmbientLight : function to get the ambient light of the scene.
Prototype: fun [SO3_SCENE] I
SO3_SCENE | : current scene |
Definition at line 2706 of file SCOLScene.cpp.
int SO3SceneGetAnimation | ( | mmachine | m | ) |
SO3SceneGetAnimation : return an animation by its name.
Prototype: fun [SO3_SCENE S] SO3_ANIM
SO3_SCENE | : current scene |
S | : given name |
Definition at line 3906 of file SCOLScene.cpp.
int SO3SceneGetAnimations | ( | mmachine | m | ) |
SO3SceneGetAnimations : Return the list of animations on a scene.
Prototype: fun [SO3_SCENE] [SO3_ANIM r1]
SO3_SCENE | : current scene |
Definition at line 3952 of file SCOLScene.cpp.
int SO3SceneGetFogColor | ( | mmachine | m | ) |
SO3SceneGetFogColor : function to get the fog color of the scene.
Prototype: fun [SO3_SCENE] I
SO3_SCENE | : current scene |
Definition at line 2746 of file SCOLScene.cpp.
int SO3SceneGetFogDensity | ( | mmachine | m | ) |
SO3SceneGetFogDensity : function to get the fog density of the scene.
Prototype: fun [SO3_SCENE] F
SO3_SCENE | : current scene |
Definition at line 2825 of file SCOLScene.cpp.
int SO3SceneGetFogEnd | ( | mmachine | m | ) |
SO3SceneGetFogEnd : function to get the fog end of the scene.
Prototype: fun [SO3_SCENE] F
SO3_SCENE | : current scene |
Definition at line 2893 of file SCOLScene.cpp.
int SO3SceneGetFogMode | ( | mmachine | m | ) |
SO3SceneGetFogColor : function to get the fog mode of the scene.
Prototype: fun [SO3_SCENE] I
SO3_SCENE | : current scene |
For fog mode, values are :
Definition at line 2791 of file SCOLScene.cpp.
int SO3SceneGetFogStart | ( | mmachine | m | ) |
SO3SceneGetFogStart : function to get the fog start of the scene.
Prototype: fun [SO3_SCENE] F
SO3_SCENE | : current scene |
Definition at line 2859 of file SCOLScene.cpp.
int SO3SceneGetMaterial | ( | mmachine | m | ) |
SO3SceneGetMaterial : Return a material by its name.
Prototype: fun [SO3_SCENE S S] SO3_MATERIAL
SO3_SCENE | : current scene |
S | : given group name |
S | : given material name |
Definition at line 3467 of file SCOLScene.cpp.
int SO3SceneGetNode | ( | mmachine | m | ) |
SO3SceneGetNode : return a scene node by its name.
Prototype: fun [SO3_SCENE S] SO3_OBJECT
SO3_SCENE | : current scene |
S | : given name |
Definition at line 3001 of file SCOLScene.cpp.
int SO3SceneGetNumAnimations | ( | mmachine | m | ) |
SO3SceneGetNumAnimations : return an animation by its name.
Prototype: fun [SO3_SCENE] I
SO3_SCENE | : current scene |
Definition at line 4013 of file SCOLScene.cpp.
int SO3SceneGetObject | ( | mmachine | m | ) |
SO3SceneGetObject : return a scene object by its name.
Prototype: fun [SO3_SCENE S] SO3_OBJECT
SO3_SCENE | : current scene |
S | : given name |
Definition at line 3045 of file SCOLScene.cpp.
int SO3SceneGetSkyBoxParameters | ( | mmachine | m | ) |
SO3SceneGetSkyBoxParameters : function to get the sky box parameters.
Prototype: fun [SO3_SCENE] [SO3_MATERIAL F [F F F F] I I]
SO3_SCENE | : current scene |
Definition at line 1946 of file SCOLScene.cpp.
int SO3SceneGetSkyDomeParameters | ( | mmachine | m | ) |
SO3SceneGetSkyDomeParameters : function to get the sky dome parameters.
Prototype: fun [SO3_SCENE] [SO3_MATERIAL F F F I I I [F F F F] I I]
SO3_SCENE | : current scene |
Definition at line 2230 of file SCOLScene.cpp.
int SO3SceneGetSkyPlaneParameters | ( | mmachine | m | ) |
SO3SceneGetSkyPlaneParameters : function to get the sky plane parameters.
Prototype: fun [SO3_SCENE] [SO3_MATERIAL F F F I I F [F F F] I I]
SO3_SCENE | : current scene |
Definition at line 2544 of file SCOLScene.cpp.
int SO3SceneGetTexture | ( | mmachine | m | ) |
SO3SceneGetTexture : Return a texture by its name.
Prototype: fun [SO3_SCENE S S] SO3_TEXTURE
SO3_SCENE | : current scene |
S | : given group name |
S | : given texture name |
Definition at line 3519 of file SCOLScene.cpp.
int SO3SceneLoadEntity | ( | mmachine | m | ) |
SO3SceneLoadEntity : create an Entity as a new SO3_Object.
Prototype: fun [SO3_SCENE S S P] SO3_OBJECT
SO3_SCENE | : current scene |
S | : group name |
S | : given name for entity |
P | : given mesh path |
Definition at line 128 of file SCOLScene.cpp.
int SO3SceneLoadEntityByResourceName | ( | mmachine | m | ) |
SO3SceneLoadEntityByResourceName : create an Entity as a new SO3_Object.
Prototype: fun [SO3_SCENE S S S] SO3_OBJECT
SO3_SCENE | : current scene |
S | : group name |
S | : given name for entity |
S | : mesh resource name |
Definition at line 292 of file SCOLScene.cpp.
int SO3SceneLoadEntityInBackground | ( | mmachine | m | ) |
SO3SceneLoadEntityInBackground : create an Entity as a new SO3_Object.
Prototype: fun [SO3_SCENE S S P fun [SO3_OBJECT u0] u1 u0] SO3_OBJECT
SO3_SCENE | : current scene |
S | : group name |
S | : given name for entity |
P | : given mesh path |
fun | [SO3_OBJECT u0] u1 : callback on mesh loaded |
u0 | : user parameter |
Definition at line 206 of file SCOLScene.cpp.
int SO3SceneLoadFile | ( | mmachine | m | ) |
SO3SceneLoadFile : create an Entity as a new SO3_Object.
Prototype: fun [SO3_SCENE S P SO3_OBJECT I] I
SO3_SCENE | : current scene |
S | : group name |
P | : file path |
SO3_OBJECT | : parent node, can't be NIL |
I | : loader flags |
Definition at line 567 of file SCOLScene.cpp.
int SO3SceneLoadFileEx | ( | mmachine | m | ) |
SO3SceneLoadFileEx : create an Entity as a new SO3_Object.
Prototype: fun [SO3_SCENE S P SO3_OBJECT I F] I
SO3_SCENE | : current scene |
S | : group name |
P | : file path |
SO3_OBJECT | : parent node, can't be NIL |
I | : loader flags |
F | : scale factor |
Definition at line 886 of file SCOLScene.cpp.
int SO3SceneLoadResource | ( | mmachine | m | ) |
SO3SceneLoadResource : Load a resource in Scene.
Prototype: fun [SO3_SCENE S P I] I
SO3_SCENE | : current scene |
S | : name of group |
P | : name of the resource |
I | : resource type |
For Resource type, values are :
Definition at line 1197 of file SCOLScene.cpp.
int SO3SceneLoadResourceMaterial | ( | mmachine | m | ) |
SO3SceneLoadResourceMaterial :Load Resource Material in Scene
Deprecated
Prototype: fun [SO3_SCENE S P] I
SO3_SCENE | : current scene |
S | : given resource group |
P | : resource path (relative to scol partition) |
Definition at line 1355 of file SCOLScene.cpp.
int SO3SceneNodeCreate | ( | mmachine | m | ) |
SO3SceneNodeCreate : Create a new node.
Prototype: fun [SO3_SCENE S] SO3_OBJECT
SO3_SCENE | : current scene |
S | : given name |
Definition at line 3100 of file SCOLScene.cpp.
int SO3SceneParseCompositorsFromGroup | ( | mmachine | m | ) |
SO3SceneParseCompositorsFromGroup : Return the list of compositors from a group name.
Prototype: fun [SO3_SCENE S] [S r1]
SO3_SCENE | : current scene |
S | : given group name |
Definition at line 3231 of file SCOLScene.cpp.
int SO3SceneParseMaterialsFromGroup | ( | mmachine | m | ) |
SO3SceneParseMaterialsFromGroup : Return the list of materials from a group name.
Prototype: fun [SO3_SCENE S] [SO3_MATERIAL r1]
SO3_SCENE | : current scene |
S | : given group name |
Definition at line 3156 of file SCOLScene.cpp.
int SO3SceneParseParticleSystemsFromGroup | ( | mmachine | m | ) |
SO3SceneParseParticleSystemsFromGroup : Return the list of particle systems from a group name.
Prototype: fun [SO3_SCENE S] [S r1]
SO3_SCENE | : current scene |
S | : given group name |
Definition at line 3394 of file SCOLScene.cpp.
int SO3SceneParseSchemeFromGroup | ( | mmachine | m | ) |
SO3SceneParseSchemeFromGroup : Return the list of material scheme from a group name.
Prototype: fun [SO3_SCENE S] [S r1]
SO3_SCENE | : current scene |
S | : given group name |
Definition at line 3305 of file SCOLScene.cpp.
int SO3SceneSetAmbientLight | ( | mmachine | m | ) |
SO3SceneSetAmbientLight : function to defines ambient light of the scene.
Prototype: fun [SO3_SCENE I] I
SO3_SCENE | : current scene |
I | : given color (rgba) |
Definition at line 2663 of file SCOLScene.cpp.
int SO3SceneSetFog | ( | mmachine | m | ) |
SO3SceneSetFog : function to defines fog properties of the scene.
Prototype: fun [SO3_SCENE I I F F F] I
SO3_SCENE | : current scene |
I | : mode |
I | : color (rgba) |
F | : exponential coefficient |
F | : linear start |
F | : linear end |
For fog mode, values are :
Definition at line 2938 of file SCOLScene.cpp.
int SO3SceneSetMaterialsPointSize | ( | mmachine | m | ) |
SO3SceneSetMaterialsPointSize : Set all scene materials point cloud size.
Prototype: fun [SO3_SCENE F] SO3_SCENE
SO3_SCENE | : current scene |
F | : the new point size |
Definition at line 4046 of file SCOLScene.cpp.
int SO3SceneSetSkyBox | ( | mmachine | m | ) |
SO3SceneSetSkyBox : function to set a sky box for a scene.
Prototype: fun [SO3_SCENE SO3_MATERIAL F [F F F F] S I I] I
SO3_SCENE | : current scene |
SO3_MATERIAL | : current material for skyBox |
F | : given distance |
[F | F F F] : given orientation (quaternion) |
S | : given group for resource |
I | : set visible (1 enable/0 disable) |
I | : boolean for draw First on rendering (1 enable/0 disable) |
Definition at line 1774 of file SCOLScene.cpp.
int SO3SceneSetSkyBoxEnable | ( | mmachine | m | ) |
SO3SceneSetSkyBox : function to defines visiblity state for a sky box.
Prototype: fun [SO3_SCENE I] I
SO3_SCENE | : current scene |
I | : set visible (1 enable/0 disable) |
Definition at line 1870 of file SCOLScene.cpp.
int SO3SceneSetSkyDome | ( | mmachine | m | ) |
SO3SceneSetSkyDome : function to set a sky dome for a scene.
Prototype: fun [SO3_SCENE SO3_MATERIAL F [F F F F] F F I I I S I I] I
SO3_SCENE | : current scene |
SO3_MATERIAL | : current material for SkyDome |
F | : given distance |
[F | F F F] : given orientation (quaternion) |
F | : given curvature |
F | : given tiling |
I | : given xSeg |
I | : given ySeg |
I | : given yKeep |
S | : given group for resource |
I | : set visible (1 enable/0 disable) |
I | : boolean for draw First on rendering (1 enable/0 disable) |
Definition at line 2056 of file SCOLScene.cpp.
int SO3SceneSetSkyDomeEnable | ( | mmachine | m | ) |
SO3SceneSetSkyDomeEnable : function to defines visiblity state for a sky dome.
Prototype: fun [SO3_SCENE I] I
SO3_SCENE | : current scene |
I | : set visible (1 enable/0 disable) |
Definition at line 2156 of file SCOLScene.cpp.
int SO3SceneSetSkyPlane | ( | mmachine | m | ) |
SO3SceneSetSkyPlane : function to set a sky plane for a scene.
Prototype: fun [SO3_SCENE SO3_MATERIAL F [F F F] F F F I I S I I] I
SO3_SCENE | : current scene |
SO3_MATERIAL | : current material for skyPlane |
F | : given distance |
[F | F F] : given vector |
F | : given scale |
F | : given tiling |
F | : given bow |
I | : given xSeg |
I | : given ySeg |
S | : given group for resource |
I | : set visible (1 enable/0 disable) |
I | : boolean for draw First on rendering (1 enable/0 disable) |
Definition at line 2361 of file SCOLScene.cpp.
int SO3SceneSetSkyPlaneEnable | ( | mmachine | m | ) |
SO3SceneSetSkyPlaneEnable : function to defines visiblity state for a sky plane.
Prototype: fun [SO3_SCENE I] I
SO3_SCENE | : current scene |
I | : set visible (1 enable/0 disable) |
Definition at line 2469 of file SCOLScene.cpp.
int SO3SceneUnloadResource | ( | mmachine | m | ) |
SO3SceneUnloadResource : Unload a resource from Scene TODO!
Prototype: fun [SO3_SCENE S I] I
SO3_SCENE | : current scene |
S | : name of the resource |
I | : resource type |
Definition at line 1083 of file SCOLScene.cpp.
int SO3SphereCreate | ( | mmachine | m | ) |
SO3SphereCreate : create a sphere as a SO3_OBJECT.
Prototype: fun [SO3_SCENE S S F I I] SO3_OBJECT
SO3_SCENE | : current scene |
S | : group name |
S | : plane name |
F | : radius |
I | : rings |
I | : segments |
Definition at line 3673 of file SCOLScene.cpp.