Class CinemachineFixedSignal
A definition of an impulse signal that gets propagated to listeners
Namespace: Cinemachine
Syntax
public class CinemachineFixedSignal : SignalSourceAsset, ISignalSource6D
Fields
m_XCurve
The raw signal shape along the X axis
Declaration
public AnimationCurve m_XCurve
Field Value
Type | Description |
---|---|
AnimationCurve |
m_YCurve
The raw signal shape along the Y axis
Declaration
public AnimationCurve m_YCurve
Field Value
Type | Description |
---|---|
AnimationCurve |
m_ZCurve
The raw signal shape along the Z axis
Declaration
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 |