Struct CinemachineOrbitalTransposer.Heading
How the "forward" direction is defined. Orbital offset is in relation to the forward direction.
Namespace: Cinemachine
Syntax
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[Serializable]
public struct Heading
Constructors
Heading(CinemachineOrbitalTransposer.Heading.HeadingDefinition, Int32, Single)
Constructor
Declaration
public Heading(CinemachineOrbitalTransposer.Heading.HeadingDefinition def, int filterStrength, float bias)
Parameters
Type | Name | Description |
---|---|---|
CinemachineOrbitalTransposer.Heading.HeadingDefinition | def | |
System.Int32 | filterStrength | |
System.Single | bias |
Fields
m_Bias
Additional Y rotation applied to the target heading. When this value is 0, the camera will be placed behind the target
Declaration
public float m_Bias
Field Value
Type | Description |
---|---|
System.Single |
m_Definition
The method by which the 'default heading' is calculated if recentering to target heading is enabled
Declaration
public CinemachineOrbitalTransposer.Heading.HeadingDefinition m_Definition
Field Value
Type | Description |
---|---|
CinemachineOrbitalTransposer.Heading.HeadingDefinition |
m_VelocityFilterStrength
Size of the velocity sampling window for target heading filter. Used only if deriving heading from target's movement
Declaration
public int m_VelocityFilterStrength
Field Value
Type | Description |
---|---|
System.Int32 |