Space Engineers
Public Member Functions | Public Attributes | Properties | List of all members
Sandbox.Game.GameSystems.MyGridGyroSystem Class Reference

Public Member Functions

 MyGridGyroSystem (MyCubeGrid grid)
 
void Register (MyGyro gyro)
 
void Unregister (MyGyro gyro)
 
Vector3 GetAngularVelocity (Vector3 control)
 
void UpdateBeforeSimulation ()
 
void MarkDirty ()
 

Public Attributes

Vector3 ControlTorque
 
bool AutopilotEnabled
 
Vector3 SlowdownTorque
 

Properties

MyResourceSinkComponent ResourceSink [get]
 
int GyroCount [get]
 
HashSet< MyGyroGyros [get]
 This should not be used to modify the gyros. Use Register/Unregister for that. More...
 
Vector3 Torque [get]
 Final torque (clamped by available power, added anti-gravity, slowdown). More...
 

Detailed Description

Definition at line 16 of file MyGridGyroSystem.cs.

Constructor & Destructor Documentation

Sandbox.Game.GameSystems.MyGridGyroSystem.MyGridGyroSystem ( MyCubeGrid  grid)
inline

Definition at line 72 of file MyGridGyroSystem.cs.

Member Function Documentation

Vector3 Sandbox.Game.GameSystems.MyGridGyroSystem.GetAngularVelocity ( Vector3  control)
inline

Definition at line 269 of file MyGridGyroSystem.cs.

void Sandbox.Game.GameSystems.MyGridGyroSystem.MarkDirty ( )
inline

Definition at line 419 of file MyGridGyroSystem.cs.

void Sandbox.Game.GameSystems.MyGridGyroSystem.Register ( MyGyro  gyro)
inline

Definition at line 85 of file MyGridGyroSystem.cs.

void Sandbox.Game.GameSystems.MyGridGyroSystem.Unregister ( MyGyro  gyro)
inline

Definition at line 102 of file MyGridGyroSystem.cs.

void Sandbox.Game.GameSystems.MyGridGyroSystem.UpdateBeforeSimulation ( )
inline

Definition at line 349 of file MyGridGyroSystem.cs.

Member Data Documentation

bool Sandbox.Game.GameSystems.MyGridGyroSystem.AutopilotEnabled

Definition at line 25 of file MyGridGyroSystem.cs.

Vector3 Sandbox.Game.GameSystems.MyGridGyroSystem.ControlTorque

Definition at line 24 of file MyGridGyroSystem.cs.

Vector3 Sandbox.Game.GameSystems.MyGridGyroSystem.SlowdownTorque

Definition at line 41 of file MyGridGyroSystem.cs.

Property Documentation

int Sandbox.Game.GameSystems.MyGridGyroSystem.GyroCount
get

Definition at line 53 of file MyGridGyroSystem.cs.

HashSet<MyGyro> Sandbox.Game.GameSystems.MyGridGyroSystem.Gyros
get

This should not be used to modify the gyros. Use Register/Unregister for that.

Definition at line 62 of file MyGridGyroSystem.cs.

MyResourceSinkComponent Sandbox.Game.GameSystems.MyGridGyroSystem.ResourceSink
get

Definition at line 47 of file MyGridGyroSystem.cs.

Vector3 Sandbox.Game.GameSystems.MyGridGyroSystem.Torque
get

Final torque (clamped by available power, added anti-gravity, slowdown).

Definition at line 68 of file MyGridGyroSystem.cs.


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