Cinemachine
CinemachineMixingCameraSetWeight Method (CinemachineVirtualCameraBase, Single) |
Set the weight of the child CinemachineVirtualCameraBase.
Namespace: Cinemachine
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public void SetWeight( CinemachineVirtualCameraBase vcam, float w )
function SetWeight(vcam, w);
Parameters
- vcam
- Type: CinemachineCinemachineVirtualCameraBase
The child camera. - w
- Type: SystemSingle
The weight to set. Can be any non-negative number.
See Also