Interface IKSPCamera
- Namespace
- KSP.Sim
- Assembly
- Assembly-CSharp.dll
public interface IKSPCamera
- Extension Methods
-
Properties
Distance
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
Property Value
- bool
pivotRotation
Quaternion pivotRotation { get; }
Property Value
- Quaternion
Transform transform { get; }
Property Value
- Transform
Methods
GetCamera()
Returns
- Camera
Transform GetCameraTransform()
Returns
- 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