C# 클래스 IrrlichtNETCP.AnimatedMeshSceneNode

상속: SceneNode
파일 보기 프로젝트 열기: Paulus/irrlichtnetcp 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
OnNativeAnimationEnd ( IntPtr node ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

AddShadowVolumeSceneNode() 공개 메소드

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
리턴 IrrlichtNETCP.ShadowVolumeSceneNode

AnimateJoints() 공개 메소드

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 ///
리턴 void

AnimatedMeshSceneNode() 공개 메소드

public AnimatedMeshSceneNode ( IntPtr raw ) : System
raw System.IntPtr
리턴 System

GetJointNode() 공개 메소드

Get Bone depending of the name
public GetJointNode ( string name ) : BoneSceneNode
name string /// A name of the node ///
리턴 BoneSceneNode

GetJointNode() 공개 메소드

Get Bone depending of the id
public GetJointNode ( uint index ) : BoneSceneNode
index uint /// An id of the node ///
리턴 BoneSceneNode

GetMS3DJointNode() 공개 메소드

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

GetXJointNode() 공개 메소드

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

OnNativeAnimationEnd() 보호된 메소드

protected OnNativeAnimationEnd ( IntPtr node ) : void
node System.IntPtr
리턴 void

SetFrameLoop() 공개 메소드

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

SetMD2Animation() 공개 메소드

Sets the current MD2 animation
public SetMD2Animation ( MD2Animation anim ) : void
anim MD2Animation Animation
리턴 void

SetMD2Animation() 공개 메소드

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