CameraState.AddCustomBlendable Method

Cinemachine

CameraStateAddCustomBlendable Method

Add a custom blendable to the pot for eventual application to the camera. The base system manages but otherwise ignores this data - it is intended for extension modules

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public void AddCustomBlendable(
	CameraStateCustomBlendable b
)
function AddCustomBlendable(b);

Parameters

b
Type: CinemachineCameraStateCustomBlendable
The custom blendable to add. If b.m_Custom is the same as an already-added custom blendable, then they will be merged and the weights combined.
See Also