Talos docs

BlendPoint

Since 0.6
Plain text

Signature

export interface BlendPoint {
  clip: string
  at: number[]
  /** Playback rate of this clip inside the tree, a multiplier. Default 1. */
  speed?: number
  /** The m/s this clip covers at rate 1, for a stride-matched tree, in place of the measured speed. */
  refSpeed?: number
  /** Where this clip's loop begins, a fraction of the clip in 0..1. Default 0. */
  loopStart?: number
  /** Where this clip's loop ends and wraps back to `loopStart`, a fraction in 0..1. Default 1. */
  loopEnd?: number
}

Import: import type { BlendPoint } from "@argus/gameplay"

Members

MemberSignatureDescription
clipclip: string
atat: number[]
speedspeed?: numberPlayback rate of this clip inside the tree, a multiplier. Default 1.
refSpeedrefSpeed?: numberThe m/s this clip covers at rate 1, for a stride-matched tree, in place of the measured speed.
loopStartloopStart?: numberWhere this clip's loop begins, a fraction of the clip in 0..1. Default 0.
loopEndloopEnd?: numberWhere this clip's loop ends and wraps back to loopStart, a fraction in 0..1. Default 1.