Space Engineers
Public Member Functions | Properties | List of all members
Sandbox.Engine.Voxels.MyShapeEllipsoid Class Reference
Inheritance diagram for Sandbox.Engine.Voxels.MyShapeEllipsoid:
Sandbox.Engine.Voxels.MyShape VRage.Game.ModAPI.IMyVoxelShape

Public Member Functions

override BoundingBoxD GetWorldBoundaries ()
 
override BoundingBoxD PeekWorldBoundaries (ref Vector3D targetPosition)
 
override float GetVolume (ref Vector3D voxelPosition)
 Gets volume of intersection of shape and voxel More...
 
override void SendPaintRequest (MyVoxelBase voxel, byte newMaterialIndex)
 
override void SendCutOutRequest (MyVoxelBase voxel)
 
override void SendFillRequest (MyVoxelBase voxel, byte newMaterialIndex)
 
- Public Member Functions inherited from Sandbox.Engine.Voxels.MyShape
virtual void SendDrillCutOutRequest (MyVoxelBase voxel, bool damage=false)
 

Properties

Vector3 Radius [get, set]
 
BoundingBoxD Boundaries [get]
 
- Properties inherited from Sandbox.Engine.Voxels.MyShape
MatrixD Transformation [get, set]
 
MatrixD InverseTransformation [get]
 
- Properties inherited from VRage.Game.ModAPI.IMyVoxelShape
MatrixD Transform [get, set]
 World matrix of voxel shape More...
 

Additional Inherited Members

- Protected Member Functions inherited from Sandbox.Engine.Voxels.MyShape
float SignedDistanceToDensity (float signedDistance)
 
Returns
Recomputed density value from signed distance
More...
 
- Protected Attributes inherited from Sandbox.Engine.Voxels.MyShape
MatrixD m_transformation = MatrixD.Identity
 
MatrixD m_inverse = MatrixD.Identity
 
bool m_inverseIsDirty = false
 

Detailed Description

Definition at line 166 of file MyVoxelGenerator.cs.

Member Function Documentation

override float Sandbox.Engine.Voxels.MyShapeEllipsoid.GetVolume ( ref Vector3D  voxelPosition)
inlinevirtual

Gets volume of intersection of shape and voxel

Parameters
voxelPositionLeft bottom point of voxel
Returns
Normalized volume of intersection

Implements Sandbox.Engine.Voxels.MyShape.

Definition at line 205 of file MyVoxelGenerator.cs.

override BoundingBoxD Sandbox.Engine.Voxels.MyShapeEllipsoid.GetWorldBoundaries ( )
inlinevirtual

Implements Sandbox.Engine.Voxels.MyShape.

Definition at line 193 of file MyVoxelGenerator.cs.

override BoundingBoxD Sandbox.Engine.Voxels.MyShapeEllipsoid.PeekWorldBoundaries ( ref Vector3D  targetPosition)
inlinevirtual

Implements Sandbox.Engine.Voxels.MyShape.

Definition at line 198 of file MyVoxelGenerator.cs.

override void Sandbox.Engine.Voxels.MyShapeEllipsoid.SendCutOutRequest ( MyVoxelBase  voxel)
inlinevirtual

Implements Sandbox.Engine.Voxels.MyShape.

Definition at line 231 of file MyVoxelGenerator.cs.

override void Sandbox.Engine.Voxels.MyShapeEllipsoid.SendFillRequest ( MyVoxelBase  voxel,
byte  newMaterialIndex 
)
inlinevirtual

Implements Sandbox.Engine.Voxels.MyShape.

Definition at line 236 of file MyVoxelGenerator.cs.

override void Sandbox.Engine.Voxels.MyShapeEllipsoid.SendPaintRequest ( MyVoxelBase  voxel,
byte  newMaterialIndex 
)
inlinevirtual

Implements Sandbox.Engine.Voxels.MyShape.

Definition at line 226 of file MyVoxelGenerator.cs.

Property Documentation

BoundingBoxD Sandbox.Engine.Voxels.MyShapeEllipsoid.Boundaries
get

Definition at line 188 of file MyVoxelGenerator.cs.

Vector3 Sandbox.Engine.Voxels.MyShapeEllipsoid.Radius
getset

Definition at line 174 of file MyVoxelGenerator.cs.


The documentation for this class was generated from the following file: