Project

General

Profile

SO3Engine
SCOLObject.cpp File Reference

Go to the source code of this file.

Functions

int SO3ObjectRotate (mmachine m)
 main include
 
int SO3ObjectShowBoundingBox (mmachine m)
 SO3ObjectShowBoundingBox : Allow the display of BoundingBox.
 
int SO3ObjectSetDirection (mmachine m)
 SO3ObjectSetDirection : defines direction of a node.
 
int SO3ObjectGetDirection (mmachine m)
 SO3ObjectGetDirection : Get the node direction.
 
int SO3ObjectGetDerivedDirection (mmachine m)
 SO3ObjectGetDerivedDirection : Get the node derived direction.
 
int SO3ObjectGetDirectionAxis (mmachine m)
 SO3ObjectGetDirectionAxis : Get the node direction from axis.
 
int SO3ObjectGetDerivedDirectionAxis (mmachine m)
 SO3ObjectGetDerivedDirectionAxis : Get the node derived direction from axis.
 
int SO3ObjectLookAt (mmachine m)
 SO3ObjectLookAt : defines "look at" direction of a node.
 
int SO3ObjectSetVisible (mmachine m)
 SO3ObjectSetVisible : defines visible state of a node.
 
int SO3ObjectGetVisible (mmachine m)
 SO3ObjectGetVisible : Get the visible state of a node.
 
int SO3ObjectGetName (mmachine m)
 SO3ObjectGetName : Return a node's name.
 
int SO3ObjectSetOrientation (mmachine m)
 SO3ObjectSetOrientation : Set an orientation for a given node.
 
int SO3ObjectAddOrientation (mmachine m)
 SO3ObjectAddOrientation : Add orientation to a given node.
 
int SO3ObjectResetToInitialOrientation (mmachine m)
 SO3ObjectResetToInitialOrientation : Reset node orientation.
 
int SO3ObjectSetPosition (mmachine m)
 SO3ObjectSetPosition : defines position for a given node.
 
int SO3ObjectTranslate (mmachine m)
 SO3ObjectTranslate : Translate a given node.
 
int SO3ObjectSetScale (mmachine m)
 SO3ObjectSetScale : Scale a given node.
 
int SO3ObjectGetOrientation (mmachine m)
 SO3ObjectGetOrientation : Get Object Orientation.
 
int SO3ObjectGetInitialOrientation (mmachine m)
 SO3ObjectGetInitialOrientation : Get Initial Object Orientation.
 
int SO3ObjectGetGlobalOrientation (mmachine m)
 SO3ObjectGetGlobalOrientation : Get Global Object Orientation.
 
int SO3ObjectSetGlobalPosition (mmachine m)
 SO3ObjectSetGlobalPosition : Set Global Object Postion.
 
int SO3ObjectSetGlobalOrientation (mmachine m)
 SO3ObjectSetGlobalOrientation : Set Global Object Orientation.
 
int SO3ObjectSetGlobalScale (mmachine m)
 SO3ObjectSetGlobalScale : Set Global Object scale.
 
int SO3ObjectGetPosition (mmachine m)
 SO3ObjectGetPosition : Get Object Position.
 
int SO3ObjectGetInitialPosition (mmachine m)
 SO3ObjectGetInitialPosition : Get Object Initial Position.
 
int SO3ObjectGetGlobalPosition (mmachine m)
 SO3ObjectGetGlobalPosition : Get Object Global Position.
 
int SO3ObjectGetScale (mmachine m)
 SO3ObjectGetScale : Get Object Scale.
 
int SO3ObjectGetInitialScale (mmachine m)
 SO3ObjectGetScale : Get Object Initial Scale.
 
int SO3ObjectGetMatrix (mmachine m)
 SO3ObjectGetMatrix : Return the matrix of a given node.
 
int SO3ObjectGetWorldMatrix (mmachine m)
 SO3ObjectGetWorldMatrix : Return the world matrix of a given node.
 
int SO3ObjectGetGlobalScale (mmachine m)
 SO3ObjectGetScale : Get Object Global Scale.
 
int SO3ObjectRotateRoll (mmachine m)
 SO3ObjectRotateRoll : Roll a node.
 
int SO3ObjectRotateYaw (mmachine m)
 SO3ObjectRotateYaw : Yaw a node.
 
int SO3ObjectRotatePitch (mmachine m)
 SO3ObjectRotatePitch : Pitch a node.
 
int SO3ObjectNbOfChild (mmachine m)
 SO3ObjectNbOfChild : return the numer of child of a node.
 
int SO3ObjectRemoveAllChildren (mmachine m)
 SO3ObjectRemoveAllChildren : Remove all children.
 
int SO3ObjectGetChildren (mmachine m)
 SO3ObjectGetChildren : Return the list of child node.
 
int SO3ObjectDestroy (mmachine m)
 SO3ObjectDestroy : Destroy a node and its hierarchy.
 
int SO3ObjectSetInitialState (mmachine m)
 SO3ObjectSetInitialState : defines initial state of a node.
 
int SO3ObjectResetToInitialState (mmachine m)
 SO3ObjectResetToInitialState : Reset a node to its initial state.
 
int SO3ObjectGetSceneRoot (mmachine m)
 SO3ObjectGetSceneRoot : Get the scene root node.
 
int SO3ObjectGetParent (mmachine m)
 SO3ObjectGetParent : Get the parent node of a node.
 
int SO3ObjectGetScene (mmachine m)
 SO3ObjectGetScene : Get the parent scene of a node.
 
int SO3ObjectLink (mmachine m)
 SO3ObjectLink : Link two nodes.
 
