Class CinemachineFixedSignal
A definition of an impulse signal that gets propagated to listeners
Inherited Members
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
Namespace: Unity.Cinemachine
Syntax
[HelpURL("https://docs.unity.cn/Packages/com.unity.cinemachine@3.0/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 |
|---|---|
| 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 |