C# Class IrrlichtNETCP.AnimatedMeshSceneNode

Inheritance: SceneNode
Afficher le fichier Open project: Paulus/irrlichtnetcp Class Usage Examples

Méthodes publiques

Méthode Description
AddShadowVolumeSceneNode ( int ID, bool zfail, float infinity ) : IrrlichtNETCP.ShadowVolumeSceneNode

Adds a shadow to the node

AnimateJoints ( bool CalculateAbsolutePositions ) : void

animates the joints in the mesh based on the current frame (also takes in to account transitions)

AnimatedMeshSceneNode ( IntPtr raw ) : System
GetJointNode ( string name ) : BoneSceneNode

Get Bone depending of the name

GetJointNode ( uint index ) : BoneSceneNode

Get Bone depending of the id

GetMS3DJointNode ( string jointName ) : SceneNode

Retrieves the MS3D Joint node whose name is [jointName]

GetXJointNode ( string jointName ) : SceneNode

Retrieves the X Joint node whose name is [jointName]

SetFrameLoop ( int start, int end ) : void

Sets the animation loop between these two frames

SetMD2Animation ( MD2Animation anim ) : void

Sets the current MD2 animation

SetMD2Animation ( string animationname ) : void

Sets the current MD2 animation

Méthodes protégées

Méthode Description
OnNativeAnimationEnd ( IntPtr node ) : void

Private Methods

Méthode Description
AnimatedMeshSceneNode_AddShadowVolumeSceneNode ( IntPtr node, int ID, bool zfail, float infinity ) : IntPtr
AnimatedMeshSceneNode_AnimateJoints ( IntPtr node, bool calc ) : void
AnimatedMeshSceneNode_GetFrameNr ( IntPtr node ) : int
AnimatedMeshSceneNode_GetJointNode ( IntPtr node, uint jointn ) : IntPtr
AnimatedMeshSceneNode_GetJointNodeA ( IntPtr node, string name ) : IntPtr
AnimatedMeshSceneNode_GetMS3DJointNode ( IntPtr node, string jointName ) : IntPtr
AnimatedMeshSceneNode_GetMesh ( IntPtr node ) : IntPtr
AnimatedMeshSceneNode_GetXJointNode ( IntPtr node, string jointName ) : IntPtr
AnimatedMeshSceneNode_SetAnimationEndCallback ( IntPtr node, NativeAnimationEndDelegate callback ) : void
AnimatedMeshSceneNode_SetAnimationSpeed ( IntPtr node, int framePS ) : void
AnimatedMeshSceneNode_SetCurrentFrame ( IntPtr node, int cf ) : void
AnimatedMeshSceneNode_SetFrameLoop ( IntPtr node, int start, int end ) : void
AnimatedMeshSceneNode_SetJointMode ( IntPtr node, int mode ) : void
AnimatedMeshSceneNode_SetLoopMode ( IntPtr node, bool animationLooped ) : void
AnimatedMeshSceneNode_SetMD2Animation ( IntPtr node, string animationname ) : void
AnimatedMeshSceneNode_SetMD2AnimationA ( IntPtr node, MD2Animation anim ) : void

Method Details

AddShadowVolumeSceneNode() public méthode

Adds a shadow to the node
public AddShadowVolumeSceneNode ( int ID, bool zfail, float infinity ) : IrrlichtNETCP.ShadowVolumeSceneNode
ID int ID of the shadow, I advice -1 for automatic assignation
zfail bool Shall we use zfail ? (in fact it is not really implemented but I advice "true")
infinity float Infinity, I advice 10000f
Résultat IrrlichtNETCP.ShadowVolumeSceneNode

AnimateJoints() public méthode

animates the joints in the mesh based on the current frame (also takes in to account transitions)
public AnimateJoints ( bool CalculateAbsolutePositions ) : void
CalculateAbsolutePositions bool /// Should positions be calculated according global axis ///
Résultat void

AnimatedMeshSceneNode() public méthode

public AnimatedMeshSceneNode ( IntPtr raw ) : System
raw System.IntPtr
Résultat System

GetJointNode() public méthode

Get Bone depending of the name
public GetJointNode ( string name ) : BoneSceneNode
name string /// A name of the node ///
Résultat BoneSceneNode

GetJointNode() public méthode

Get Bone depending of the id
public GetJointNode ( uint index ) : BoneSceneNode
index uint /// An id of the node ///
Résultat BoneSceneNode

GetMS3DJointNode() public méthode

Retrieves the MS3D Joint node whose name is [jointName]
public GetMS3DJointNode ( string jointName ) : SceneNode
jointName string Name of the node
Résultat SceneNode

GetXJointNode() public méthode

Retrieves the X Joint node whose name is [jointName]
public GetXJointNode ( string jointName ) : SceneNode
jointName string Name of the node
Résultat SceneNode

OnNativeAnimationEnd() protected méthode

protected OnNativeAnimationEnd ( IntPtr node ) : void
node System.IntPtr
Résultat void

SetFrameLoop() public méthode

Sets the animation loop between these two frames
public SetFrameLoop ( int start, int end ) : void
start int Starting frame
end int Ending frame
Résultat void

SetMD2Animation() public méthode

Sets the current MD2 animation
public SetMD2Animation ( MD2Animation anim ) : void
anim MD2Animation Animation
Résultat void

SetMD2Animation() public méthode

Sets the current MD2 animation
public SetMD2Animation ( string animationname ) : void
animationname string Animation name (please refer to Irrlicht's documentation)
Résultat void