class VelocityMatrix


This is used to calculate the related velocity matrix for a post layout matrix

Summary

Public constructors

Public functions

Unit
applyTransform(
    locationX: Float,
    locationY: Float,
    width: Int,
    height: Int,
    mAnchorDpDt: FloatArray!
)

Apply the transform a velocity vector

Unit
Unit
Unit
setRotationVelocity(rot: SplineSet!, position: Float)
Unit
setScaleVelocity(
    oscSx: KeyCycleOscillator!,
    oscSy: KeyCycleOscillator!,
    position: Float
)
Unit
setScaleVelocity(scaleX: SplineSet!, scaleY: SplineSet!, position: Float)
Unit
setTranslationVelocity(
    oscX: KeyCycleOscillator!,
    oscY: KeyCycleOscillator!,
    position: Float
)
Unit
setTranslationVelocity(
    transX: SplineSet!,
    transY: SplineSet!,
    position: Float
)

Public constructors

VelocityMatrix

Added in 1.1.0
VelocityMatrix()

Public functions

applyTransform

Added in 1.1.0
fun applyTransform(
    locationX: Float,
    locationY: Float,
    width: Int,
    height: Int,
    mAnchorDpDt: FloatArray!
): Unit

Apply the transform a velocity vector

clear

Added in 1.1.0
fun clear(): Unit

setRotationVelocity

Added in 1.1.0
fun setRotationVelocity(oscR: KeyCycleOscillator!, position: Float): Unit

setRotationVelocity

Added in 1.1.0
fun setRotationVelocity(rot: SplineSet!, position: Float): Unit

setScaleVelocity

Added in 1.1.0
fun setScaleVelocity(
    oscSx: KeyCycleOscillator!,
    oscSy: KeyCycleOscillator!,
    position: Float
): Unit

setScaleVelocity

Added in 1.1.0
fun setScaleVelocity(scaleX: SplineSet!, scaleY: SplineSet!, position: Float): Unit

setTranslationVelocity

Added in 1.1.0
fun setTranslationVelocity(
    oscX: KeyCycleOscillator!,
    oscY: KeyCycleOscillator!,
    position: Float
): Unit

setTranslationVelocity

Added in 1.1.0
fun setTranslationVelocity(
    transX: SplineSet!,
    transY: SplineSet!,
    position: Float
): Unit