Assembly: VRage.Game.dll

public interface IMyVoxelMaps

Properties

Member Description
VoxelMaterialCount

Methods

Member Description
Clear() Resets all voxels over whole world
CreatePredefinedVoxelMap(string, string, MatrixD, bool) Creates an voxel map with some additional options.
CreateProceduralVoxelMap(int, float, MatrixD, int)
CreateStorage(Vector3I) Creates voxels storage
CreateStorage(Byte[]) Creates storage from GZipped bytes.
CreateVoxelMap(string, IMyStorage, Vector3D, long) Creates voxels map
CreateVoxelMapFromStorageName(string, string, Vector3D) Adds a prefab voxel to the game world.
CutOutShape(IMyVoxelBase, IMyVoxelShape) Will cut out given shape
Exist(IMyVoxelBase) Returns if voxel registered
FillInShape(IMyVoxelBase, IMyVoxelShape, byte) Will fill given material with given shape
GetBoxVoxelHand() Gets box voxel hand. Can be used in PaintInShape(IMyVoxelBase, IMyVoxelShape, byte) , CutOutShape(IMyVoxelBase, IMyVoxelShape) , FillInShape(IMyVoxelBase, IMyVoxelShape, byte) , RevertShape(IMyVoxelBase, IMyVoxelShape)
GetCapsuleVoxelHand() Gets capsule voxel hand. Can be used in PaintInShape(IMyVoxelBase, IMyVoxelShape, byte) , CutOutShape(IMyVoxelBase, IMyVoxelShape) , FillInShape(IMyVoxelBase, IMyVoxelShape, byte) , RevertShape(IMyVoxelBase, IMyVoxelShape)
GetInstances(List, Func<IMyVoxelBase, bool>) Gets all instances of IMyVoxelBase
GetOverlappingWithSphere(ref BoundingSphereD) Get first found IMyVoxelBase that intersects with sphere
GetRampVoxelHand() Gets ramp voxel hand. Can be used in PaintInShape(IMyVoxelBase, IMyVoxelShape, byte) , CutOutShape(IMyVoxelBase, IMyVoxelShape) , FillInShape(IMyVoxelBase, IMyVoxelShape, byte) , RevertShape(IMyVoxelBase, IMyVoxelShape)
GetSphereVoxelHand() Gets sphere voxel hand. Can be used in PaintInShape(IMyVoxelBase, IMyVoxelShape, byte) , CutOutShape(IMyVoxelBase, IMyVoxelShape) , FillInShape(IMyVoxelBase, IMyVoxelShape, byte) , RevertShape(IMyVoxelBase, IMyVoxelShape)
GetVoxelMapWhoseBoundingBoxIntersectsBox(ref BoundingBoxD, IMyVoxelBase) Get first found IMyVoxelBase that intersects with bounding box, ordered by distance to box center
MakeCrater(IMyVoxelBase, BoundingSphereD, Vector3, byte)
PaintInShape(IMyVoxelBase, IMyVoxelShape, byte) Will paint given material with given shape
RevertShape(IMyVoxelBase, IMyVoxelShape)
SpawnPlanet(string, float, int, Vector3D) Creates a Planet Entity

Inheritors: