C# Class Transvoxel.SurfaceExtractor.TransvoxelManager

Stores and creates meshes for chunks, also holds volume data
ファイルを表示 Open project: BinaryConstruct/Transvoxel-XNA

Public Properties

Property Type Description
VolumeData IVolumeData

Public Methods

Method Description
GetMesh ( Vector3i position ) : MeshData
RemoveMesh ( Vector3i position ) : MeshData
TransvoxelManager ( IVolumeData volumeData ) : System

Private Methods

Method Description
GenerateMesh ( ) : MeshData

Method Details

GetMesh() public method

public GetMesh ( Vector3i position ) : MeshData
position Transvoxel.Math.Vector3i
return MeshData

RemoveMesh() public method

public RemoveMesh ( Vector3i position ) : MeshData
position Transvoxel.Math.Vector3i
return MeshData

TransvoxelManager() public method

public TransvoxelManager ( IVolumeData volumeData ) : System
volumeData IVolumeData
return System

Property Details

VolumeData public_oe property

public IVolumeData VolumeData
return IVolumeData