Space Engineers
|
Classes | |
class | SpringInfo |
Public Member Functions | |
MyThirdPersonSpectator () | |
void | Update () |
void | Rotate (Vector2 rotationIndicator, float rollIndicator) |
void | MoveAndRotate (Vector3 moveIndicator, Vector2 rotationIndicator, float rollIndicator) |
MatrixD | GetViewMatrix () |
bool | IsCameraPositionOk () |
void | RecalibrateCameraPosition (bool isCharacter=false) |
void | UpdateZoom () |
bool | ResetViewerDistance (double?newDistance=null) |
Reset the third person camera distance. More... | |
bool | ResetViewerAngle (Vector2?headAngle) |
Reset the third person camera "head" angles. More... | |
double | GetViewerDistance () |
Get the distance from viewer to the target. More... | |
void | SaveSettings () |
Flag this spectator to save its settings next Update call. More... | |
Vector3D | GetCrosshair () |
![]() | |
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 | UpdateAfterSimulation () |
virtual void | UpdatingStopped () |
virtual void | Draw () |
virtual void | HandleInput () |
override string | ToString () |
Public Attributes | |
const float | MIN_VIEWER_DISTANCE = 1.45f |
const float | MAX_VIEWER_DISTANCE = 200.0f |
const float | CAMERA_RADIUS = 0.3f |
bool | m_disableSpringThisFrame = false |
SpringInfo | NormalSpring |
![]() | |
readonly string | DebugName |
readonly int | Priority |
readonly Type | ComponentType |
IMySession | Session |
Static Public Attributes | |
static MyThirdPersonSpectator | Static |
Properties | |
bool | EnableDebugDraw [get, set] |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
virtual void | UnloadData () |
Definition at line 22 of file MyThirdPersonSpectator.cs.
|
inline |
Definition at line 151 of file MyThirdPersonSpectator.cs.
|
inline |
Definition at line 775 of file MyThirdPersonSpectator.cs.
|
inline |
Get the distance from viewer to the target.
Definition at line 759 of file MyThirdPersonSpectator.cs.
|
inline |
Definition at line 301 of file MyThirdPersonSpectator.cs.
|
inline |
Definition at line 315 of file MyThirdPersonSpectator.cs.
|
inline |
Definition at line 282 of file MyThirdPersonSpectator.cs.
|
inline |
Definition at line 607 of file MyThirdPersonSpectator.cs.
|
inline |
Reset the third person camera "head" angles.
headAngle | new head angle |
Definition at line 741 of file MyThirdPersonSpectator.cs.
|
inline |
Reset the third person camera distance.
newDistance | New camera distance. If null, it is not changed. |
Definition at line 725 of file MyThirdPersonSpectator.cs.
|
inline |
Definition at line 277 of file MyThirdPersonSpectator.cs.
|
inline |
Flag this spectator to save its settings next Update call.
Definition at line 769 of file MyThirdPersonSpectator.cs.
|
inline |
Definition at line 170 of file MyThirdPersonSpectator.cs.
|
inline |
Definition at line 668 of file MyThirdPersonSpectator.cs.
const float Sandbox.Engine.Utils.MyThirdPersonSpectator.CAMERA_RADIUS = 0.3f |
Definition at line 32 of file MyThirdPersonSpectator.cs.
bool Sandbox.Engine.Utils.MyThirdPersonSpectator.m_disableSpringThisFrame = false |
Definition at line 44 of file MyThirdPersonSpectator.cs.
const float Sandbox.Engine.Utils.MyThirdPersonSpectator.MAX_VIEWER_DISTANCE = 200.0f |
Definition at line 30 of file MyThirdPersonSpectator.cs.
const float Sandbox.Engine.Utils.MyThirdPersonSpectator.MIN_VIEWER_DISTANCE = 1.45f |
Definition at line 28 of file MyThirdPersonSpectator.cs.
SpringInfo Sandbox.Engine.Utils.MyThirdPersonSpectator.NormalSpring |
Definition at line 117 of file MyThirdPersonSpectator.cs.
|
static |
Definition at line 25 of file MyThirdPersonSpectator.cs.
|
getset |
Definition at line 146 of file MyThirdPersonSpectator.cs.