C# Class Knot3.Framework.Primitives.Primitive

Inheritance: IDisposable
Afficher le fichier Open project: knot3/knot3-code

Méthodes publiques

Свойство Type Description
OnModelQualityChanged Action

Protected Properties

Свойство Type Description
vertexTransform Matrix

Méthodes publiques

Méthode Description
Dispose ( ) : void
Draw ( Effect effect ) : void
DrawInstances ( Effect effect, VertexBuffer &instanceBuffer, int instanceCount ) : void
Primitive ( ) : System
Primitive ( Vector3 translation, Angles3 rotation ) : System

Méthodes protégées

Méthode Description
AddIndex ( int index ) : void
AddVertex ( Vector3 position, Vector3 normal, Vector2 texCoord ) : void
Dispose ( bool disposing ) : void
InitializePrimitive ( GraphicsDevice device ) : void

Method Details

AddIndex() protected méthode

protected AddIndex ( int index ) : void
index int
Résultat void

AddVertex() protected méthode

protected AddVertex ( Vector3 position, Vector3 normal, Vector2 texCoord ) : void
position Vector3
normal Vector3
texCoord Vector2
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Draw() public méthode

public Draw ( Effect effect ) : void
effect Microsoft.Xna.Framework.Graphics.Effect
Résultat void

DrawInstances() public méthode

public DrawInstances ( Effect effect, VertexBuffer &instanceBuffer, int instanceCount ) : void
effect Microsoft.Xna.Framework.Graphics.Effect
instanceBuffer VertexBuffer
instanceCount int
Résultat void

InitializePrimitive() protected méthode

protected InitializePrimitive ( GraphicsDevice device ) : void
device GraphicsDevice
Résultat void

Primitive() public méthode

public Primitive ( ) : System
Résultat System

Primitive() public méthode

public Primitive ( Vector3 translation, Angles3 rotation ) : System
translation Vector3
rotation Angles3
Résultat System

Property Details

OnModelQualityChanged public_oe static_oe property

public static Action OnModelQualityChanged
Résultat Action

vertexTransform protected_oe property

protected Matrix vertexTransform
Résultat Matrix