Assembly: Sandbox.Game.dll

public class MyModAPINaturalGravityComponent: MyGravityProviderComponent, IMyComponentBase, IMyEntityComponentBase, IMyGravityProvider, IMyModAPINaturalGravityComponent, IMyNaturalGravityComponent

Events

Member Description
static OnAfterAddedToContainer Inherited from MyEntityComponentBase
BeforeRemovedFromContainer Inherited from IMyEntityComponentBase
BeforeRemovedFromContainer Inherited from MyEntityComponentBase

Properties

Member Description
ComponentTypeDebugString
GravityLimit
Implementation
IsWorking
Position
AttachSyncToEntity Inherited from MyEntityComponentBase
ComponentTypeDebugString Inherited from IMyEntityComponentBase
ComponentTypeDebugString Inherited from MyGravityProviderComponent
ComponentTypeDebugString Name of the base component type for debug purposes (e.g.: "Position")

Inherited from MyEntityComponentBase
Container Inherited from IMyEntityComponentBase
Container Inherited from MyEntityComponentBase
ContainerBase Inherited from IMyComponentBase
ContainerBase This cannot be named Container to not conflict with the definition of Container in MyEntityComponentBase.

Inherited from MyComponentBase
Entity Inherited from IMyEntityComponentBase
Entity Inherited from MyEntityComponentBase
FailedOnSceneAdd Inherited from MyComponentBase
GravityLimit Gets distance between Position of gravity provider, and it's most distant point

Inherited from IMyNaturalGravityComponent
GravityLimit Inherited from MyGravityProviderComponent
Implementation Gets implementation of gravity provider

Inherited from IMyModAPINaturalGravityComponent
IsWorking Gets whither block is working or not

Inherited from IMyNaturalGravityComponent
IsWorking Inherited from IMyGravityProvider
IsWorking Inherited from MyGravityProviderComponent
Position Inherited from IMyNaturalGravityComponent
RemoveExistingComponentOnNewInsert Inherited from IMyComponentBase
RemoveExistingComponentOnNewInsert Inherited from MyComponentBase

Constructors

Member Description
MyModAPINaturalGravityComponent(IMyModAPINaturalGravityImplementation)

Methods

Member Description
DoesTrajectoryIntersectNaturalGravity(RayD, double)
GetGravityLimit()
GetGravityMultiplier(Vector3D)
GetProxyAABB(out BoundingBoxD)
GetWorldGravity(Vector3D)
GetWorldGravityNormalized(ref Vector3D)
IsPositionInRange(Vector3D)
OnAddedToContainer()
Deserialize(MyObjectBuilder_ComponentBase) Inherited from IMyComponentBase
Deserialize(MyObjectBuilder_ComponentBase) Inherited from MyComponentBase
DoesTrajectoryIntersectNaturalGravity(RayD, double) Inherited from MyGravityProviderComponent
GetAs() Inherited from IMyComponentBase
GetAs() Inherited from MyComponentBase
GetGravityMultiplier(Vector3D) Get gravity scalar

Inherited from IMyNaturalGravityComponent
GetGravityMultiplier(Vector3D) Inherited from IMyGravityProvider
GetGravityMultiplier(Vector3D) Inherited from MyGravityProviderComponent
GetProxyAABB(out BoundingBoxD) Get bounding box around gravity provider

Inherited from IMyNaturalGravityComponent
GetProxyAABB(out BoundingBoxD) Inherited from IMyGravityProvider
GetProxyAABB(out BoundingBoxD) Inherited from MyGravityProviderComponent
GetWorldGravity(Vector3D) Gets gravity vector

Inherited from IMyNaturalGravityComponent
GetWorldGravity(Vector3D) Inherited from IMyGravityProvider
GetWorldGravity(Vector3D) Inherited from MyGravityProviderComponent
GetWorldGravityNormalized(ref Vector3D) Inherited from MyGravityProviderComponent
Init(MyComponentDefinitionBase) Inherited from IMyComponentBase
Init(MyComponentDefinitionBase) Inherited from MyComponentBase
IsPositionInRange(Vector3D) Tests if the specified point is within the gravity of this entity.

Inherited from IMyNaturalGravityComponent
IsPositionInRange(Vector3D) Tests if the specified point is within the gravity of this entity.

Inherited from IMyGravityProvider
IsPositionInRange(Vector3D) Inherited from MyGravityProviderComponent
IsSerialized() Inherited from IMyComponentBase
IsSerialized() Tells the component container serializer whether this component should be saved

Inherited from MyComponentBase
OnAddedToContainer() Inherited from IMyComponentBase
OnAddedToContainer() Inherited from MyEntityComponentBase
OnAddedToContainer() Gets called after the container of this component changes

Inherited from MyComponentBase
OnAddedToScene() Inherited from IMyComponentBase
OnAddedToScene() CH: TOOD: Be careful! This does not get called if the component is added to a container that is in the scene already!

Inherited from MyComponentBase
OnBeforeRemovedFromContainer() Inherited from IMyComponentBase
OnBeforeRemovedFromContainer() Inherited from MyEntityComponentBase
OnBeforeRemovedFromContainer() Gets called before the removal of this component from a container

Inherited from MyComponentBase
OnRemovedFromScene() Inherited from IMyComponentBase
OnRemovedFromScene() CH: TOOD: Be careful! This does not get called if the component is removed from a container that is still in the scene!

Inherited from MyComponentBase
Serialize(bool) Inherited from IMyComponentBase
Serialize(bool) Inherited from MyComponentBase
SetContainer(IMyComponentContainer) Inherited from IMyComponentBase
SetContainer(IMyComponentContainer) 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.

Inherited from MyComponentBase

Inheritance: MyComponentBase ˃ MyEntityComponentBase ˃ MyGravityProviderComponent

Implements: