Space Engineers
Public Member Functions | Public Attributes | List of all members
Sandbox.Game.Replication.History.MySnapshot Struct Reference

Public Member Functions

 MySnapshot (BitStream stream)
 
 MySnapshot (MyEntity entity)
 
MySnapshot Diff (MySnapshot value0)
 
void Scale (float factor)
 
void ScaleTransform (float factor)
 
bool CheckThresholds (float posSq, float rotSq, float linearSq, float angularSq)
 
void Add (MySnapshot value)
 
void Apply (MyEntity entity, bool applyRotation=true, bool applyPhysics=true, bool reset=false)
 
MySnapshot Lerp (MySnapshot value2, float factor)
 
void Write (BitStream stream)
 
void Read (BitStream stream)
 
override string ToString ()
 

Public Attributes

bool Active
 
Vector3D Position
 
Quaternion Rotation
 
Vector3 LinearVelocity
 
Vector3 AngularVelocity
 

Detailed Description

Definition at line 8 of file MySnapshot.cs.

Constructor & Destructor Documentation

Sandbox.Game.Replication.History.MySnapshot.MySnapshot ( BitStream  stream)
inline

Definition at line 16 of file MySnapshot.cs.

Sandbox.Game.Replication.History.MySnapshot.MySnapshot ( MyEntity  entity)
inline

Definition at line 20 of file MySnapshot.cs.

Member Function Documentation

void Sandbox.Game.Replication.History.MySnapshot.Add ( MySnapshot  value)
inline

Definition at line 77 of file MySnapshot.cs.

void Sandbox.Game.Replication.History.MySnapshot.Apply ( MyEntity  entity,
bool  applyRotation = true,
bool  applyPhysics = true,
bool  reset = false 
)
inline

Definition at line 86 of file MySnapshot.cs.

bool Sandbox.Game.Replication.History.MySnapshot.CheckThresholds ( float  posSq,
float  rotSq,
float  linearSq,
float  angularSq 
)
inline

Definition at line 69 of file MySnapshot.cs.

MySnapshot Sandbox.Game.Replication.History.MySnapshot.Diff ( MySnapshot  value0)
inline

Definition at line 38 of file MySnapshot.cs.

MySnapshot Sandbox.Game.Replication.History.MySnapshot.Lerp ( MySnapshot  value2,
float  factor 
)
inline

Definition at line 127 of file MySnapshot.cs.

void Sandbox.Game.Replication.History.MySnapshot.Read ( BitStream  stream)
inline

Definition at line 150 of file MySnapshot.cs.

void Sandbox.Game.Replication.History.MySnapshot.Scale ( float  factor)
inline

Definition at line 50 of file MySnapshot.cs.

void Sandbox.Game.Replication.History.MySnapshot.ScaleTransform ( float  factor)
inline

Definition at line 58 of file MySnapshot.cs.

override string Sandbox.Game.Replication.History.MySnapshot.ToString ( )
inline

Definition at line 168 of file MySnapshot.cs.

void Sandbox.Game.Replication.History.MySnapshot.Write ( BitStream  stream)
inline

Definition at line 138 of file MySnapshot.cs.

Member Data Documentation

bool Sandbox.Game.Replication.History.MySnapshot.Active

Definition at line 10 of file MySnapshot.cs.

Vector3 Sandbox.Game.Replication.History.MySnapshot.AngularVelocity

Definition at line 14 of file MySnapshot.cs.

Vector3 Sandbox.Game.Replication.History.MySnapshot.LinearVelocity

Definition at line 13 of file MySnapshot.cs.

Vector3D Sandbox.Game.Replication.History.MySnapshot.Position

Definition at line 11 of file MySnapshot.cs.

Quaternion Sandbox.Game.Replication.History.MySnapshot.Rotation

Definition at line 12 of file MySnapshot.cs.


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