Struct RootMotionOptions
Options for applying root motion
Syntax
[Serializable]
public struct RootMotionOptions : IEquatable<RootMotionOptions>
Fields
BankPivot
Declaration
[Tooltip("Whether to apply bank pivots to root motion")]
public bool BankPivot
Field Value
CycleRootMotion
Declaration
[Tooltip("Whether to cycle the root motion on a looped clip")]
public bool CycleRootMotion
Field Value
RemoveStartOffset
Declaration
[Tooltip("Whether to remove initial root transform translation and rotation offsets from the animation data.")]
public bool RemoveStartOffset
Field Value
RootMotionNode
Declaration
[Delayed]
[Tooltip("The bone path that defines the root motion")]
public string RootMotionNode
Field Value
SampleRate
Declaration
[Tooltip("The frame rate of the generated root motion clip")]
public RootMotionOptions.RootClipSampleRate SampleRate
Field Value
Methods
Create()
Declaration
public static RootMotionOptions Create()
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Equals(RootMotionOptions)
Declaration
public bool Equals(RootMotionOptions other)
Parameters
Returns
GetClipConfiguration(ClipConfiguration)
Declaration
public ClipConfiguration GetClipConfiguration(ClipConfiguration config)
Parameters
Type |
Name |
Description |
Unity.Animation.ClipConfiguration |
config |
|
Returns
Type |
Description |
Unity.Animation.ClipConfiguration |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides