Exemplo n.º 1
0
 /// <summary>
 /// Create a new voxel with the given inner data
 /// </summary>
 /// <param name="voxelData">The inner voxel data</param>
 /// <param name="style">The style of voxel (defaults to block)</param>
 public ComplexVoxel(VoxelData voxelData, VoxelStyle style = VoxelStyle.Block)
     : base(voxelData)
 {
     Style       = style;
     Orientation = OrdinalDirections.Up;
     Rotation    = 0;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Set the voxels style
 /// </summary>
 /// <param name="style">The new style</param>
 public void SetStyle(VoxelStyle style)
 {
     Style = style;
 }