Cinemachine
CinemachineMixingCameraGetWeight Method (CinemachineVirtualCameraBase) |
Get the weight of the child CinemachineVirtualCameraBase.
Namespace: Cinemachine
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public float GetWeight( CinemachineVirtualCameraBase vcam )
function GetWeight(vcam);
Parameters
- vcam
- Type: CinemachineCinemachineVirtualCameraBase
The child camera.
Return Value
Type: SingleThe weight of the camera. Valid only if camera is active and enabled.
See Also