Class CinemachineFixedSignal
A definition of an impulse signal that gets propagated to listeners
Inherited Members
Namespace: Cinemachine
Syntax
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.cinemachine@2.8/manual/CinemachineImpulseFixedSignals.html")]
public class CinemachineFixedSignal : SignalSourceAsset, ISignalSource6D
Fields
m_XCurve
The raw signal shape along the X axis
Declaration
[Tooltip("The raw signal shape along the X axis")]
public AnimationCurve m_XCurve
Field Value
Type | Description |
---|---|
AnimationCurve |
m_YCurve
The raw signal shape along the Y axis
Declaration
[Tooltip("The raw signal shape along the Y axis")]
public AnimationCurve m_YCurve
Field Value
Type | Description |
---|---|
AnimationCurve |
m_ZCurve
The raw signal shape along the Z axis
Declaration
[Tooltip("The raw signal shape along the Z axis")]
public AnimationCurve m_ZCurve
Field Value
Type | Description |
---|---|
AnimationCurve |
Properties
SignalDuration
Returns the length on seconds of the signal.
Returns 0 for signals of indeterminate length.
Declaration
public override float SignalDuration { get; }
Property Value
Type | Description |
---|---|
Single |
Overrides
Methods
GetSignal(Single, out Vector3, out Quaternion)
Get the raw signal at this time
Declaration
public override void GetSignal(float timeSinceSignalStart, out Vector3 pos, out Quaternion rot)
Parameters
Type | Name | Description |
---|---|---|
Single | timeSinceSignalStart | The time since in seconds since the start of the signal |
Vector3 | pos | The position impulse signal |
Quaternion | rot | The rotation impulse signal |