Struct CinemachineBlendDefinition
Definition of a Camera blend. This struct holds the information necessary to generate a suitable AnimationCurve for a Cinemachine Blend.
Inherited Members
Namespace: Cinemachine
Assembly: solution.dll
Syntax
[Serializable]
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
public struct CinemachineBlendDefinition
Constructors
Name | Description |
---|---|
CinemachineBlendDefinition(Style, float) | Constructor |
Fields
Name | Description |
---|---|
m_CustomCurve | A user-defined AnimationCurve, used only if style is Custom. Curve MUST be normalized, i.e. time range [0...1], value range [0...1]. |
m_Style | The shape of the blend curve. |
m_Time | The duration (in seconds) of the blend |
Properties
Name | Description |
---|---|
BlendCurve | A normalized AnimationCurve specifying the interpolation curve for this camera blend. Y-axis values must be in range [0,1] (internally clamped within Blender) and time must be in range of [0, 1]. |