Header menu logo Nu

TransformConstraintTimeline Type

Changes a transform constraint's mixes.

Constructors

Constructor Description

TransformConstraintTimeline(frameCount, bezierCount, transformConstraintIndex)

Full Usage: TransformConstraintTimeline(frameCount, bezierCount, transformConstraintIndex)

Parameters:
    frameCount : int
    bezierCount : int
    transformConstraintIndex : int

frameCount : int
bezierCount : int
transformConstraintIndex : int

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

Full Usage: this.FrameEntries

Returns: int
Modifiers: abstract
Returns: int

this.GetCurveValue

Full Usage: this.GetCurveValue

Parameters:
    rotate : byref<float32>
    x : byref<float32>
    y : byref<float32>
    scaleX : byref<float32>
    scaleY : byref<float32>
    shearY : byref<float32>
    time : float32

rotate : byref<float32>
x : byref<float32>
y : byref<float32>
scaleX : byref<float32>
scaleY : byref<float32>
shearY : byref<float32>
time : float32

this.SetFrame

Full Usage: this.SetFrame

Parameters:
    frame : int - Between 0 and frameCount, inclusive.
    time : float32 - The frame time in seconds.
    mixRotate : float32
    mixX : float32
    mixY : float32
    mixScaleX : float32
    mixScaleY : float32
    mixShearY : float32

Sets the time, rotate mix, translate mix, scale mix, and shear mix for the specified frame.

frame : int

Between 0 and frameCount, inclusive.

time : float32

The frame time in seconds.

mixRotate : float32
mixX : float32
mixY : float32
mixScaleX : float32
mixScaleY : float32
mixShearY : float32

this.TransformConstraintIndex

Full Usage: this.TransformConstraintIndex

Returns: int

The index of the transform constraint in Skeleton.TransformConstraints that will be changed when this timeline is applied.

Returns: int

Type something to start searching.