int SO3ObjectGetPositionInObjectRef (mmachine m)
 SO3ObjectGetPositionInObjectRef : Return the position of node in the transform space of another node.
 
int SO3ObjectGetOrientationInObjectRef (mmachine m)
 SO3ObjectGetOrientationInObjectRef : Return the orientation of node in the transform space of another node.
 
int SO3ObjectGetScaleInObjectRef (mmachine m)
 SO3ObjectGetScaleInObjectRef : Return the scale of node in the transform space of another node.
 
int SO3ObjectUnlink (mmachine m)
 SO3ObjectUnlink : Unlink a node from the scene.
 
int SO3ObjectSetAutoTracking (mmachine m)
 SO3ObjectSetAutoTracking : defines auto tracking for a node.
 
int SO3ObjectSetRenderingDistance (mmachine m)
 SO3ObjectSetRenderingDistance : defines a maximum distance for rendering the object.
 
int SO3ObjectGetRenderingDistance (mmachine m)
 SO3ObjectGetRenderingDistance : return the maximum distance for rendering the object.
 
int SO3ObjectSetCastShadows (mmachine m)
 SO3ObjectSetCastShadows : defines cast shadow state for a node.
 
int SO3ObjectGetBoundingBoxInfo (mmachine m)
 SO3ObjectGetBoundingBoxInfo : Return the bounding box information of a node.
 
int SO3ObjectGetWorldBoundingBoxInfo (mmachine m)
 SO3ObjectGetWorldBoundingBoxInfo : Return the world bounding box information of a node.
 
int SO3ObjectGetCastShadows (mmachine m)
 SO3ObjectGetCastShadows : Get the cast shadows state of a node.
 
int SO3ObjectGetPolygonCount (mmachine m)
 SO3ObjectGetPolygonCount : Return the numer of Polygone for a node.
 
int SO3ObjectGetVerticesCount (mmachine m)
 SO3ObjectGetVerticesCount : Return the numer of Vertex for a node.
 
int SO3ObjectSetMouseForeGround (mmachine m)
 SO3ObjectSetMouseForeGround : defines mouse foreground priority of a node.
 
int SO3ObjectSetMouseClick (mmachine m)
 SO3ObjectSetMouseClick : defines mouse click state of a node.
 
int SO3ObjectGetMouseForeGround (mmachine m)
 SO3ObjectGetMouseForeGround :Get the mouse foreground priority of a node.
 
int SO3ObjectGetMouseClick (mmachine m)
 SO3ObjectGetMouseClick :Get the mouse click state of a node.
 
int SO3ObjectSetFlags (mmachine m)
 SO3ObjectSetFlags : defines any flags value on a node.
 
int SO3ObjectGetFlags (mmachine m)
 SO3ObjectGetFlags : Get a node flags value.
 
int SO3ObjectSetRenderOverlay (mmachine m)
 SO3ObjectSetRenderOverlay : defines render overlay priority of a mesh.
 
int SO3ObjectSetRenderQueue (mmachine m)
 SO3ObjectSetRenderQueue : defines render queue position of a mesh.
 
int SO3ObjectGetInfo (mmachine m)
 SO3ObjectGetInfo : Get mouse informations (raycast) from a viewport.
 
int SO3ObjectGetInfoEx (mmachine m)
 SO3ObjectGetInfoEx : Get extended mouse informations (raycast) from a viewport.
 
int SO3ObjectGetScreenCoord (mmachine m)
 SO3ObjectGetScreenCoord : Get screen coordinates of a node.
 
int SO3ObjectGetScreenPixelCoord (mmachine m)
 SO3ObjectGetScreenPixelCoord : Get screen coordinates in pixels of a node.
 
int SO3ObjectGetNodeFacingOrientation (mmachine m)
 SO3ObjectGetNodeFacingOrientation : Get the necessary rotation for making the target node facing the destination node in global space.
 
int SO3ObjectGetAnimation (mmachine m)
 SO3ObjectGetAnimation : return an animation by its name.
 
int SO3ObjectCreateNodesAnimation (mmachine m)
 SO3ObjectCreateNodesAnimation : Create a Scene Node Animation.
 
int SO3ObjectSetInheritOrientation (mmachine m)
 SO3ObjectSetInheritOrientation : Set the inherit orientation of a node.
 
int SO3ObjectGetInheritOrientation (mmachine m)
 SO3ObjectGetInheritOrientation : Get the inherit orientation of a node.
 
int SO3ObjectResetOrientation (mmachine m)
 SO3ObjectResetOrientation : Resets the node orientation (local axes as world axes, no rotation)
 
int SO3ObjectSetAsStaticGeometry (mmachine m)
 SO3ObjectSetAsStaticGeometry : Set the object as a static geometry.
 
int SO3ObjectGetAsStaticGeometry (mmachine m)
 SO3ObjectGetAsStaticGeometry : Get the static gemoetry state of a node.
 
int SO3ObjectGetType (mmachine m)
 SO3ObjectGetType : Get the type of an object.
 
int SCOLloadObject (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
 
int SCOLfreeObject ()
 free the SO3Engine Viewport function
 

Variables

NativeDefinition natSO3Obj []
 

Function Documentation

◆ SCOLfreeObject()

int SCOLfreeObject ( )

free the SO3Engine Viewport function

Parameters
m: The VM

Definition at line 4373 of file SCOLObject.cpp.

◆ SCOLloadObject()

int SCOLloadObject ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters
m: The VM
w: The Callback VM

Definition at line 4363 of file SCOLObject.cpp.

Variable Documentation

◆ natSO3Obj

NativeDefinition natSO3Obj[]

Definition at line 4264 of file SCOLObject.cpp.