SO3Engine
|
Functions | |
int | SO3AnimTrackGetObject (mmachine m) |
SO3AnimTrackGetObject : Return the object associated with the current animation track. | |
int | SO3AnimTrackCreateKey (mmachine m) |
SO3AnimTrackCreateKey : Create an animation track key. | |
int | SO3AnimTrackSetKeyTransform (mmachine m) |
SO3AnimTrackSetKeyTransform : Set a transform key for a given keyframe. | |
int | SO3AnimTrackGetKeyTransform (mmachine m) |
SO3AnimTrackGetKeyTransform : Return a key transform. | |
int | SO3AnimTrackGetNumKeys (mmachine m) |
SO3AnimTrackGetNumKeys : Return number of keys for this animation track. | |
int | SO3AnimTrackGetKeyTime (mmachine m) |
SO3AnimTrackGetKeyTime : Return the time for this key frame. | |
int | SO3AnimTrackRemoveKey (mmachine m) |
SO3AnimTrackGetObject : Remove a key frame frm an animation track. | |
int | SO3AnimTrackOptimise (mmachine m) |
SO3AnimTrackOptimise : Optimise the animation track. | |
int | SO3AnimTrackRemoveAllKeys (mmachine m) |
SO3AnimTrackRemoveAllKeys : Remove all keys from an animation track. | |
int | SO3AnimationGetName (mmachine m) |
SO3AnimationGetName : Return the name of an animation. | |
int | SO3AnimationSetLength (mmachine m) |
SO3AnimationSetLength : defines length of an animation. | |
int | SO3AnimationSetTimePosition (mmachine m) |
SO3AnimationSetTimePosition :defines time position for an animation. | |
int | SO3AnimationSetWeight (mmachine m) |
SO3AnimationSetWeight : defines weight of a given animation. | |
int | SO3AnimationSetInterpMode (mmachine m) |
SO3AnimationSetInterpMode : defines interpolation mode for animation mix. | |
int | SO3AnimationSetRotInterpMode (mmachine m) |
SO3AnimationSetRotInterpMode : defines rotation interpolation mode for animation mix. | |
int | SO3AnimationGetInterpMode (mmachine m) |
SO3AnimationGetInterpMode : Return the current interpolation mode for this animation. | |
int | SO3AnimationGetType (mmachine m) |
SO3AnimationGetType : Return the current type for this animation. | |
int | SO3AnimTrackDestroy (mmachine m) |
SO3AnimTrackDestroy : Destroy an animation Track. | |
int | SO3AnimationGetRotInterpMode (mmachine m) |
SO3AnimationGetRotInterpMode : Return the current rotation interpolation mode for this animation. | |
int | SO3AnimationSetEnable (mmachine m) |
SO3AnimationSetEnable : Enable/Disable a current animation. | |
int | SO3AnimationSetPause (mmachine m) |
SO3AnimationSetPause : Play/Pause on a given animation. | |
int | SO3AnimationSetLoop (mmachine m) |
SO3AnimationSetLoop : defines loop state for this animation. | |
int | SO3AnimationOptimise (mmachine m) |
SO3AnimationOptimise : Optimize a given animation. | |
int | SO3AnimationGetEnable (mmachine m) |
SO3AnimationGetEnable : Get the enable state for an animation. | |
int | SO3AnimationGetPause (mmachine m) |
SO3AnimationGetEnable : Get the pause state for an animation. | |
int | SO3AnimationGetLoop (mmachine m) |
SO3AnimationGetLoop : Get the loop state for an animation. | |
int | SO3AnimationGetLength (mmachine m) |
SO3AnimationGetLength : Return the length of an animation. | |
int | SO3AnimationGetTimePosition (mmachine m) |
SO3AnimationGetTimePosition : Return the time position of an animation. | |
int | SO3AnimationGetWeight (mmachine m) |
SO3AnimationGetTimePosition : Return the weight of an animation. | |
int | SO3AnimationSetSpeed (mmachine m) |
SO3AnimationGetTimePosition : defines speed of an animation. | |
int | SO3AnimationGetSpeed (mmachine m) |
SO3AnimationGetSpeed : Return the speed of an animation. | |
int | SO3AnimationHasEnded (mmachine m) |
SO3AnimationHasEnded : Return the ended state for an animation. | |
int | SO3AnimationNumOfAnimationTrack (mmachine m) |
SO3AnimationNumOfAnimationTrack : Return the number of animation track for an animation. | |
int | SO3ObjectSkeletonNumOfAnimations (mmachine m) |
SO3ObjectSkeletonNumOfAnimations : Return the number of animations for a skeleton. | |
int | SO3ObjectGetAnimations (mmachine m) |
SO3ObjectGetAnimations : Return the list of a node animation. | |
int | SO3AnimationListAnimTrack (mmachine m) |
SO3AnimationListAnimTrack : Return the list of animation tracks for an animation. | |
int | SO3ObjectGetDisplaySkeleton (mmachine m) |
SO3ObjectGetDisplaySkeleton : Return the display state for a skeleton. | |
int | SO3ObjectHasSkeleton (mmachine m) |
SO3ObjectHasSkeleton : Return true if an object has a skeleton otherwiser false. | |
int | SO3ObjectIsHardwareSkinningEnabled (mmachine m) |
SO3ObjectIsHardwareSkinningEnabled : Return the hardware skinning enable state for an object. | |
int | SO3ObjectSkeletonSetBindPose (mmachine m) |
SO3ObjectSkeletonSetBindPose : defines bind pose on a skeleton. | |
int | SO3ObjectSkeletonGetBlendMode (mmachine m) |
SO3ObjectSkeletonGetBlendMode : Get the blending mode for a skeleton. | |
int | SO3ObjectSkeletonSetBlendMode (mmachine m) |
SO3ObjectSkeletonGetBlendMode : defines blending mode for a skeleton. | |
int | SO3ObjectSetDisplaySkeleton (mmachine m) |
SO3ObjectSetDisplaySkeleton : defines display skeleton mode for an object. | |
int | SO3AnimationAddTime (mmachine m) |
SO3AnimationAddTime : Add time to an animation. | |
int | SO3AnimationDestroy (mmachine m) |
SO3AnimationDestroy : Destroy an animation. | |
int | SO3AnimationGetAnimTrack (mmachine m) |
SO3AnimationGetAnimTrack : Return an animation track from an animation. | |
int | SO3AnimationCreateAnimTrack (mmachine m) |
SO3AnimationCreateAnimTrack : Create a SO3_ANIMTRACK in Scene on a given SO3_ANIM. | |
int | SO3AnimationSetSkipFrame (mmachine m) |
SO3AnimationSetSkipFrame : Set the animation skip frame, this manage if the animation update is based on frame rate or not. | |
int | SO3AnimationGetSkipFrame (mmachine m) |
SO3AnimationGetSkipFrame : Get the animation skip frame state. | |
int | SO3AnimTrackCreateSequenceKey (mmachine m) |
SO3AnimTrackCreateSequenceKey : Add an animation to an animation sequence. | |
int | SO3AnimTrackGetSequenceKey (mmachine m) |
SO3AnimTrackGetSequenceKey : Add an animation to an animation sequence. | |
int | SO3AnimTrackSetSequenceKey (mmachine m) |
SO3AnimTrackSetSequenceKey : Add an animation to an animation sequence. | |
int | SO3AnimTrackMoveSequenceKey (mmachine m) |
SO3AnimTrackMoveSequenceKey : Add an animation to an animation sequence. | |
int | SO3CbAnimationEnded (mmachine m) |
SO3CbAnimationEnded - TODO not implemented - Define the callback scol had to be called when an animation ended event is called. | |
int | SO3ObjectCreateNodesAnimation (mmachine m) |
SO3ObjectCreateNodesAnimation : Create a Scene Node Animation. | |
int | SO3SceneCreateAnimationSequence (mmachine m) |
SO3SceneCreateAnimationSequence : Create a Scene Animation sequence. | |
Detailed Description
Scol functions definition
Function Documentation
◆ SO3AnimationAddTime()
int SO3AnimationAddTime | ( | mmachine | m | ) |
SO3AnimationAddTime : Add time to an animation.
Prototype: fun [SO3_ANIM F] I
- Parameters
-
SO3_ANIM : current animation F : Time to add
- Returns
- I : 1 if success , NIL otherwise
Definition at line 2052 of file SCOLAnim.cpp.
◆ SO3AnimationCreateAnimTrack()
int SO3AnimationCreateAnimTrack | ( | mmachine | m | ) |
SO3AnimationCreateAnimTrack : Create a SO3_ANIMTRACK in Scene on a given SO3_ANIM.
Prototype: fun [SO3_ANIM SO3_OBJECT I] SO3_ANIMTRACK
- Parameters
-
SO3_ANIM : Associated animation SO3_OBJECT : Deprecated use nil I : Deprecated use nil
- Returns
- SO3_ANIMTRACK : The animation track created if success, NIL otherwise
Definition at line 2189 of file SCOLAnim.cpp.
◆ SO3AnimationDestroy()
int SO3AnimationDestroy | ( | mmachine | m | ) |
SO3AnimationDestroy : Destroy an animation.
Prototype: fun [SO3_ANIM] I
- Parameters
-
SO3_ANIM : current animation
- Returns
- I : 1 if success , NIL otherwise
Definition at line 2096 of file SCOLAnim.cpp.
◆ SO3AnimationGetAnimTrack()
int SO3AnimationGetAnimTrack | ( | mmachine | m | ) |
SO3AnimationGetAnimTrack : Return an animation track from an animation.
Prototype: fun [SO3_ANIM I] SO3_ANIMTRACK
- Parameters
-
SO3_ANIM : current animation I : animation track index
- Returns
- SO3_ANIMTRACK : The animation track if success , NIL otherwise
Definition at line 2131 of file SCOLAnim.cpp.
◆ SO3AnimationGetEnable()
int SO3AnimationGetEnable | ( | mmachine | m | ) |
SO3AnimationGetEnable : Get the enable state for an animation.
Prototype: fun [SO3_ANIM] I
- Parameters
-
SO3_ANIM : current animation
- Returns
- I : Enable state (1 enable, 0 disable) if success , NIL otherwise
Definition at line 1100 of file SCOLAnim.cpp.
◆ SO3AnimationGetInterpMode()
int SO3AnimationGetInterpMode | ( | mmachine | m | ) |
SO3AnimationGetInterpMode : Return the current interpolation mode for this animation.
Prototype: fun [SO3_ANIM] I
- Parameters
-
SO3_ANIM : current animation
- Returns
- I : Interpolation mode if success , NIL otherwise
For Interpolation mode, values are :
- SO3_IM_LINEAR
- SO3_IM_SPLINE
Definition at line 793 of file SCOLAnim.cpp.
◆ SO3AnimationGetLength()
int SO3AnimationGetLength | ( | mmachine | m | ) |
SO3AnimationGetLength : Return the length of an animation.
Prototype: fun [SO3_ANIM] F
- Parameters
-
SO3_ANIM : current animation
- Returns
- F : Length if success , NIL otherwise
Definition at line 1211 of file SCOLAnim.cpp.
◆ SO3AnimationGetLoop()
int SO3AnimationGetLoop | ( | mmachine | m | ) |
SO3AnimationGetLoop : Get the loop state for an animation.
Prototype: fun [SO3_ANIM] I
- Parameters
-
SO3_ANIM : current animation
- Returns
- I : Loop state (1 enable, 0 disable) if success , NIL otherwise
Definition at line 1174 of file SCOLAnim.cpp.
◆ SO3AnimationGetName()
int SO3AnimationGetName | ( | mmachine | m | ) |
SO3AnimationGetName : Return the name of an animation.
Prototype: fun [SO3_ANIM] S
- Parameters
-
SO3_ANIM : current animation
- Returns
- S : Name of the animation if success , NIL otherwise
Definition at line 568 of file SCOLAnim.cpp.
◆ SO3AnimationGetPause()
int SO3AnimationGetPause | ( | mmachine | m | ) |
SO3AnimationGetEnable : Get the pause state for an animation.
Prototype: fun [SO3_ANIM] I
- Parameters
-
SO3_ANIM : current animation
- Returns
- I : Pause state (1 enable, 0 disable) if success , NIL otherwise
Definition at line 1137 of file SCOLAnim.cpp.
◆ SO3AnimationGetRotInterpMode()
int SO3AnimationGetRotInterpMode | ( | mmachine | m | ) |
SO3AnimationGetRotInterpMode : Return the current rotation interpolation mode for this animation.
Prototype: fun [SO3_ANIM] I
- Parameters
-
SO3_ANIM : current animation
- Returns
- I : Rotation interpolation mode if success , NIL otherwise
For Rotation interpolation mode, values are :
- SO3_RIM_LINEAR
- SO3_RIM_SPHERICAL
Definition at line 915 of file SCOLAnim.cpp.
◆ SO3AnimationGetSkipFrame()
int SO3AnimationGetSkipFrame | ( | mmachine | m | ) |
SO3AnimationGetSkipFrame : Get the animation skip frame state.
Prototype: fun [SO3_ANIM] I
- Parameters
-
SO3_ANIM : Animation
- Returns
- I : 1 if enable, 0 if disable, NIL otherwise
Definition at line 2275 of file SCOLAnim.cpp.
◆ SO3AnimationGetSpeed()
int SO3AnimationGetSpeed | ( | mmachine | m | ) |
SO3AnimationGetSpeed : Return the speed of an animation.
Prototype: fun [SO3_ANIM] F
- Parameters
-
SO3_ANIM : current animation
- Returns
- F : Speed if success , NIL otherwise
Definition at line 1348 of file SCOLAnim.cpp.
◆ SO3AnimationGetTimePosition()
int SO3AnimationGetTimePosition | ( | mmachine | m | ) |
SO3AnimationGetTimePosition : Return the time position of an animation.
Prototype: fun [SO3_ANIM] F
- Parameters
-
SO3_ANIM : current animation
- Returns
- F : Time position if success , NIL otherwise
Definition at line 1246 of file SCOLAnim.cpp.
◆ SO3AnimationGetType()
int SO3AnimationGetType | ( | mmachine | m | ) |
SO3AnimationGetType : Return the current type for this animation.
Prototype: fun [SO3_ANIM] I
- Parameters
-
SO3_ANIM : current animation
- Returns
- I : Animation's type if success , NIL otherwise
For Animation Type, values are :
- SO3_SCENENODE_ANIM
- SO3_SKELETAL_ANIM
- SO3_VERTEX_ANIM
- SO3_POSE_ANIM
- SO3_SEQUENCE_ANIM
Definition at line 835 of file SCOLAnim.cpp.
◆ SO3AnimationGetWeight()
int SO3AnimationGetWeight | ( | mmachine | m | ) |
SO3AnimationGetTimePosition : Return the weight of an animation.
Prototype: fun [SO3_ANIM] F
- Parameters
-
SO3_ANIM : current animation
- Returns
- F : Weight if success , NIL otherwise
Definition at line 1279 of file SCOLAnim.cpp.
◆ SO3AnimationHasEnded()
int SO3AnimationHasEnded | ( | mmachine | m | ) |
SO3AnimationHasEnded : Return the ended state for an animation.
Prototype: fun [SO3_ANIM] I
- Parameters
-
SO3_ANIM : current animation
- Returns
- I : Ended state (1 true, 0 false)if success , NIL otherwise
Definition at line 1381 of file SCOLAnim.cpp.
◆ SO3AnimationListAnimTrack()
int SO3AnimationListAnimTrack | ( | mmachine | m | ) |
SO3AnimationListAnimTrack : Return the list of animation tracks for an animation.
Prototype: fun [SO3_ANIM] [SO3_ANIMTRACK r1]
- Parameters
-
SO3_ANIM : current animation
- Returns
- [SO3_ANIMTRACK r1] : list of animation tracks if success , NIL otherwise
Definition at line 1618 of file SCOLAnim.cpp.
◆ SO3AnimationNumOfAnimationTrack()
int SO3AnimationNumOfAnimationTrack | ( | mmachine | m | ) |
SO3AnimationNumOfAnimationTrack : Return the number of animation track for an animation.
Prototype: fun [SO3_ANIM] I
- Parameters
-
SO3_ANIM : current animation
- Returns
- I : Number of animation track if success , NIL otherwise
Definition at line 1418 of file SCOLAnim.cpp.
◆ SO3AnimationOptimise()
int SO3AnimationOptimise | ( | mmachine | m | ) |
SO3AnimationOptimise : Optimize a given animation.
Prototype: fun [SO3_ANIM] I
- Parameters
-
SO3_ANIM : current animation
- Returns
- I : 1 if success , NIL otherwise
Definition at line 1061 of file SCOLAnim.cpp.
◆ SO3AnimationSetEnable()
int SO3AnimationSetEnable | ( | mmachine | m | ) |
SO3AnimationSetEnable : Enable/Disable a current animation.
Prototype: fun [SO3_ANIM I] I
- Parameters
-
SO3_ANIM : current animation I : boolean for enable state(1 enable, 0 disable)
- Returns
- I : 1 if success , NIL otherwise
Definition at line 951 of file SCOLAnim.cpp.
◆ SO3AnimationSetInterpMode()
int SO3AnimationSetInterpMode | ( | mmachine | m | ) |
SO3AnimationSetInterpMode : defines interpolation mode for animation mix.
Prototype: fun [SO3_ANIM I] I
- Parameters
-
SO3_ANIM : current animation I : Interpolation mode
For Interpolation mode, values are :
- SO3_IM_LINEAR
- SO3_IM_SPLINE
- Returns
- I : 1 if success , NIL otherwise
Definition at line 714 of file SCOLAnim.cpp.
◆ SO3AnimationSetLength()
int SO3AnimationSetLength | ( | mmachine | m | ) |
SO3AnimationSetLength : defines length of an animation.
Prototype: fun [SO3_ANIM F] I
- Parameters
-
SO3_ANIM : current animation F : the new length
- Returns
- I : 1 if success , NIL otherwise
Definition at line 602 of file SCOLAnim.cpp.
◆ SO3AnimationSetLoop()
int SO3AnimationSetLoop | ( | mmachine | m | ) |
SO3AnimationSetLoop : defines loop state for this animation.
Prototype: fun [SO3_ANIM I] I
- Parameters
-
SO3_ANIM : current animation I : boolean for loop state(1 enable, 0 disable)
- Returns
- I : 1 if success , NIL otherwise
Definition at line 1025 of file SCOLAnim.cpp.
◆ SO3AnimationSetPause()
int SO3AnimationSetPause | ( | mmachine | m | ) |
SO3AnimationSetPause : Play/Pause on a given animation.
Prototype: fun [SO3_ANIM I] I
- Parameters
-
SO3_ANIM : current animation I : boolean for play/pause state(1 pause, 0 play)
- Returns
- I : 1 if success , NIL otherwise
Definition at line 988 of file SCOLAnim.cpp.
◆ SO3AnimationSetRotInterpMode()
int SO3AnimationSetRotInterpMode | ( | mmachine | m | ) |
SO3AnimationSetRotInterpMode : defines rotation interpolation mode for animation mix.
Prototype: fun [SO3_ANIM I] I
- Parameters
-
SO3_ANIM : current animation I : Rotation interpolation mode
For Rotation interpolation mode, values are :
- SO3_RIM_LINEAR
- SO3_RIM_SPHERICAL
- Returns
- I : 1 if success , NIL otherwise
Definition at line 754 of file SCOLAnim.cpp.
◆ SO3AnimationSetSkipFrame()
int SO3AnimationSetSkipFrame | ( | mmachine | m | ) |
SO3AnimationSetSkipFrame : Set the animation skip frame, this manage if the animation update is based on frame rate or not.
Prototype: fun [SO3_ANIM I] I
- Parameters
-
SO3_ANIM : Animation I : status, 1 for enable (default), 0 to disable
- Returns
- I : 0 if success, NIL otherwise
Definition at line 2235 of file SCOLAnim.cpp.
◆ SO3AnimationSetSpeed()
int SO3AnimationSetSpeed | ( | mmachine | m | ) |
SO3AnimationGetTimePosition : defines speed of an animation.
Prototype: fun [SO3_ANIM F] I
- Parameters
-
SO3_ANIM : current animation F : given speed
- Returns
- I : 1 if success , NIL otherwise
Definition at line 1313 of file SCOLAnim.cpp.
◆ SO3AnimationSetTimePosition()
int SO3AnimationSetTimePosition | ( | mmachine | m | ) |
SO3AnimationSetTimePosition :defines time position for an animation.
Prototype: fun [SO3_ANIM F] I
- Parameters
-
SO3_ANIM : current animation F : given time position
- Returns
- I : 1 if success , NIL otherwise
Definition at line 638 of file SCOLAnim.cpp.
◆ SO3AnimationSetWeight()
int SO3AnimationSetWeight | ( | mmachine | m | ) |
SO3AnimationSetWeight : defines weight of a given animation.
Prototype: fun [SO3_ANIM F] I
- Parameters
-
SO3_ANIM : current animation F : given weight
- Returns
- I : 1 if success , NIL otherwise
Definition at line 674 of file SCOLAnim.cpp.
◆ SO3AnimTrackCreateKey()
int SO3AnimTrackCreateKey | ( | mmachine | m | ) |
SO3AnimTrackCreateKey : Create an animation track key.
Prototype: fun [SO3_ANIMTRACK F [F F F] [F F F F] [F F F]] I
- Parameters
-
SO3_ANIMTRACK : current animation track F : given keyframe [F F F] : given translation [F F F F] : given orientation [F F F] : given scale
- Returns
- I : 1 if success , NIL otherwise
Definition at line 155 of file SCOLAnim.cpp.
◆ SO3AnimTrackCreateSequenceKey()
int SO3AnimTrackCreateSequenceKey | ( | mmachine | m | ) |
SO3AnimTrackCreateSequenceKey : Add an animation to an animation sequence.
Prototype: fun [SO3_ANIMTRACK SO3_ANIM F F F] I
- Parameters
-
SO3_ANIM_TRACK : Animation sequence track SO3_ANIM : Animation to add F : length F : transition time (default 0.0) F : decal time (default 0.0) the key start after the decal time
- Returns
- I : 1 if success, NIL otherwise
Definition at line 2314 of file SCOLAnim.cpp.
◆ SO3AnimTrackDestroy()
int SO3AnimTrackDestroy | ( | mmachine | m | ) |
SO3AnimTrackDestroy : Destroy an animation Track.
Prototype: fun [SO3_ANIMTRACK] I
- Parameters
-
SO3_ANIMTRACK : current animation track
- Returns
- I : 1 if success , NIL otherwise
Definition at line 870 of file SCOLAnim.cpp.
◆ SO3AnimTrackGetKeyTime()
int SO3AnimTrackGetKeyTime | ( | mmachine | m | ) |
SO3AnimTrackGetKeyTime : Return the time for this key frame.
Prototype: fun [SO3_ANIMTRACK I] F
- Parameters
-
SO3_ANIMTRACK : current animation track I : current key frame
- Returns
- F : Associated time if success , NIL otherwise
Definition at line 415 of file SCOLAnim.cpp.
◆ SO3AnimTrackGetKeyTransform()
int SO3AnimTrackGetKeyTransform | ( | mmachine | m | ) |
SO3AnimTrackGetKeyTransform : Return a key transform.
Prototype: fun [SO3_ANIMTRACK I] [[F F F] [F F F F] [F F F]]
- Parameters
-
SO3_ANIMTRACK : current animation track I : current node
- Returns
- [[F F F] [F F F F] [F F F]] : Transfomation for the current key frame if success , NIL otherwise
- [F F F] : translation
- [F F F F] : orientation
- [F F F] : scale
Definition at line 287 of file SCOLAnim.cpp.
◆ SO3AnimTrackGetNumKeys()
int SO3AnimTrackGetNumKeys | ( | mmachine | m | ) |
SO3AnimTrackGetNumKeys : Return number of keys for this animation track.
Prototype: fun [SO3_ANIMTRACK] I
- Parameters
-
SO3_ANIMTRACK : current animation track
- Returns
- I : Number of keys if success , NIL otherwise
Definition at line 380 of file SCOLAnim.cpp.
◆ SO3AnimTrackGetObject()
int SO3AnimTrackGetObject | ( | mmachine | m | ) |
SO3AnimTrackGetObject : Return the object associated with the current animation track.
Prototype: fun [SO3_ANIMTRACK] SO3_OBJECT
- Parameters
-
SO3_ANIMTRACK : current animation track
- Returns
- SO3_OBJECT : Return object if success , NIL otherwise
Definition at line 89 of file SCOLAnim.cpp.
◆ SO3AnimTrackGetSequenceKey()
int SO3AnimTrackGetSequenceKey | ( | mmachine | m | ) |
SO3AnimTrackGetSequenceKey : Add an animation to an animation sequence.
Prototype: fun [SO3_ANIMTRACK I] [SO3_ANIM F F F F]
- Parameters
-
SO3_ANIM_TRACK : Animation sequence track I : Key index
- Returns
- Parameters
-
SO3_ANIM : SO3_ANIM linked to this key F : Key postition in second F : Key lenght in second F : transition time in second F : decal time in second
- Returns
- I : 1 if success, NIL otherwise
Definition at line 2395 of file SCOLAnim.cpp.
◆ SO3AnimTrackMoveSequenceKey()
int SO3AnimTrackMoveSequenceKey | ( | mmachine | m | ) |
SO3AnimTrackMoveSequenceKey : Add an animation to an animation sequence.
Prototype: fun [SO3_ANIMTRACK I I] I
- Parameters
-
SO3_ANIM_TRACK : Animation sequence track I : Origin index I : new index position
- Returns
- I : 1 if success, NIL otherwise
Definition at line 2568 of file SCOLAnim.cpp.
◆ SO3AnimTrackOptimise()
int SO3AnimTrackOptimise | ( | mmachine | m | ) |
SO3AnimTrackOptimise : Optimise the animation track.
Prototype: fun [SO3_SCENE SO3_ANIMTRACK] I
- Parameters
-
SO3_ANIMTRACK : current animation track
- Returns
- I : 1 if success , NIL otherwise
Definition at line 494 of file SCOLAnim.cpp.
◆ SO3AnimTrackRemoveAllKeys()
int SO3AnimTrackRemoveAllKeys | ( | mmachine | m | ) |
SO3AnimTrackRemoveAllKeys : Remove all keys from an animation track.
Prototype: fun [SO3_ANIMTRACK] I
- Parameters
-
SO3_ANIMTRACK : current animation track
- Returns
- I : 1 if success , NIL otherwise
Definition at line 528 of file SCOLAnim.cpp.
◆ SO3AnimTrackRemoveKey()
int SO3AnimTrackRemoveKey | ( | mmachine | m | ) |
SO3AnimTrackGetObject : Remove a key frame frm an animation track.
Prototype: fun [SO3_ANIMTRACK I] I
- Parameters
-
SO3_ANIMTRACK : current animation track I : given key frame index
- Returns
- I : 1 if success , NIL otherwise
Definition at line 452 of file SCOLAnim.cpp.
◆ SO3AnimTrackSetKeyTransform()
int SO3AnimTrackSetKeyTransform | ( | mmachine | m | ) |
SO3AnimTrackSetKeyTransform : Set a transform key for a given keyframe.
Prototype: fun [SO3_ANIMTRACK I [F F F] [F F F F] [F F F]] I
- Parameters
-
SO3_ANIMTRACK : current animation track I : given key frame [F F F] : new translation vector [F F F F] : new orientation [F F F] : new scale
- Returns
- I : 1 if success , NIL otherwise
Definition at line 221 of file SCOLAnim.cpp.
◆ SO3AnimTrackSetSequenceKey()
int SO3AnimTrackSetSequenceKey | ( | mmachine | m | ) |
SO3AnimTrackSetSequenceKey : Add an animation to an animation sequence.
Prototype: fun [SO3_ANIMTRACK I F F F] I
- Parameters
-
SO3_ANIM_TRACK : Animation sequence track I : Key index F : length F : transition time (default 0.0) F : decal time (default 0.0) the key start after the decal time
- Returns
- I : 1 if success, NIL otherwise
Definition at line 2492 of file SCOLAnim.cpp.
◆ SO3CbAnimationEnded()
int SO3CbAnimationEnded | ( | mmachine | m | ) |
SO3CbAnimationEnded - TODO not implemented - Define the callback scol had to be called when an animation ended event is called.
Prototype: fun [SO3_ANIM fun [SO3_ANIM u0] u1 u0] SO3_ANIM
- Parameters
-
SO3_ANIM : current scene fun [SO3_ANIM u0] u1 : function scol to call
- Returns
- SO3_ANIM : current scene if success, NIL otherwise
Definition at line 2630 of file SCOLAnim.cpp.
◆ SO3ObjectCreateNodesAnimation()
int SO3ObjectCreateNodesAnimation | ( | mmachine | m | ) |
SO3ObjectCreateNodesAnimation : Create a Scene Node Animation.
Prototype: fun [SO3_OBJECT S F] SO3_ANIM
- Parameters
-
SO3_OBJECT : Node on which the animation is attached S : animation name F : length
- Returns
- SO3_ANIM : The animation created if success, NIL otherwise
Definition at line 3986 of file SCOLObject.cpp.
◆ SO3ObjectGetAnimations()
int SO3ObjectGetAnimations | ( | mmachine | m | ) |
SO3ObjectGetAnimations : Return the list of a node animation.
Prototype: fun [SO3_OBJECT] [SO3_ANIM r1]
- Parameters
-
SO3_OBJECT : current node
- Returns
- [SO3_ANIM r1] : list of animations if success , NIL otherwise
Definition at line 1505 of file SCOLAnim.cpp.
◆ SO3ObjectGetDisplaySkeleton()
int SO3ObjectGetDisplaySkeleton | ( | mmachine | m | ) |
SO3ObjectGetDisplaySkeleton : Return the display state for a skeleton.
Prototype: fun [SO3_OBJECT] I
- Parameters
-
SO3_OBJECT : current node
- Returns
- I : Display state (1 enable, 0 disable) if success , NIL otherwise
Definition at line 1684 of file SCOLAnim.cpp.
◆ SO3ObjectHasSkeleton()
int SO3ObjectHasSkeleton | ( | mmachine | m | ) |
SO3ObjectHasSkeleton : Return true if an object has a skeleton otherwiser false.
Prototype: fun [SO3_OBJECT] I
- Parameters
-
SO3_OBJECT : current node
- Returns
- I : has skeleton state (1 true, 0 false) if success , NIL otherwise
Definition at line 1737 of file SCOLAnim.cpp.
◆ SO3ObjectIsHardwareSkinningEnabled()
int SO3ObjectIsHardwareSkinningEnabled | ( | mmachine | m | ) |
SO3ObjectIsHardwareSkinningEnabled : Return the hardware skinning enable state for an object.
Prototype: fun [SO3_OBJECT] I
- Parameters
-
SO3_OBJECT : current node
- Returns
- I : hardware skinning enable state (1 true, 0 false) if success , NIL otherwise
Definition at line 1781 of file SCOLAnim.cpp.
◆ SO3ObjectSetDisplaySkeleton()
int SO3ObjectSetDisplaySkeleton | ( | mmachine | m | ) |
SO3ObjectSetDisplaySkeleton : defines display skeleton mode for an object.
Prototype: fun [SO3_OBJECT I] I
- Parameters
-
SO3_OBJECT : current node with skeleton associated I : Display skeleton mode
- Returns
- I : 1 if success , NIL otherwise
Definition at line 1991 of file SCOLAnim.cpp.
◆ SO3ObjectSkeletonGetBlendMode()
int SO3ObjectSkeletonGetBlendMode | ( | mmachine | m | ) |
SO3ObjectSkeletonGetBlendMode : Get the blending mode for a skeleton.
Prototype: fun [SO3_OBJECT] I
- Parameters
-
SO3_OBJECT : current node with skeleton associated
- Returns
- I : Blend mode if success , NIL otherwise
For Blend mode, values are :
- SO3_ANIMBLEND_AVERAGE
- SO3_ANIMBLEND_CUMULATIVE
Definition at line 1887 of file SCOLAnim.cpp.
◆ SO3ObjectSkeletonNumOfAnimations()
int SO3ObjectSkeletonNumOfAnimations | ( | mmachine | m | ) |
SO3ObjectSkeletonNumOfAnimations : Return the number of animations for a skeleton.
Prototype: fun [SO3_OBJECT] I
- Parameters
-
SO3_OBJECT : current object associated with a skeleton
- Returns
- I : number of animations if success , NIL otherwise
Definition at line 1453 of file SCOLAnim.cpp.
◆ SO3ObjectSkeletonSetBindPose()
int SO3ObjectSkeletonSetBindPose | ( | mmachine | m | ) |
SO3ObjectSkeletonSetBindPose : defines bind pose on a skeleton.
Prototype: fun [SO3_OBJECT] I
- Parameters
-
SO3_OBJECT : current node with skeleton associated
- Returns
- I : 1 if success , NIL otherwise
Definition at line 1834 of file SCOLAnim.cpp.
◆ SO3ObjectSkeletonSetBlendMode()
int SO3ObjectSkeletonSetBlendMode | ( | mmachine | m | ) |
SO3ObjectSkeletonGetBlendMode : defines blending mode for a skeleton.
Prototype: fun [SO3_OBJECT I] I
- Parameters
-
SO3_OBJECT : current node with skeleton associated I : Blend mode
- Returns
- I : 1 if success , NIL otherwise For blend mode, values are :
- SO3_ANIMBLEND_AVERAGE
- SO3_ANIMBLEND_CUMULATIVE
Definition at line 1940 of file SCOLAnim.cpp.
◆ SO3SceneCreateAnimationSequence()
int SO3SceneCreateAnimationSequence | ( | mmachine | m | ) |
SO3SceneCreateAnimationSequence : Create a Scene Animation sequence.
Prototype: fun [SO3_SCENE S] SO3_ANIM
- Parameters
-
SO3_SCENE : current scene S : animation name
- Returns
- SO3_ANIM : The animation created if success, NIL otherwise
Definition at line 1418 of file SCOLScene.cpp.
Generated by 1.9.8