Space Engineers
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Properties | List of all members
Sandbox.Game.SessionComponents.MySessionComponentVoxelHand Class Reference
Inheritance diagram for Sandbox.Game.SessionComponents.MySessionComponentVoxelHand:
VRage.Game.Components.MySessionComponentBase VRage.Game.Components.Interfaces.IMyUserInputComponent

Public Member Functions

 MySessionComponentVoxelHand ()
 
override void LoadData ()
 
override void HandleInput ()
 
float GetBrushZoom ()
 
void SetBrushZoom (float value)
 
override void UpdateBeforeSimulation ()
 
override void Draw ()
 
void DrawMaterial ()
 
bool TrySetBrush (string brushSubtypeName)
 Tries to set the brush on voxel hand. More...
 
- 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 SaveData ()
 
virtual void BeforeStart ()
 
virtual void Simulate ()
 
virtual void UpdateAfterSimulation ()
 
virtual void UpdatingStopped ()
 
override string ToString ()
 

Public Attributes

MatrixD m_rotation
 
Color ShapeColor
 
- Public Attributes inherited from VRage.Game.Components.MySessionComponentBase
readonly string DebugName
 
readonly int Priority
 
readonly Type ComponentType
 
IMySession Session
 

Static Public Attributes

static MySessionComponentVoxelHand Static
 

Protected Member Functions

override void UnloadData ()
 

Properties

override Type[] Dependencies [get]
 
bool BuildMode [get]
 
bool Enabled [get, set]
 
bool SnapToVoxel [get, set]
 
bool ProjectToVoxel [get, set]
 
bool ShowGizmos [get, set]
 
bool ScreenVisible [get, set]
 
bool FreezePhysics [get, set]
 
IMyVoxelBrush CurrentShape [get, set]
 
MyVoxelHandDefinition CurrentDefinition [get, set]
 
- 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...
 

Detailed Description

Definition at line 29 of file MySessionComponentVoxelHand.cs.

Constructor & Destructor Documentation

Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.MySessionComponentVoxelHand ( )
inline

Definition at line 126 of file MySessionComponentVoxelHand.cs.

Member Function Documentation

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

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 416 of file MySessionComponentVoxelHand.cs.

void Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.DrawMaterial ( )
inline

Definition at line 460 of file MySessionComponentVoxelHand.cs.

float Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.GetBrushZoom ( )
inline

Definition at line 308 of file MySessionComponentVoxelHand.cs.

override void Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.HandleInput ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 214 of file MySessionComponentVoxelHand.cs.

override void Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.LoadData ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 146 of file MySessionComponentVoxelHand.cs.

void Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.SetBrushZoom ( float  value)
inline

Definition at line 313 of file MySessionComponentVoxelHand.cs.

bool Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.TrySetBrush ( string  brushSubtypeName)
inline

Tries to set the brush on voxel hand.

Parameters
brushSubtypeNameBrush subtype name.
Returns
False if brush with given name does not exist.

Definition at line 562 of file MySessionComponentVoxelHand.cs.

override void Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.UnloadData ( )
inlineprotectedvirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 156 of file MySessionComponentVoxelHand.cs.

override void Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.UpdateBeforeSimulation ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 339 of file MySessionComponentVoxelHand.cs.

Member Data Documentation

MatrixD Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.m_rotation

Definition at line 62 of file MySessionComponentVoxelHand.cs.

Color Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.ShapeColor

Definition at line 68 of file MySessionComponentVoxelHand.cs.

MySessionComponentVoxelHand Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.Static
static

Definition at line 46 of file MySessionComponentVoxelHand.cs.

Property Documentation

bool Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.BuildMode
get

Definition at line 72 of file MySessionComponentVoxelHand.cs.

MyVoxelHandDefinition Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.CurrentDefinition
getset

Definition at line 118 of file MySessionComponentVoxelHand.cs.

IMyVoxelBrush Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.CurrentShape
getset

Definition at line 117 of file MySessionComponentVoxelHand.cs.

override Type [] Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.Dependencies
get

Definition at line 39 of file MySessionComponentVoxelHand.cs.

bool Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.Enabled
getset

Definition at line 88 of file MySessionComponentVoxelHand.cs.

bool Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.FreezePhysics
getset

Definition at line 113 of file MySessionComponentVoxelHand.cs.

bool Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.ProjectToVoxel
getset

Definition at line 110 of file MySessionComponentVoxelHand.cs.

bool Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.ScreenVisible
getset

Definition at line 112 of file MySessionComponentVoxelHand.cs.

bool Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.ShowGizmos
getset

Definition at line 111 of file MySessionComponentVoxelHand.cs.

bool Sandbox.Game.SessionComponents.MySessionComponentVoxelHand.SnapToVoxel
getset

Definition at line 109 of file MySessionComponentVoxelHand.cs.


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