Method | Description | |
---|---|---|
CalcAverageCellMaterial ( ) : void | ||
ForceReplaceMaterial ( byte materialIndex ) : void |
This will forcefully wipe the materials, and replace everything with the specified material
|
|
GetIndestructibleContent ( Vector3I &voxelCoordInCell ) : byte | ||
GetMaterial ( Vector3I &voxelCoordInCell ) : byte | ||
MyVoxelMaterialCell ( byte defaultMaterialIndex, byte defaultIndestructibleContents ) : System.Collections.Generic | ||
Reset ( byte defaultMaterialIndex, byte defaultIndestructibleContents ) : void | ||
SetMaterialAndIndestructibleContent ( byte materialIndex, byte indestructibleContent, Vector3I &voxelCoordInCell ) : void |
Method | Description | |
---|---|---|
CheckInitArrays ( byte materialIndex ) : void |
public ForceReplaceMaterial ( byte materialIndex ) : void | ||
materialIndex | byte | |
return | void |
public GetIndestructibleContent ( Vector3I &voxelCoordInCell ) : byte | ||
voxelCoordInCell | Vector3I | |
return | byte |
public GetMaterial ( Vector3I &voxelCoordInCell ) : byte | ||
voxelCoordInCell | Vector3I | |
return | byte |
public MyVoxelMaterialCell ( byte defaultMaterialIndex, byte defaultIndestructibleContents ) : System.Collections.Generic | ||
defaultMaterialIndex | byte | |
defaultIndestructibleContents | byte | |
return | System.Collections.Generic |
public Reset ( byte defaultMaterialIndex, byte defaultIndestructibleContents ) : void | ||
defaultMaterialIndex | byte | |
defaultIndestructibleContents | byte | |
return | void |
public SetMaterialAndIndestructibleContent ( byte materialIndex, byte indestructibleContent, Vector3I &voxelCoordInCell ) : void | ||
materialIndex | byte | |
indestructibleContent | byte | |
voxelCoordInCell | Vector3I | |
return | void |