Space Engineers
|
Public Member Functions | |
MyPlanetEnvironmentComponent () | |
void | InitEnvironment () |
void | Update (bool doLazyUpdates=true, bool forceUpdate=false) |
void | DebugDraw () |
override void | OnAddedToScene () |
CH: TOOD: Be careful! This does not get called if the component is added to a container that is in the scene already! More... | |
override void | OnRemovedFromScene () |
CH: TOOD: Be careful! This does not get called if the component is removed from a container that is still in the scene! More... | |
override bool | IsSerialized () |
Tells the component container serializer whether this component should be saved More... | |
override MyObjectBuilder_ComponentBase | Serialize (bool copy=false) |
override void | Deserialize (MyObjectBuilder_ComponentBase builder) |
unsafe void | QuerySurfaceParameters (Vector3D localOrigin, ref BoundingBoxD queryBounds, List< Vector3 > queries, List< MySurfaceParams > results) |
MyEnvironmentSector | GetSectorForPosition (Vector3D positionWorld) |
MyEnvironmentSector | GetSectorById (long packedSectorId) |
void | SetSectorPinned (MyEnvironmentSector sector, bool pinned) |
IEnumerable< MyEnvironmentSector > | GetSectorsInRange (MyShape shape) |
int | GetSeed () |
MyPhysicalModelDefinition | GetModelForId (short id) |
void | GetDefinition (ushort index, out MyRuntimeEnvironmentItemInfo def) |
void | ProjectPointToSurface (ref Vector3D center) |
void | GetSurfaceNormalForPoint (ref Vector3D point, out Vector3D normal) |
Vector3D[] | GetBoundingShape (ref Vector3D worldPos, ref Vector3 basisX, ref Vector3 basisY) |
short | GetModelId (MyPhysicalModelDefinition def) |
void | ScheduleWork (MyEnvironmentSector sector, bool parallel) |
List< MyOrientedBoundingBoxD > | GetCollidedBoxes (long sectorId) |
void | InitClearAreasManagement () |
MyLogicalEnvironmentSectorBase | GetLogicalSector (long packedSectorId) |
void | CloseAll () |
bool | TryGetSector (long id, out MyEnvironmentSector environmentSector) |
Public Member Functions inherited from VRage.Game.Components.MyEntityComponentBase | |
override void | OnAddedToContainer () |
Gets called after the container of this component changes More... | |
override void | OnBeforeRemovedFromContainer () |
Gets called before the removal of this component from a container More... | |
Public Member Functions inherited from VRage.Game.Components.MyComponentBase | |
virtual void | SetContainer (MyComponentContainer container) |
Sets the container of this component. Note that the component is not added to the container here! Therefore, use MyComponentContainer.Add(...) method and it will in turn call this method. Actually, you should seldom have the need to call this method yourself. More... | |
virtual T | GetAs< T > () |
virtual void | Init (MyComponentDefinitionBase definition) |
Properties | |
int | MaxLod [get] |
override string | ComponentTypeDebugString [get] |
MyWorldEnvironmentDefinition | EnvironmentDefinition [get] |
IMyEnvironmentDataProvider | DataProvider [get] |
bool | CollisionCheckEnabled [get] |
Properties inherited from VRage.Game.Components.MyEntityComponentBase | |
MyEntityComponentContainer | Container [get] |
IMyEntity | Entity [get] |
abstract string | ComponentTypeDebugString [get] |
Name of the base component type for debug purposes (e.g.: "Position") More... | |
Properties inherited from VRage.Game.Components.MyComponentBase | |
MyComponentContainer | ContainerBase [get] |
This cannot be named Container to not conflict with the definition of Container in MyEntityComponentBase. More... | |
Properties inherited from Sandbox.Game.WorldEnvironment.IMyEnvironmentOwner | |
MyWorldEnvironmentDefinition | EnvironmentDefinition [get] |
MyEntity | Entity [get] |
Additional Inherited Members | |
Events inherited from VRage.Game.Components.MyEntityComponentBase | |
static Action< MyEntityComponentBase > | OnAfterAddedToContainer |
Action< MyEntityComponentBase > | BeforeRemovedFromContainer |
Definition at line 30 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Definition at line 68 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Definition at line 1057 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Definition at line 269 of file MyPlanetEnvironmentComponent.cs.
|
inlinevirtual |
Reimplemented from VRage.Game.Components.MyComponentBase.
Definition at line 533 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Implements Sandbox.Game.WorldEnvironment.IMyEnvironmentOwner.
Definition at line 860 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Definition at line 925 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Implements Sandbox.Game.WorldEnvironment.IMyEnvironmentOwner.
Definition at line 832 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Definition at line 1050 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Implements Sandbox.Game.WorldEnvironment.IMyEnvironmentOwner.
Definition at line 822 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Implements Sandbox.Game.WorldEnvironment.IMyEnvironmentOwner.
Definition at line 895 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Implements Sandbox.Game.WorldEnvironment.IMyEnvironmentOwner.
Definition at line 772 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Implements Sandbox.Game.WorldEnvironment.IMyEnvironmentOwner.
Definition at line 756 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Definition at line 804 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Implements Sandbox.Game.WorldEnvironment.IMyEnvironmentOwner.
Definition at line 814 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Implements Sandbox.Game.WorldEnvironment.IMyEnvironmentOwner.
Definition at line 854 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Definition at line 938 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Definition at line 74 of file MyPlanetEnvironmentComponent.cs.
|
inlinevirtual |
Tells the component container serializer whether this component should be saved
Reimplemented from VRage.Game.Components.MyComponentBase.
Definition at line 501 of file MyPlanetEnvironmentComponent.cs.
|
inlinevirtual |
CH: TOOD: Be careful! This does not get called if the component is added to a container that is in the scene already!
Reimplemented from VRage.Game.Components.MyComponentBase.
Definition at line 489 of file MyPlanetEnvironmentComponent.cs.
|
inlinevirtual |
CH: TOOD: Be careful! This does not get called if the component is removed from a container that is still in the scene!
Reimplemented from VRage.Game.Components.MyComponentBase.
Definition at line 494 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Implements Sandbox.Game.WorldEnvironment.IMyEnvironmentOwner.
Definition at line 849 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Implements Sandbox.Game.WorldEnvironment.IMyEnvironmentOwner.
Definition at line 727 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Implements Sandbox.Game.WorldEnvironment.IMyEnvironmentOwner.
Definition at line 908 of file MyPlanetEnvironmentComponent.cs.
|
inlinevirtual |
Reimplemented from VRage.Game.Components.MyComponentBase.
Definition at line 506 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Implements Sandbox.Game.WorldEnvironment.IMyEnvironmentOwner.
Definition at line 787 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Definition at line 1100 of file MyPlanetEnvironmentComponent.cs.
|
inline |
Definition at line 129 of file MyPlanetEnvironmentComponent.cs.
|
get |
Definition at line 923 of file MyPlanetEnvironmentComponent.cs.
|
get |
Definition at line 485 of file MyPlanetEnvironmentComponent.cs.
|
get |
Definition at line 845 of file MyPlanetEnvironmentComponent.cs.
|
get |
Definition at line 837 of file MyPlanetEnvironmentComponent.cs.
|
get |
Definition at line 173 of file MyPlanetEnvironmentComponent.cs.