Struct ModelPosInfo
- Namespace
- KSP.Networking.MP.Utils
- Assembly
- Assembly-CSharp.dll
public struct ModelPosInfo
- Inherited Members
-
- Extension Methods
-
Fields
AngularVelocityX
public double AngularVelocityX
Field Value
- double
AngularVelocityY
public double AngularVelocityY
Field Value
- double
AngularVelocityZ
public double AngularVelocityZ
Field Value
- double
DEFAULT_ANGULAR_VELOCITY_X
public const double DEFAULT_ANGULAR_VELOCITY_X = 0
Field Value
- double
DEFAULT_ANGULAR_VELOCITY_Y
public const double DEFAULT_ANGULAR_VELOCITY_Y = 0
Field Value
- double
DEFAULT_ANGULAR_VELOCITY_Z
public const double DEFAULT_ANGULAR_VELOCITY_Z = 0
Field Value
- double
DEFAULT_GOT_POSITION_AND_ROTATION
public const bool DEFAULT_GOT_POSITION_AND_ROTATION = false
Field Value
- bool
DEFAULT_GOT_VELOCITY_AND_ANGULAR_VELOCITY
public const bool DEFAULT_GOT_VELOCITY_AND_ANGULAR_VELOCITY = false
Field Value
- bool
DEFAULT_OFFSET_POSITION_X
public const double DEFAULT_OFFSET_POSITION_X = 0
Field Value
- double
DEFAULT_OFFSET_POSITION_Y
public const double DEFAULT_OFFSET_POSITION_Y = 0
Field Value
- double
DEFAULT_OFFSET_POSITION_Z
public const double DEFAULT_OFFSET_POSITION_Z = 0
Field Value
- double
public const string DEFAULT_PARENT_TRANSFORM_FRAME_GLOBAL_ID_STRING = ""
Field Value
- string
public const TransformFrameType DEFAULT_PARENT_TRANSFORM_FRAME_TYPE = None
Field Value
- TransformFrameType
DEFAULT_POSITION_X
public const double DEFAULT_POSITION_X = 0
Field Value
- double
DEFAULT_POSITION_Y
public const double DEFAULT_POSITION_Y = 0
Field Value
- double
DEFAULT_POSITION_Z
public const double DEFAULT_POSITION_Z = 0
Field Value
- double
DEFAULT_ROTATION_W
public const double DEFAULT_ROTATION_W = 0
Field Value
- double
DEFAULT_ROTATION_X
public const double DEFAULT_ROTATION_X = 0
Field Value
- double
DEFAULT_ROTATION_Y
public const double DEFAULT_ROTATION_Y = 0
Field Value
- double
DEFAULT_ROTATION_Z
public const double DEFAULT_ROTATION_Z = 0
Field Value
- double
DEFAULT_VELOCITY_X
public const double DEFAULT_VELOCITY_X = 0
Field Value
- double
DEFAULT_VELOCITY_Y
public const double DEFAULT_VELOCITY_Y = 0
Field Value
- double
DEFAULT_VELOCITY_Z
public const double DEFAULT_VELOCITY_Z = 0
Field Value
- double
GotPositionAndRotation
public bool GotPositionAndRotation
Field Value
- bool
GotVelocityAndAngularVelocity
public bool GotVelocityAndAngularVelocity
Field Value
- bool
OffsetPositionX
public double OffsetPositionX
Field Value
- double
OffsetPositionY
public double OffsetPositionY
Field Value
- double
OffsetPositionZ
public double OffsetPositionZ
Field Value
- double
public string ParentTransformFrameGlobalIdString
Field Value
- string
public TransformFrameType ParentTransformFrameType
Field Value
- TransformFrameType
PositionX
Field Value
- double
PositionY
Field Value
- double
PositionZ
Field Value
- double
RotationW
Field Value
- double
RotationX
Field Value
- double
RotationY
Field Value
- double
RotationZ
Field Value
- double
VelocityX
Field Value
- double
VelocityY
Field Value
- double
VelocityZ
Field Value
- double
Methods
ExportLocationString()
public string ExportLocationString()
Returns
- string
GetOffsetPosition()
public Vector3 GetOffsetPosition()
Returns
- Vector3
GetPosition()
public Vector3 GetPosition()
Returns
- Vector3
GetRotation()
public Quaternion GetRotation()
Returns
- Quaternion
ImportLocationString(string)
public bool ImportLocationString(string locationString)
Parameters
locationString string
Returns
- bool
Init()
Init(ModelPosInfo)
public void Init(ModelPosInfo src)
Parameters
src ModelPosInfo
ResetAllValues()
public void ResetAllValues()
Set(ModelPosInfo)
public void Set(ModelPosInfo src)
Parameters
src ModelPosInfo
SetOffsetPosition(Vector3)
public void SetOffsetPosition(Vector3 offsetPosition)
Parameters
offsetPosition Vector3
SetPosition(Vector3)
public void SetPosition(Vector3 position)
Parameters
position Vector3
SetRotation(Quaternion)
public void SetRotation(Quaternion quat)
Parameters
quat Quaternion
Uninit()