Project

General

Profile

SO3Engine
SCOLAnim.cpp File Reference

Go to the source code of this file.

Functions

int getAnimationCallbackEndEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the end animation callback.
 
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 SCOLloadAnim (mmachine m, cbmachine w)
 
int SCOLfreeAnim ()
 

Variables

int ANIMATION_END_EVENT
 main include
 
NativeDefinition natSO3Anim []
 

Function Documentation

◆ getAnimationCallbackEndEvent()

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

C function that prepares the VM for the execution of the end animation callback.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 64 of file SCOLAnim.cpp.

◆ SCOLfreeAnim()

int SCOLfreeAnim ( )

Definition at line 2706 of file SCOLAnim.cpp.

◆ SCOLloadAnim()

int SCOLloadAnim ( mmachine  m,
cbmachine  w 
)

Definition at line 2698 of file SCOLAnim.cpp.

Variable Documentation

◆ ANIMATION_END_EVENT

int ANIMATION_END_EVENT

main include

global declarations

Definition at line 51 of file SCOLAnim.cpp.

◆ natSO3Anim

NativeDefinition natSO3Anim[]

Definition at line 2637 of file SCOLAnim.cpp.