VRage.Game.ModAPI
IMySphericalNaturalGravityComponent
Assembly: VRage.Game.dll
public interface IMySphericalNaturalGravityComponent: IMyNaturalGravityComponent
Describes spherical natural gravity provider
Properties
| Member | Description |
|---|---|
| Falloff | Gravity falloff between minRadius and maxRadius |
| Intensity | Gravity strength |
| MaxRadius | Max gravity radius at lowest intensity |
| MinRadius | Minimum gravity radius before gravity intensity begins to decrease |
| GravityLimit | Gets distance between Position of gravity provider, and it's most distant point Inherited from IMyNaturalGravityComponent |
| IsWorking | Gets whither block is working or not Inherited from IMyNaturalGravityComponent |
| Position | Inherited from IMyNaturalGravityComponent |
Methods
| Member | Description |
|---|---|
| GetGravityMultiplier(Vector3D) | Get gravity scalar Inherited from IMyNaturalGravityComponent |
| GetProxyAABB(out BoundingBoxD) | Get bounding box around gravity provider Inherited from IMyNaturalGravityComponent |
| GetWorldGravity(Vector3D) | Gets gravity vector Inherited from IMyNaturalGravityComponent |
| IsPositionInRange(Vector3D) | Tests if the specified point is within the gravity of this entity. Inherited from IMyNaturalGravityComponent |
Implements:
Inheritors: