Interface IMyVoxelMap
Assembly: VRage.Game.dll
Syntax
public interface IMyVoxelMap : IMyVoxelBase, IMyEntity, IMyEntity
Methods
ClampVoxelCoord(ref Vector3I)
Declaration
void ClampVoxelCoord(ref Vector3I voxelCoord)
Parameters
Type |
Name |
Description |
Vector3I |
voxelCoord |
|
Close()
Declaration
DoOverlapSphereTest(Single, Vector3D)
Declaration
bool DoOverlapSphereTest(float sphereRadius, Vector3D spherePos)
Parameters
Type |
Name |
Description |
System.Single |
sphereRadius |
|
Vector3D |
spherePos |
|
Returns
Type |
Description |
System.Boolean |
|
GetIntersectionWithSphere(ref BoundingSphereD)
Declaration
bool GetIntersectionWithSphere(ref BoundingSphereD sphere)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GetObjectBuilder(Boolean)
Declaration
MyObjectBuilder_EntityBase GetObjectBuilder(bool copy = false)
Parameters
Type |
Name |
Description |
System.Boolean |
copy |
|
Returns
GetVoxelContentInBoundingBox(BoundingBoxD, out Single)
Declaration
float GetVoxelContentInBoundingBox(BoundingBoxD worldAabb, out float cellCount)
Parameters
Type |
Name |
Description |
BoundingBoxD |
worldAabb |
|
System.Single |
cellCount |
|
Returns
Type |
Description |
System.Single |
|
GetVoxelCoordinateFromMeters(Vector3D)
Declaration
Vector3I GetVoxelCoordinateFromMeters(Vector3D pos)
Parameters
Returns
Init(MyObjectBuilder_EntityBase)
Declaration
void Init(MyObjectBuilder_EntityBase builder)
Parameters