C# Class TerrainDemo.CDLOD.PatchInstanceVertex

Show file Open project: willcraftia/TestXna Class Usage Examples

Public Properties

Property Type Description
Level float
Offset Vector2
Scale float
VertexDecl Microsoft.Xna.Framework.Graphics.VertexDeclaration

Property Details

Level public property

The LOD level of a patch.
public float Level
return float

Offset public property

The position (x, z) of a patch in the world space.
public Vector2 Offset
return Vector2

Scale public property

The scale of a patch.
public float Scale
return float

VertexDecl public static property

public static VertexDeclaration,Microsoft.Xna.Framework.Graphics VertexDecl
return Microsoft.Xna.Framework.Graphics.VertexDeclaration