Interface ICameraRigSolution
- Namespace
- KSP.Sim
- Assembly
- Assembly-CSharp.dll
public interface ICameraRigSolution
- Extension Methods
-
Properties
CameraShot
ICameraShotInGimbal CameraShot { get; }
Property Value
- ICameraShotInGimbal
GimbalState
GimbalState GimbalState { get; }
Property Value
- GimbalState
Methods
AnchorToRig(ICameraRigAnchorProvider)
void AnchorToRig(ICameraRigAnchorProvider anchorProvider)
Parameters
anchorProvider ICameraRigAnchorProvider
GetCameraContext()
FlightCameraContext GetCameraContext()
Returns
- FlightCameraContext
ModifyGimbalState(GimbalStateIncremental)
void ModifyGimbalState(GimbalStateIncremental change)
Parameters
change GimbalStateIncremental
ModifyGimbalStateIncremental(GimbalStateIncremental)
void ModifyGimbalStateIncremental(GimbalStateIncremental change)
Parameters
change GimbalStateIncremental
RefreshShot()
ResetGimbalAndCamera(GimbalState, bool)
void ResetGimbalAndCamera(GimbalState state, bool shouldLerp = false)
Parameters
state GimbalState
shouldLerp bool
ResetGimbalAndCamera(bool)
void ResetGimbalAndCamera(bool shouldLerp = false)
Parameters
shouldLerp bool
SetCameraFieldOfView(double)
void SetCameraFieldOfView(double fieldOfView)
Parameters
fieldOfView double
SetCameraIsOrthographic(bool)
void SetCameraIsOrthographic(bool isOrthographic)
Parameters
isOrthographic bool
void SetCameraOrbitTarget(Transform newTransform)
Parameters
newTransform Transform
SetCameraOrthographicSize(double)
void SetCameraOrthographicSize(double orthographicSize)
Parameters
orthographicSize double
SetDefaultGimbalState(GimbalState)
void SetDefaultGimbalState(GimbalState gimbalState)
Parameters
gimbalState GimbalState
SetGimbalRotationProvider(IDynamicFrameRotationProvider)
void SetGimbalRotationProvider(IDynamicFrameRotationProvider rotationProvider)
Parameters
rotationProvider IDynamicFrameRotationProvider
SetGimbalState(GimbalState, bool)
void SetGimbalState(GimbalState state, bool shouldLerp = false)
Parameters
state GimbalState
shouldLerp bool
void SetTargetGimbalTransform(Position targetPosition, Rotation targetRotation, bool shouldLerp = false)
Parameters
targetPosition Position
targetRotation Rotation
shouldLerp bool
SetTweakablesOverride(ICameraTweakablesProvider)
void SetTweakablesOverride(ICameraTweakablesProvider tweakablesOverride)
Parameters
tweakablesOverride ICameraTweakablesProvider
void UpdateShot(double universeDeltaTime, CameraInputState newInputs)
Parameters
universeDeltaTime double
newInputs CameraInputState