C# 클래스 Knot3.Framework.Primitives.Primitive

상속: IDisposable
파일 보기 프로젝트 열기: knot3/knot3-code

공개 프로퍼티들

프로퍼티 타입 설명
OnModelQualityChanged Action

보호된 프로퍼티들

프로퍼티 타입 설명
vertexTransform Matrix

공개 메소드들

메소드 설명
Dispose ( ) : void
Draw ( Effect effect ) : void
DrawInstances ( Effect effect, VertexBuffer &instanceBuffer, int instanceCount ) : void
Primitive ( ) : System
Primitive ( Vector3 translation, Angles3 rotation ) : System

보호된 메소드들

메소드 설명
AddIndex ( int index ) : void
AddVertex ( Vector3 position, Vector3 normal, Vector2 texCoord ) : void
Dispose ( bool disposing ) : void
InitializePrimitive ( GraphicsDevice device ) : void

메소드 상세

AddIndex() 보호된 메소드

protected AddIndex ( int index ) : void
index int
리턴 void

AddVertex() 보호된 메소드

protected AddVertex ( Vector3 position, Vector3 normal, Vector2 texCoord ) : void
position Vector3
normal Vector3
texCoord Vector2
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Draw() 공개 메소드

public Draw ( Effect effect ) : void
effect Microsoft.Xna.Framework.Graphics.Effect
리턴 void

DrawInstances() 공개 메소드

public DrawInstances ( Effect effect, VertexBuffer &instanceBuffer, int instanceCount ) : void
effect Microsoft.Xna.Framework.Graphics.Effect
instanceBuffer VertexBuffer
instanceCount int
리턴 void

InitializePrimitive() 보호된 메소드

protected InitializePrimitive ( GraphicsDevice device ) : void
device GraphicsDevice
리턴 void

Primitive() 공개 메소드

public Primitive ( ) : System
리턴 System

Primitive() 공개 메소드

public Primitive ( Vector3 translation, Angles3 rotation ) : System
translation Vector3
rotation Angles3
리턴 System

프로퍼티 상세

OnModelQualityChanged 공개적으로 정적으로 프로퍼티

public static Action OnModelQualityChanged
리턴 Action

vertexTransform 보호되어 있는 프로퍼티

protected Matrix vertexTransform
리턴 Matrix