Table of Contents

Interface IKSPCamera

Namespace
KSP.Sim
Assembly
Assembly-CSharp.dll
public interface IKSPCamera
Extension Methods

Properties

Distance

float Distance { get; }

Property Value

float

MaxDistance

float MaxDistance { get; }

Property Value

float

MinDistance

float MinDistance { get; }

Property Value

float

StartDistance

float StartDistance { get; }

Property Value

float

camHdg

float camHdg { get; set; }

Property Value

float

camPitch

float camPitch { get; set; }

Property Value

float

cullingMask

int cullingMask { get; set; }

Property Value

int

cullingMatrix

Matrix4x4 cullingMatrix { get; set; }

Property Value

Matrix4x4

enabled

bool enabled { get; }

Property Value

bool

pivotRotation

Quaternion pivotRotation { get; }

Property Value

Quaternion

transform

Transform transform { get; }

Property Value

Transform

Methods

GetCamera()

Camera GetCamera()

Returns

Camera

GetCameraTransform()

Transform GetCameraTransform()

Returns

Transform

GetPivot()

Transform GetPivot()

Returns

Transform

ScreenPointToRay(Vector3)

Ray ScreenPointToRay(Vector3 pos)

Parameters

pos Vector3

Returns

Ray

WorldToScreenPoint(Vector3)

Vector3 WorldToScreenPoint(Vector3 position)

Parameters

position Vector3

Returns

Vector3

WorldToViewportPoint(Vector3)

Vector3 WorldToViewportPoint(Vector3 position)

Parameters

position Vector3

Returns

Vector3