Assembly: Sandbox.Game.dll

public class MyVoxelMaps: IMyVoxelMaps

Properties

Member Description
Instances
VoxelMaterialCount Inherited from IMyVoxelMaps

Constructors

Member Description
MyVoxelMaps()

Methods

Member Description
Add(MyVoxelBase)
Clear()
DebugDraw(MyVoxelDebugDrawMode)
Exist(MyVoxelBase)
GetAllOverlappingWithSphere(ref BoundingSphereD, List)
GetAllOverlappingWithSphere(ref BoundingSphereD)
GetCacheStats(out int, out int)
GetOverlappingWithSphere(ref BoundingSphereD)
GetVoxelMapsArray(bool)
GetVoxelMapsData(bool, bool, Dictionary<string, IMyStorage>)
GetVoxelMapsWhoseBoundingBoxesIntersectBox(ref BoundingBoxD, MyVoxelBase, List)
GetVoxelMapWhoseBoundingBoxIntersectsBox(ref BoundingBoxD, MyVoxelBase) Return reference to voxel map that intersects the box. If not voxel map found, null is returned.
RemoveVoxelMap(MyVoxelBase)
TryGetVoxelBaseById(long)
TryGetVoxelMapByName(string)
TryGetVoxelMapByNameStart(string)
Clear() Resets all voxels over whole world

Inherited from IMyVoxelMaps
CreatePredefinedVoxelMap(string, string, MatrixD, bool) Creates an voxel map with some additional options.

Inherited from IMyVoxelMaps
CreateProceduralVoxelMap(int, float, MatrixD, int) Inherited from IMyVoxelMaps
CreateStorage(Vector3I) Creates voxels storage

Inherited from IMyVoxelMaps
CreateStorage(Byte[]) Creates storage from GZipped bytes.

Inherited from IMyVoxelMaps
CreateVoxelMap(string, IMyStorage, Vector3D, long) Creates voxels map

Inherited from IMyVoxelMaps
CreateVoxelMapFromStorageName(string, string, Vector3D) Adds a prefab voxel to the game world.

Inherited from IMyVoxelMaps
CutOutShape(IMyVoxelBase, IMyVoxelShape) Will cut out given shape

Inherited from IMyVoxelMaps
Exist(IMyVoxelBase) Returns if voxel registered

Inherited from IMyVoxelMaps
FillInShape(IMyVoxelBase, IMyVoxelShape, byte) Will fill given material with given shape

Inherited from IMyVoxelMaps
GetBoxVoxelHand() Gets box voxel hand. Can be used in PaintInShape(IMyVoxelBase, IMyVoxelShape, byte) , CutOutShape(IMyVoxelBase, IMyVoxelShape) , FillInShape(IMyVoxelBase, IMyVoxelShape, byte) , RevertShape(IMyVoxelBase, IMyVoxelShape)

Inherited from IMyVoxelMaps
GetCapsuleVoxelHand() Gets capsule voxel hand. Can be used in PaintInShape(IMyVoxelBase, IMyVoxelShape, byte) , CutOutShape(IMyVoxelBase, IMyVoxelShape) , FillInShape(IMyVoxelBase, IMyVoxelShape, byte) , RevertShape(IMyVoxelBase, IMyVoxelShape)

Inherited from IMyVoxelMaps
GetInstances(List, Func<IMyVoxelBase, bool>) Gets all instances of IMyVoxelBase

Inherited from IMyVoxelMaps
GetOverlappingWithSphere(ref BoundingSphereD) Get first found IMyVoxelBase that intersects with sphere

Inherited from IMyVoxelMaps
GetRampVoxelHand() Gets ramp voxel hand. Can be used in PaintInShape(IMyVoxelBase, IMyVoxelShape, byte) , CutOutShape(IMyVoxelBase, IMyVoxelShape) , FillInShape(IMyVoxelBase, IMyVoxelShape, byte) , RevertShape(IMyVoxelBase, IMyVoxelShape)

Inherited from IMyVoxelMaps
GetSphereVoxelHand() Gets sphere voxel hand. Can be used in PaintInShape(IMyVoxelBase, IMyVoxelShape, byte) , CutOutShape(IMyVoxelBase, IMyVoxelShape) , FillInShape(IMyVoxelBase, IMyVoxelShape, byte) , RevertShape(IMyVoxelBase, IMyVoxelShape)

Inherited from IMyVoxelMaps
GetVoxelMapWhoseBoundingBoxIntersectsBox(ref BoundingBoxD, IMyVoxelBase) Get first found IMyVoxelBase that intersects with bounding box, ordered by distance to box center

Inherited from IMyVoxelMaps
MakeCrater(IMyVoxelBase, BoundingSphereD, Vector3, byte) Inherited from IMyVoxelMaps
PaintInShape(IMyVoxelBase, IMyVoxelShape, byte) Will paint given material with given shape

Inherited from IMyVoxelMaps
RevertShape(IMyVoxelBase, IMyVoxelShape) Inherited from IMyVoxelMaps
SpawnPlanet(string, float, int, Vector3D) Creates a Planet Entity

Inherited from IMyVoxelMaps

Implements: