Header menu logo Nu

PhysicsConstraintResetTimeline Type

Resets a physics constraint when specific animation times are reached.

Constructors

Constructor Description

PhysicsConstraintResetTimeline(frameCount, physicsConstraintIndex)

Full Usage: PhysicsConstraintResetTimeline(frameCount, physicsConstraintIndex)

Parameters:
    frameCount : int
    physicsConstraintIndex : int - -1 for all physics constraints in the skeleton.

frameCount : int
physicsConstraintIndex : int

-1 for all physics constraints in the skeleton.

Instance members

Instance member Description

this.Apply

Full Usage: this.Apply

Parameters:
Modifiers: abstract
skeleton : Skeleton
lastTime : float32
time : float32
firedEvents : ExposedList<Event>
alpha : float32
blend : MixBlend
direction : MixDirection

this.FrameCount

Full Usage: this.FrameCount

Returns: int
Modifiers: abstract
Returns: int

this.PhysicsConstraintIndex

Full Usage: this.PhysicsConstraintIndex

Returns: int

The index of the physics constraint in Skeleton.PhysicsConstraints that will be reset when this timeline is applied, or -1 if all physics constraints in the skeleton will be reset.

Returns: int

this.SetFrame

Full Usage: this.SetFrame

Parameters:
    frame : int - Between 0 and frameCount, inclusive.
    time : float32

Sets the time for the specified frame.

frame : int

Between 0 and frameCount, inclusive.

time : float32

Type something to start searching.