C# Class MeshRenderer.Core.RenderData

Stores the current mesh in a rendering friendly data structure.
Datei anzeigen Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Properties

Property Type Description
Bounds BoundingBox
MeshEdges uint[]
NumberOfInputPoints int
NumberOfRegions int
Points float[]
Segments uint[]
TrianglePartition int[]
Triangles uint[]
VoronoiEdges uint[]
VoronoiPoints float[]

Public Methods

Method Description
SetInputGeometry ( InputGeometry data ) : void

Copy input geometry data.

SetMesh ( Mesh mesh ) : void

Copy mesh data.

SetVoronoi ( IVoronoi voro ) : void

Copy voronoi data.

SetVoronoi ( IVoronoi voro, int infCount ) : void

Copy voronoi data.

Method Details

SetInputGeometry() public method

Copy input geometry data.
public SetInputGeometry ( InputGeometry data ) : void
data InputGeometry
return void

SetMesh() public method

Copy mesh data.
public SetMesh ( Mesh mesh ) : void
mesh Mesh
return void

SetVoronoi() public method

Copy voronoi data.
public SetVoronoi ( IVoronoi voro ) : void
voro IVoronoi
return void

SetVoronoi() public method

Copy voronoi data.
public SetVoronoi ( IVoronoi voro, int infCount ) : void
voro IVoronoi
infCount int
return void

Property Details

Bounds public_oe property

public BoundingBox Bounds
return BoundingBox

MeshEdges public_oe property

public uint[] MeshEdges
return uint[]

NumberOfInputPoints public_oe property

public int NumberOfInputPoints
return int

NumberOfRegions public_oe property

public int NumberOfRegions
return int

Points public_oe property

public float[] Points
return float[]

Segments public_oe property

public uint[] Segments
return uint[]

TrianglePartition public_oe property

public int[] TrianglePartition
return int[]

Triangles public_oe property

public uint[] Triangles
return uint[]

VoronoiEdges public_oe property

public uint[] VoronoiEdges
return uint[]

VoronoiPoints public_oe property

public float[] VoronoiPoints
return float[]