Space Engineers
Public Member Functions | Public Attributes | List of all members
Sandbox.Engine.Voxels.MyShapeCapsule Class Reference
Inheritance diagram for Sandbox.Engine.Voxels.MyShapeCapsule:
VRage.Game.ModAPI.IMyVoxelShapeCapsule Sandbox.Engine.Voxels.MyShape VRage.Game.ModAPI.IMyVoxelShape 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)
 

Public Attributes

Vector3D A
 
Vector3D B
 
float Radius
 

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
 
- Properties inherited from VRage.Game.ModAPI.IMyVoxelShapeCapsule
Vector3D A [get, set]
 In world Coordinates More...
 
Vector3D B [get, set]
 In world Coordinates More...
 
float Radius [get, set]
 
- Properties inherited from VRage.Game.ModAPI.IMyVoxelShape
MatrixD Transform [get, set]
 World matrix of voxel shape More...
 
- Properties inherited from Sandbox.Engine.Voxels.MyShape
MatrixD Transformation [get, set]
 
MatrixD InverseTransformation [get]
 

Detailed Description

Definition at line 292 of file MyVoxelGenerator.cs.

Member Function Documentation

override float Sandbox.Engine.Voxels.MyShapeCapsule.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 312 of file MyVoxelGenerator.cs.

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

Implements Sandbox.Engine.Voxels.MyShape.

Definition at line 298 of file MyVoxelGenerator.cs.

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

Implements Sandbox.Engine.Voxels.MyShape.

Definition at line 304 of file MyVoxelGenerator.cs.

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

Implements Sandbox.Engine.Voxels.MyShape.

Definition at line 334 of file MyVoxelGenerator.cs.

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

Implements Sandbox.Engine.Voxels.MyShape.

Definition at line 339 of file MyVoxelGenerator.cs.

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

Implements Sandbox.Engine.Voxels.MyShape.

Definition at line 329 of file MyVoxelGenerator.cs.

Member Data Documentation

Vector3D Sandbox.Engine.Voxels.MyShapeCapsule.A

Definition at line 294 of file MyVoxelGenerator.cs.

Vector3D Sandbox.Engine.Voxels.MyShapeCapsule.B

Definition at line 295 of file MyVoxelGenerator.cs.

float Sandbox.Engine.Voxels.MyShapeCapsule.Radius

Definition at line 296 of file MyVoxelGenerator.cs.


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