CinemachineBlenderSettings.GetBlendCurveForVirtualCameras Method

Cinemachine

CinemachineBlenderSettingsGetBlendCurveForVirtualCameras Method

Attempts to find a blend curve which matches the to and from cameras as specified. If no match is found, the function returns either the default blend for this Blender or NULL depending on the state of returnDefaultOnNoMatch.

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public AnimationCurve GetBlendCurveForVirtualCameras(
	string fromCameraName,
	string toCameraName,
	AnimationCurve defaultCurve
)
function GetBlendCurveForVirtualCameras(fromCameraName, toCameraName, defaultCurve);

Parameters

fromCameraName
Type: SystemString
The game object name of the from camera
toCameraName
Type: SystemString
The game object name of the to camera
defaultCurve
Type: AnimationCurve
Curve to return if no curve found. Can be NULL.

Return Value

Type: AnimationCurve

[Missing <returns> documentation for "M:Cinemachine.CinemachineBlenderSettings.GetBlendCurveForVirtualCameras(System.String,System.String,UnityEngine.AnimationCurve)"]

See Also