Space Engineers
Classes | Public Member Functions | Static Public Member Functions | Properties | List of all members
Sandbox.Game.World.Generator.MyCompositeShapeProvider Class Reference
Inheritance diagram for Sandbox.Game.World.Generator.MyCompositeShapeProvider:
Sandbox.Engine.Voxels.IMyStorageDataProvider

Public Member Functions

 MyCompositeShapeProvider ()
 
float GetDistanceToPoint (ref Vector3D localPosition)
 
MyVoxelMaterialDefinition GetMaterialAtPosition (ref Vector3D worldPosition)
 
void ReadRange (ref MyVoxelDataRequest req)
 
MyVoxelRequestFlags SupportedFlags ()
 
ContainmentType Intersect (BoundingBoxI box, bool lazy)
 
bool Intersect (ref LineD line, out double startOffset, out double endOffset)
 
void Close ()
 

Static Public Member Functions

static MyCompositeShapeProvider CreateAsteroidShape (int seed, float size, int generatorEntry)
 

Properties

bool ProvidesAmbient [get]
 
- Properties inherited from Sandbox.Engine.Voxels.IMyStorageDataProvider
int SerializedSize [get]
 
bool ProvidesAmbient [get]
 

Detailed Description

Definition at line 26 of file MyCompositeShapeProvider.cs.

Constructor & Destructor Documentation

Sandbox.Game.World.Generator.MyCompositeShapeProvider.MyCompositeShapeProvider ( )
inline

Definition at line 81 of file MyCompositeShapeProvider.cs.

Member Function Documentation

void Sandbox.Game.World.Generator.MyCompositeShapeProvider.Close ( )
inline
static MyCompositeShapeProvider Sandbox.Game.World.Generator.MyCompositeShapeProvider.CreateAsteroidShape ( int  seed,
float  size,
int  generatorEntry 
)
inlinestatic

Definition at line 85 of file MyCompositeShapeProvider.cs.

float Sandbox.Game.World.Generator.MyCompositeShapeProvider.GetDistanceToPoint ( ref Vector3D  localPosition)
inline
MyVoxelMaterialDefinition Sandbox.Game.World.Generator.MyCompositeShapeProvider.GetMaterialAtPosition ( ref Vector3D  localPosition)
inline

Get the material at a given position in the voxel storage.

Position is in storage local space.

Implements Sandbox.Engine.Voxels.IMyStorageDataProvider.

Definition at line 438 of file MyCompositeShapeProvider.cs.

ContainmentType Sandbox.Game.World.Generator.MyCompositeShapeProvider.Intersect ( BoundingBoxI  box,
bool  lazy 
)
inline
bool Sandbox.Game.World.Generator.MyCompositeShapeProvider.Intersect ( ref LineD  line,
out double  startOffset,
out double  endOffset 
)
inline

Intersect line with storage.

Returnas the tightest line interval that does intersect the storage. The precision of this method varies from storage to storage.

The offsets are normalised.

Implements Sandbox.Engine.Voxels.IMyStorageDataProvider.

Definition at line 500 of file MyCompositeShapeProvider.cs.

void Sandbox.Game.World.Generator.MyCompositeShapeProvider.ReadRange ( ref MyVoxelDataRequest  request)
inline

Read range of data.

The data for the request, providing any optimizations that are requested in there.

Implements Sandbox.Engine.Voxels.IMyStorageDataProvider.

Definition at line 445 of file MyCompositeShapeProvider.cs.

MyVoxelRequestFlags Sandbox.Game.World.Generator.MyCompositeShapeProvider.SupportedFlags ( )
inline

What optimizations this storage supports, the caller will never request for an optimization the storage does not support.

Implements Sandbox.Engine.Voxels.IMyStorageDataProvider.

Definition at line 455 of file MyCompositeShapeProvider.cs.

Property Documentation

bool Sandbox.Game.World.Generator.MyCompositeShapeProvider.ProvidesAmbient
get

Definition at line 513 of file MyCompositeShapeProvider.cs.


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