Space Engineers
Public Types | Public Member Functions | Properties | Events | List of all members
Sandbox.Game.SessionComponents.MyEntityTransformationSystem Class Reference
Inheritance diagram for Sandbox.Game.SessionComponents.MyEntityTransformationSystem:
VRage.Game.Components.MySessionComponentBase VRage.Game.Components.Interfaces.IMyUserInputComponent

Public Types

enum  CoordinateMode { CoordinateMode.LocalCoords, CoordinateMode.WorldCoords }
 
enum  OperationMode { OperationMode.Translation, OperationMode.Rotation, OperationMode.HierarchyAssignment }
 

Public Member Functions

 MyEntityTransformationSystem ()
 
override void Draw ()
 
override void UpdateAfterSimulation ()
 
void SetControlledEntity (MyEntity entity)
 
- Public Member Functions inherited from VRage.Game.Components.MySessionComponentBase
virtual bool UpdatedBeforeInit ()
 
 MySessionComponentBase ()
 
void SetUpdateOrder (MyUpdateOrder order)
 
virtual void InitFromDefinition (MySessionComponentDefinition definition)
 
virtual void Init (MyObjectBuilder_SessionComponent sessionComponent)
 
virtual MyObjectBuilder_SessionComponent GetObjectBuilder ()
 
void AfterLoadData ()
 
void UnloadDataConditional ()
 
virtual void LoadData ()
 
virtual void SaveData ()
 
virtual void BeforeStart ()
 
virtual void UpdateBeforeSimulation ()
 
virtual void Simulate ()
 
virtual void UpdatingStopped ()
 
virtual void HandleInput ()
 
override string ToString ()
 

Properties

bool Active [get, set]
 
bool DisableTransformation [get, set]
 This will disable the transformation changes of picked entity. More...
 
CoordinateMode Mode [get, set]
 Coordinate mode - Local or World space. More...
 
OperationMode Operation [get, set]
 Transformation type. More...
 
MyEntity ControlledEntity [get]
 Currently selected entity. More...
 
bool DisablePicking [get, set]
 Prevents picking of entities by left click. More...
 
LineD LastRay [get]
 Last picking raycast. More...
 
- Properties inherited from VRage.Game.Components.MySessionComponentBase
MyUpdateOrder UpdateOrder [get]
 
MyObjectBuilderType ObjectBuilderType [get]
 
bool Loaded [get]
 
bool Initialized [get]
 
MyDefinitionId Definition [get, set]
 
virtual Type[] Dependencies [get]
 
virtual bool IsRequiredByGame [get]
 Indicates whether a session component should be used in current configuration. Example: MyDestructionData component returns true only when game uses Havok Destruction More...
 

Events

Action< MyEntity, MyEntityControlledEntityChanged
 Triggered when controlled entity has changed. First old, second new. More...
 
Action< LineDRayCasted
 Triggered when the component casts new ray. More...
 

Additional Inherited Members

- Public Attributes inherited from VRage.Game.Components.MySessionComponentBase
readonly string DebugName
 
readonly int Priority
 
readonly Type ComponentType
 
IMySession Session
 
- Protected Member Functions inherited from VRage.Game.Components.MySessionComponentBase
virtual void UnloadData ()
 

Detailed Description

Definition at line 17 of file MyEntityTransformationSystem.cs.

Member Enumeration Documentation

Enumerator
LocalCoords 
WorldCoords 

Definition at line 23 of file MyEntityTransformationSystem.cs.

Enumerator
Translation 
Rotation 
HierarchyAssignment 

Definition at line 29 of file MyEntityTransformationSystem.cs.

Constructor & Destructor Documentation

Sandbox.Game.SessionComponents.MyEntityTransformationSystem.MyEntityTransformationSystem ( )
inline

Definition at line 180 of file MyEntityTransformationSystem.cs.

Member Function Documentation

override void Sandbox.Game.SessionComponents.MyEntityTransformationSystem.Draw ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 196 of file MyEntityTransformationSystem.cs.

void Sandbox.Game.SessionComponents.MyEntityTransformationSystem.SetControlledEntity ( MyEntity  entity)
inline

Definition at line 757 of file MyEntityTransformationSystem.cs.

override void Sandbox.Game.SessionComponents.MyEntityTransformationSystem.UpdateAfterSimulation ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 283 of file MyEntityTransformationSystem.cs.

Property Documentation

bool Sandbox.Game.SessionComponents.MyEntityTransformationSystem.Active
getset

Definition at line 113 of file MyEntityTransformationSystem.cs.

MyEntity Sandbox.Game.SessionComponents.MyEntityTransformationSystem.ControlledEntity
get

Currently selected entity.

Definition at line 159 of file MyEntityTransformationSystem.cs.

bool Sandbox.Game.SessionComponents.MyEntityTransformationSystem.DisablePicking
getset

Prevents picking of entities by left click.

Definition at line 167 of file MyEntityTransformationSystem.cs.

bool Sandbox.Game.SessionComponents.MyEntityTransformationSystem.DisableTransformation
getset

This will disable the transformation changes of picked entity.

Definition at line 132 of file MyEntityTransformationSystem.cs.

LineD Sandbox.Game.SessionComponents.MyEntityTransformationSystem.LastRay
get

Last picking raycast.

Definition at line 173 of file MyEntityTransformationSystem.cs.

CoordinateMode Sandbox.Game.SessionComponents.MyEntityTransformationSystem.Mode
getset

Coordinate mode - Local or World space.

Definition at line 148 of file MyEntityTransformationSystem.cs.

OperationMode Sandbox.Game.SessionComponents.MyEntityTransformationSystem.Operation
getset

Transformation type.

Definition at line 153 of file MyEntityTransformationSystem.cs.

Event Documentation

Action<MyEntity, MyEntity> Sandbox.Game.SessionComponents.MyEntityTransformationSystem.ControlledEntityChanged

Triggered when controlled entity has changed. First old, second new.

Definition at line 138 of file MyEntityTransformationSystem.cs.

Action<LineD> Sandbox.Game.SessionComponents.MyEntityTransformationSystem.RayCasted

Triggered when the component casts new ray.

Definition at line 143 of file MyEntityTransformationSystem.cs.


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