C# 클래스 FSO.Vitaboy.Skeleton

Skeletons specify the network of bones that can be moved by an animation to bend the applied meshes of a rendered character. Skeletons also provide non-animated default translation and rotation values for each bone.
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Bones FSO.Vitaboy.Bone[]
Name string
RootBone Bone

공개 메소드들

메소드 설명
Clone ( ) : Skeleton

Clones this skeleton.

ComputeBonePositions ( Bone bone, Matrix world ) : void

Computes the absolute position for all the bones in this skeleton.

GetBone ( string name ) : Bone

Gets a bone from this Skeleton instance.

Read ( Stream stream ) : void

Reads a skeleton from a stream.

비공개 메소드들

메소드 설명
ReadBone ( IoBuffer reader ) : Bone

Reads a bone from a IOBuffer.

메소드 상세

Clone() 공개 메소드

Clones this skeleton.
public Clone ( ) : Skeleton
리턴 Skeleton

ComputeBonePositions() 공개 메소드

Computes the absolute position for all the bones in this skeleton.
public ComputeBonePositions ( Bone bone, Matrix world ) : void
bone Bone The bone to start with, should always be the ROOT bone.
world Matrix A world matrix to use in the calculation.
리턴 void

GetBone() 공개 메소드

Gets a bone from this Skeleton instance.
public GetBone ( string name ) : Bone
name string The name of a bone.
리턴 Bone

Read() 공개 메소드

Reads a skeleton from a stream.
public Read ( Stream stream ) : void
stream Stream A Stream instance holding a skeleton.
리턴 void

프로퍼티 상세

Bones 공개적으로 프로퍼티

public Bone[],FSO.Vitaboy Bones
리턴 FSO.Vitaboy.Bone[]

Name 공개적으로 프로퍼티

public string Name
리턴 string

RootBone 공개적으로 프로퍼티

public Bone,FSO.Vitaboy RootBone
리턴 Bone