CinemachineBlendDefinition Structure

Cinemachine

CinemachineBlendDefinition Structure

Definition of a Camera blend. This struct holds the information necessary to generate a suitable AnimationCurve for a Cinemachine Blend.

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
[SerializableAttribute]
[DocumentationSortingAttribute(10.2f, DocumentationSortingAttributeLevel.UserRef)]
public struct CinemachineBlendDefinition
JavaScript supports the use of structures, but not the declaration of new ones.

The CinemachineBlendDefinition type exposes the following members.

Constructors
  NameDescription
Public methodCinemachineBlendDefinition
Constructor
Top
Properties
  NameDescription
Public propertyBlendCurve
An AnimationCurve specifying the interpolation duration and value for this camera blend. The time of the last key frame is assumed to the be the duration of the blend. Y-axis values must be in range [0,1] (internally clamped within Blender) and time must be in range of [0, +infinity)
Top
Fields
  NameDescription
Public fieldm_Style
The shape of the blend curve.
Public fieldm_Time
The duration (in seconds) of the blend
Top
See Also