Class CinemachineFixedSignal
A definition of an impulse signal that gets propagated to listeners
Implements
Inherited Members
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
[HelpURL("https://docs.unity3d.com/Packages/com.unity.cinemachine@3.1/manual/CinemachineImpulseFixedSignals.html")]
public class CinemachineFixedSignal : SignalSourceAsset, ISignalSource6D
Fields
XCurve
The raw signal shape along the X axis
Declaration
[Tooltip("The raw signal shape along the X axis")]
[FormerlySerializedAs("m_XCurve")]
public AnimationCurve XCurve
Field Value
Type | Description |
---|---|
AnimationCurve |
YCurve
The raw signal shape along the Y axis
Declaration
[Tooltip("The raw signal shape along the Y axis")]
[FormerlySerializedAs("m_YCurve")]
public AnimationCurve YCurve
Field Value
Type | Description |
---|---|
AnimationCurve |
ZCurve
The raw signal shape along the Z axis
Declaration
[Tooltip("The raw signal shape along the Z axis")]
[FormerlySerializedAs("m_ZCurve")]
public AnimationCurve 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 |
---|---|
float |
Overrides
Methods
GetSignal(float, 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 |
---|---|---|
float | timeSinceSignalStart | The time since in seconds since the start of the signal |
Vector3 | pos | The position impulse signal |
Quaternion | rot | The rotation impulse signal |