Corgi Engine
v9.0
|
This CinemachineExtension allows you to lock a Cinemachine on one or more axis More...
Public Types | |
enum | Methods { Methods.ForcedPosition, Methods.InitialPosition, Methods.ColliderBoundsCenter, Methods.Collider2DBoundsCenter } |
the possible methods to lock axis on More... | |
Public Attributes | |
bool | LockXAxis = false |
whether or not axis should be locked on X More... | |
bool | LockYAxis = false |
whether or not axis should be locked on Y More... | |
bool | LockZAxis = false |
whether or not axis should be locked on Z More... | |
Methods | Method = Methods.InitialPosition |
the selected method to lock axis on More... | |
Vector3 | ForcedPosition |
the position to lock axis based on More... | |
Collider | TargetCollider |
the collider to lock axis on More... | |
Collider2D | TargetCollider2D |
the 2D collider to lock axis on More... | |
Protected Member Functions | |
virtual void | Start () |
On Start we initialize our forced position based on the selected choice More... | |
override void | PostPipelineStageCallback (CinemachineVirtualCameraBase vcam, CinemachineCore.Stage stage, ref CameraState state, float deltaTime) |
Locks position More... | |
Protected Attributes | |
Vector3 | _forcedPosition |
This CinemachineExtension allows you to lock a Cinemachine on one or more axis
|
protected |
Locks position
vcam | |
stage | |
state | |
deltaTime |
|
protectedvirtual |
On Start we initialize our forced position based on the selected choice
|
protected |
Vector3 MoreMountains.CorgiEngine.CinemachineAxisLocker.ForcedPosition |
the position to lock axis based on
bool MoreMountains.CorgiEngine.CinemachineAxisLocker.LockXAxis = false |
whether or not axis should be locked on X
bool MoreMountains.CorgiEngine.CinemachineAxisLocker.LockYAxis = false |
whether or not axis should be locked on Y
bool MoreMountains.CorgiEngine.CinemachineAxisLocker.LockZAxis = false |
whether or not axis should be locked on Z
Methods MoreMountains.CorgiEngine.CinemachineAxisLocker.Method = Methods.InitialPosition |
the selected method to lock axis on
Collider MoreMountains.CorgiEngine.CinemachineAxisLocker.TargetCollider |
the collider to lock axis on
Collider2D MoreMountains.CorgiEngine.CinemachineAxisLocker.TargetCollider2D |
the 2D collider to lock axis on