Table of Contents

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

DEFAULT_PARENT_TRANSFORM_FRAME_GLOBAL_ID_STRING

public const string DEFAULT_PARENT_TRANSFORM_FRAME_GLOBAL_ID_STRING = ""

Field Value

string

DEFAULT_PARENT_TRANSFORM_FRAME_TYPE

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

ParentTransformFrameGlobalIdString

public string ParentTransformFrameGlobalIdString

Field Value

string

ParentTransformFrameType

public TransformFrameType ParentTransformFrameType

Field Value

TransformFrameType

PositionX

public double PositionX

Field Value

double

PositionY

public double PositionY

Field Value

double

PositionZ

public double PositionZ

Field Value

double

RotationW

public double RotationW

Field Value

double

RotationX

public double RotationX

Field Value

double

RotationY

public double RotationY

Field Value

double

RotationZ

public double RotationZ

Field Value

double

VelocityX

public double VelocityX

Field Value

double

VelocityY

public double VelocityY

Field Value

double

VelocityZ

public 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()

public void 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()

public void Uninit()