public readonly record struct MoveTraitsThe numbers a query is scored against, and the limits a move admits to.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ MinRate and MaxRate are what let a set have one clip per gait rather than one every 0.4 m/s. A walk cycle usually reads correctly ±15 %; a stop whose weight lands on a specific frame does not survive any retiming at all, and a move that says so is a move the selector will not stretch.
Fields and properties (7)
public float SpeedWhat it plays at as authored, in metres a second. Zero for a move that goes nowhere.
public float TurnRateHow fast it turns as authored, in radians a second. Signed; positive is left.
public float MinRateThe slowest playback rate it still reads correctly at.
public float MaxRateThe fastest.
public float FootPhaseWhere in normalised time the first foot plants. What a phase sync aligns on.
public float SlowestSpeedThe slowest speed it can be retimed to.
public float FastestSpeedThe fastest.
Methods (2)
public MoveTraits()Creates traits that admit no retiming.
public float RateFor(float speed)The playback rate that would hit a speed, clamped to what the move admits.
Used by (15)
- MoveSelectionBenchmarksVixen.Benchmarks.Animation
- AuthoringTestsVixen.Animation.Tests
- DefaultMoveScorerVixen.Animation
- MoveCandidateVixen.Animation
- MoveCoverageVixen.Animation
- MoveEntryVixen.Animation
- MoveEntryRecordVixen.Animation
- MoveExplanationsVixen.Animation
- MoveSetVixen.Animation
- MoveSetMotionVixen.Animation
- MoveSetTestsVixen.Animation.Tests
- MoveTransitionTestsVixen.Animation.Tests
- QueryMoveSelectorVixen.Animation
- SeamTestsVixen.Animation.Tests
- MoveSetImporterTestsVixen.Editor.Assets.Tests