C# Class Infiniminer.GeometryDebugger

Afficher le fichier Open project: bobisfat/Infiniminer

Méthodes publiques

Свойство Type Description
ProjectionMatrix Matrix
ViewMatrix Matrix

Méthodes publiques

Méthode Description
ConstructSphereVertices ( Vector3 position, float radius, Color color ) : Microsoft.Xna.Framework.Graphics.VertexPositionColor[]
DrawLine ( Vector3 posStart, Vector3 posEnd, Color color, short points ) : void
DrawSphere ( Vector3 position, float radius, Color color ) : void
GeometryDebugger ( GraphicsDevice graphicsDevice, Effect effect ) : System

Method Details

ConstructSphereVertices() public méthode

public ConstructSphereVertices ( Vector3 position, float radius, Color color ) : Microsoft.Xna.Framework.Graphics.VertexPositionColor[]
position Vector3
radius float
color Color
Résultat Microsoft.Xna.Framework.Graphics.VertexPositionColor[]

DrawLine() public méthode

public DrawLine ( Vector3 posStart, Vector3 posEnd, Color color, short points ) : void
posStart Vector3
posEnd Vector3
color Color
points short
Résultat void

DrawSphere() public méthode

public DrawSphere ( Vector3 position, float radius, Color color ) : void
position Vector3
radius float
color Color
Résultat void

GeometryDebugger() public méthode

public GeometryDebugger ( GraphicsDevice graphicsDevice, Effect effect ) : System
graphicsDevice GraphicsDevice
effect Microsoft.Xna.Framework.Graphics.Effect
Résultat System

Property Details

ProjectionMatrix public_oe property

public Matrix ProjectionMatrix
Résultat Matrix

ViewMatrix public_oe property

public Matrix ViewMatrix
Résultat Matrix