Space Engineers
Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Sandbox.Engine.Utils.MySpectator Class Reference
Inheritance diagram for Sandbox.Engine.Utils.MySpectator:
Sandbox.Engine.Utils.MySpectatorCameraController

Public Member Functions

 MySpectator ()
 
void Rotate (Vector2 rotationIndicator, float rollIndicator)
 
void RotateStopped ()
 
void OnAssumeControl (IMyCameraController previousCameraController)
 
void OnReleaseControl (IMyCameraController newCameraController)
 
void MoveAndRotate (Vector3 moveIndicator, Vector2 rotationIndicator, float rollIndicator)
 
virtual void MoveAndRotateStopped ()
 
Matrix GetViewMatrix ()
 
void SetViewMatrix (Matrix viewMatrix)
 
void EnableRotation ()
 
void DisableRotation ()
 
void ResetSpectatorView ()
 Reset position and orientation of spectator view matrix More...
 

Public Attributes

Vector3 ThirdPersonCameraDelta = new Vector3(-10, 10, -10)
 
MySpectatorCameraMovementEnum SpectatorCameraMovement = MySpectatorCameraMovementEnum.UserControlled
 
bool ReflectorOn = true
 

Static Public Attributes

static MySpectator Static
 

Properties

bool IsInFirstPersonView [get, set]
 
bool ForceFirstPersonCamera [get, set]
 
Vector3 Position [get, set]
 
float SpeedMode [get, set]
 
Vector3 Orientation [get]
 
Vector3 Target [get, set]
 

Detailed Description

Definition at line 13 of file MySpectator.cs.

Constructor & Destructor Documentation

Sandbox.Engine.Utils.MySpectator.MySpectator ( )
inline

Definition at line 23 of file MySpectator.cs.

Member Function Documentation

void Sandbox.Engine.Utils.MySpectator.DisableRotation ( )
inline

Definition at line 228 of file MySpectator.cs.

void Sandbox.Engine.Utils.MySpectator.EnableRotation ( )
inline

Definition at line 223 of file MySpectator.cs.

Matrix Sandbox.Engine.Utils.MySpectator.GetViewMatrix ( )
inline

Definition at line 206 of file MySpectator.cs.

void Sandbox.Engine.Utils.MySpectator.MoveAndRotate ( Vector3  moveIndicator,
Vector2  rotationIndicator,
float  rollIndicator 
)
inline

Definition at line 105 of file MySpectator.cs.

virtual void Sandbox.Engine.Utils.MySpectator.MoveAndRotateStopped ( )
inlinevirtual

Definition at line 202 of file MySpectator.cs.

void Sandbox.Engine.Utils.MySpectator.OnAssumeControl ( IMyCameraController  previousCameraController)
inline

Definition at line 96 of file MySpectator.cs.

void Sandbox.Engine.Utils.MySpectator.OnReleaseControl ( IMyCameraController  newCameraController)
inline

Definition at line 100 of file MySpectator.cs.

void Sandbox.Engine.Utils.MySpectator.ResetSpectatorView ( )
inline

Reset position and orientation of spectator view matrix

Definition at line 236 of file MySpectator.cs.

void Sandbox.Engine.Utils.MySpectator.Rotate ( Vector2  rotationIndicator,
float  rollIndicator 
)
inline

Definition at line 86 of file MySpectator.cs.

void Sandbox.Engine.Utils.MySpectator.RotateStopped ( )
inline

Definition at line 91 of file MySpectator.cs.

void Sandbox.Engine.Utils.MySpectator.SetViewMatrix ( Matrix  viewMatrix)
inline

Definition at line 211 of file MySpectator.cs.

Member Data Documentation

bool Sandbox.Engine.Utils.MySpectator.ReflectorOn = true

Definition at line 40 of file MySpectator.cs.

MySpectatorCameraMovementEnum Sandbox.Engine.Utils.MySpectator.SpectatorCameraMovement = MySpectatorCameraMovementEnum.UserControlled

Definition at line 18 of file MySpectator.cs.

MySpectator Sandbox.Engine.Utils.MySpectator.Static
static

Definition at line 15 of file MySpectator.cs.

Vector3 Sandbox.Engine.Utils.MySpectator.ThirdPersonCameraDelta = new Vector3(-10, 10, -10)

Definition at line 17 of file MySpectator.cs.

Property Documentation

bool Sandbox.Engine.Utils.MySpectator.ForceFirstPersonCamera
getset

Definition at line 21 of file MySpectator.cs.

bool Sandbox.Engine.Utils.MySpectator.IsInFirstPersonView
getset

Definition at line 20 of file MySpectator.cs.

Vector3 Sandbox.Engine.Utils.MySpectator.Orientation
get

Definition at line 54 of file MySpectator.cs.

Vector3 Sandbox.Engine.Utils.MySpectator.Position
getset

Definition at line 31 of file MySpectator.cs.

float Sandbox.Engine.Utils.MySpectator.SpeedMode
getset

Definition at line 42 of file MySpectator.cs.

Vector3 Sandbox.Engine.Utils.MySpectator.Target
getset

Definition at line 64 of file MySpectator.cs.


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