C# Class SEToolbox.Interop.Asteroids.MyVoxelContentCellContent

Datei anzeigen Open project: midspace/SEToolbox Class Usage Examples

Public Methods

Method Description
GetVoxelContent ( Vector3I &voxelCoordInCell ) : byte
QuantizedValue ( byte content ) : byte
Reset ( byte resetToContent ) : void
SetAddVoxelContents ( byte contents, BoundingBoxD &bounding ) : void
SetVoxelContent ( byte content, Vector3I &voxelCoordInCell ) : void

Private Methods

Method Description
CheckVoxelCoord ( Vector3I &cellCoord ) : bool
MyVoxelContentCellContent ( ) : System

Method Details

GetVoxelContent() public method

public GetVoxelContent ( Vector3I &voxelCoordInCell ) : byte
voxelCoordInCell Vector3I
return byte

QuantizedValue() public static method

public static QuantizedValue ( byte content ) : byte
content byte
return byte

Reset() public method

public Reset ( byte resetToContent ) : void
resetToContent byte
return void

SetAddVoxelContents() public method

public SetAddVoxelContents ( byte contents, BoundingBoxD &bounding ) : void
contents byte
bounding BoundingBoxD
return void

SetVoxelContent() public method

public SetVoxelContent ( byte content, Vector3I &voxelCoordInCell ) : void
content byte
voxelCoordInCell Vector3I
return void