Space Engineers
Public Member Functions | Public Attributes | Properties | List of all members
Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider Class Reference
Inheritance diagram for Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider:
Sandbox.Game.WorldEnvironment.IMyEnvironmentDataProvider

Public Member Functions

 MyProceduralEnvironmentProvider ()
 
void Init (IMyEnvironmentOwner owner, ref Vector3D origin, ref Vector3D basisA, ref Vector3D basisB, double sectorSize, MyObjectBuilder_Base ob)
 
unsafe MyEnvironmentDataView GetItemView (int lod, ref Vector2I start, ref Vector2I end, ref Vector3D localOrigin)
 
MyObjectBuilder_EnvironmentDataProvider GetObjectBuilder ()
 
void DebugDraw ()
 
MyLogicalEnvironmentSectorBase GetLogicalSector (long sectorId)
 
void CloseView (MyProceduralDataView view)
 
MyProceduralLogicalSector TryGetLogicalSector (int lod, int logicalx, int logicaly)
 
void GeSectorWorldParameters (int x, int y, int localLod, out Vector3D worldPos, out Vector3 scanBasisA, out Vector3 scanBasisB)
 
int GetSeed ()
 

Public Attributes

int LodFactor = 3
 

Properties

IMyEnvironmentOwner Owner [get]
 
int ProviderId [get, set]
 
IEnumerable< MyLogicalEnvironmentSectorBaseLogicalSectors [get]
 
- Properties inherited from Sandbox.Game.WorldEnvironment.IMyEnvironmentDataProvider
IEnumerable< MyLogicalEnvironmentSectorBaseLogicalSectors [get]
 

Detailed Description

Definition at line 23 of file MyProceduralEnvironmentProvider.cs.

Constructor & Destructor Documentation

Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider.MyProceduralEnvironmentProvider ( )
inline

Definition at line 48 of file MyProceduralEnvironmentProvider.cs.

Member Function Documentation

void Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider.CloseView ( MyProceduralDataView  view)
inline

Definition at line 265 of file MyProceduralEnvironmentProvider.cs.

void Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider.DebugDraw ( )
inline
void Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider.GeSectorWorldParameters ( int  x,
int  y,
int  localLod,
out Vector3D  worldPos,
out Vector3  scanBasisA,
out Vector3  scanBasisB 
)
inline

Definition at line 318 of file MyProceduralEnvironmentProvider.cs.

unsafe MyEnvironmentDataView Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider.GetItemView ( int  lod,
ref Vector2I  start,
ref Vector2I  end,
ref Vector3D  localOrigin 
)
inline
MyLogicalEnvironmentSectorBase Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider.GetLogicalSector ( long  sectorId)
inline
MyObjectBuilder_EnvironmentDataProvider Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider.GetObjectBuilder ( )
inline
int Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider.GetSeed ( )
inline

Definition at line 328 of file MyProceduralEnvironmentProvider.cs.

void Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider.Init ( IMyEnvironmentOwner  owner,
ref Vector3D  origin,
ref Vector3D  basisA,
ref Vector3D  basisB,
double  sectorSize,
MyObjectBuilder_Base  ob 
)
inline

Definition at line 53 of file MyProceduralEnvironmentProvider.cs.

MyProceduralLogicalSector Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider.TryGetLogicalSector ( int  lod,
int  logicalx,
int  logicaly 
)
inline

Definition at line 310 of file MyProceduralEnvironmentProvider.cs.

Member Data Documentation

int Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider.LodFactor = 3

Definition at line 35 of file MyProceduralEnvironmentProvider.cs.

Property Documentation

IEnumerable<MyLogicalEnvironmentSectorBase> Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider.LogicalSectors
get

Definition at line 251 of file MyProceduralEnvironmentProvider.cs.

IMyEnvironmentOwner Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider.Owner
get

Definition at line 37 of file MyProceduralEnvironmentProvider.cs.

int Sandbox.Game.WorldEnvironment.MyProceduralEnvironmentProvider.ProviderId
getset

Definition at line 39 of file MyProceduralEnvironmentProvider.cs.


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