Project

General

Profile

SO3Engine
SCOLScene.cpp File Reference

Go to the source code of this file.

Functions

int createEntinyAnimationsScol (mmachine m, SEntity *entity)
 
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 SO3SceneCreateAnimationSequence (mmachine m)
 SO3SceneCreateAnimationSequence : Create a Scene Animation sequence.
 
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 getScenePreRenderEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 
int getScenePreRenderEvent2 (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 
int getScenePostRenderEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 
int getScenePreRenderPhysicEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 
int getObjectLoadedEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 
int SCOLloadScene (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
 

Variables

int SCENE_PRE_RENDER_EVENT
 main include
 
int SCENE_PRE_RENDER_EVENT2
 
int SCENE_POST_RENDER_EVENT
 
int SCENE_PRE_RENDER_PHYSIC_EVENT
 
int OBJECT_LOADED_EVENT
 
SRoot * scolRoot
 Shared data.
 
NativeDefinition natSO3Scene []
 

Function Documentation

◆ createEntinyAnimationsScol()

int createEntinyAnimationsScol ( mmachine  m,
SEntity *  entity 
)

Definition at line 77 of file SCOLScene.cpp.

◆ getObjectLoadedEvent()

int getObjectLoadedEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

Definition at line 4245 of file SCOLScene.cpp.

◆ getScenePostRenderEvent()

int getScenePostRenderEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

Definition at line 4210 of file SCOLScene.cpp.

◆ getScenePreRenderEvent()

int getScenePreRenderEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

Definition at line 4177 of file SCOLScene.cpp.

◆ getScenePreRenderEvent2()

int getScenePreRenderEvent2 ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

Definition at line 4193 of file SCOLScene.cpp.

◆ getScenePreRenderPhysicEvent()

int getScenePreRenderPhysicEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

Definition at line 4227 of file SCOLScene.cpp.

◆ SCOLloadScene()

int SCOLloadScene ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters
m: The VM
w: The Callback VM

Definition at line 4345 of file SCOLScene.cpp.

Variable Documentation

◆ natSO3Scene

NativeDefinition natSO3Scene[]

Definition at line 4269 of file SCOLScene.cpp.

◆ OBJECT_LOADED_EVENT

int OBJECT_LOADED_EVENT
extern

Definition at line 194 of file SO3SCOL.cpp.

◆ SCENE_POST_RENDER_EVENT

int SCENE_POST_RENDER_EVENT
extern

Definition at line 191 of file SO3SCOL.cpp.

◆ SCENE_PRE_RENDER_EVENT

int SCENE_PRE_RENDER_EVENT
extern

main include

global declarations

main include

Definition at line 189 of file SO3SCOL.cpp.

◆ SCENE_PRE_RENDER_EVENT2

int SCENE_PRE_RENDER_EVENT2
extern

Definition at line 190 of file SO3SCOL.cpp.

◆ SCENE_PRE_RENDER_PHYSIC_EVENT

int SCENE_PRE_RENDER_PHYSIC_EVENT
extern

Definition at line 192 of file SO3SCOL.cpp.

◆ scolRoot

SRoot* scolRoot
extern

Shared data.

Definition at line 186 of file SO3SCOL.cpp.