Header menu logo Nu

PhysicsConstraintTimeline Type

The base class for most PhysicsConstraint timelines.

Constructors

Constructor Description

PhysicsConstraintTimeline(frameCount, bezierCount, physicsConstraintIndex, property)

Full Usage: PhysicsConstraintTimeline(frameCount, bezierCount, physicsConstraintIndex, property)

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

frameCount : int
bezierCount : int
physicsConstraintIndex : int

-1 for all physics constraints in the skeleton.

property : Property

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.PhysicsConstraintIndex

Full Usage: this.PhysicsConstraintIndex

Returns: int

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

Returns: int

Type something to start searching.