C# 클래스 FSO.Vitaboy.Mesh

3D Mesh.
상속: I3DGeometry
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BlendData FSO.Vitaboy.BlendData[]
BoneBindings FSO.Vitaboy.BoneBinding[]
VertexBuffer FSO.Vitaboy.Model.VitaboyVertex[]

보호된 프로퍼티들

프로퍼티 타입 설명
IndexBuffer short[]
NumPrimitives int

공개 메소드들

메소드 설명
Clone ( ) : Mesh

Clones this mesh.

Draw ( GraphicsDevice gd ) : void

Draws this mesh.

DrawGeometry ( GraphicsDevice gd ) : void
InvalidateMesh ( ) : void
Mesh ( ) : System
Prepare ( Bone bone ) : void

Transforms the verticies making up this mesh into the designated bone positions.

Read ( Stream stream ) : void

Reads a mesh from a stream.

StoreOnGPU ( GraphicsDevice device ) : void

메소드 상세

Clone() 공개 메소드

Clones this mesh.
public Clone ( ) : Mesh
리턴 Mesh

Draw() 공개 메소드

Draws this mesh.
public Draw ( GraphicsDevice gd ) : void
gd GraphicsDevice A GraphicsDevice instance used for drawing.
리턴 void

DrawGeometry() 공개 메소드

public DrawGeometry ( GraphicsDevice gd ) : void
gd GraphicsDevice
리턴 void

InvalidateMesh() 공개 메소드

public InvalidateMesh ( ) : void
리턴 void

Mesh() 공개 메소드

public Mesh ( ) : System
리턴 System

Prepare() 공개 메소드

Transforms the verticies making up this mesh into the designated bone positions.
public Prepare ( Bone bone ) : void
bone Bone The bone to start with. Should always be the ROOT bone.
리턴 void

Read() 공개 메소드

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

StoreOnGPU() 공개 메소드

public StoreOnGPU ( GraphicsDevice device ) : void
device GraphicsDevice
리턴 void

프로퍼티 상세

BlendData 공개적으로 프로퍼티

public BlendData[],FSO.Vitaboy BlendData
리턴 FSO.Vitaboy.BlendData[]

BoneBindings 공개적으로 프로퍼티

public BoneBinding[],FSO.Vitaboy BoneBindings
리턴 FSO.Vitaboy.BoneBinding[]

IndexBuffer 보호되어 있는 프로퍼티

protected short[] IndexBuffer
리턴 short[]

NumPrimitives 보호되어 있는 프로퍼티

protected int NumPrimitives
리턴 int

VertexBuffer 공개적으로 프로퍼티

public VitaboyVertex[],FSO.Vitaboy.Model VertexBuffer
리턴 FSO.Vitaboy.Model.VitaboyVertex[]