abstract class KeyCycleOscillator

Known direct subclasses
KeyCycleOscillator.PathRotateSet
ViewOscillator

Provide the engine for executing cycles.


Provide the engine for executing cycles. KeyCycleOscillator

Summary

Public constructors

Public functions

Float
get(t: Float)
CurveFit!
Float
getSlope(position: Float)
java-static KeyCycleOscillator!
makeWidgetCycle(attribute: String!)
Unit
setPoint(
    framePosition: Int,
    shape: Int,
    waveString: String!,
    variesBy: Int,
    period: Float,
    offset: Float,
    phase: Float,
    value: Float
)

sets a oscillator wave point

Unit
setPoint(
    framePosition: Int,
    shape: Int,
    waveString: String!,
    variesBy: Int,
    period: Float,
    offset: Float,
    phase: Float,
    value: Float,
    custom: Any!
)

sets a oscillator wave point

Unit
setProperty(widget: MotionWidget!, t: Float)
Unit
setType(type: String!)
Unit
setup(pathLength: Float)
String!
Boolean

Protected functions

Unit
setCustom(custom: Any!)

Public properties

Int

Public constructors

KeyCycleOscillator

Added in 1.1.0-alpha13
KeyCycleOscillator()

Public functions

get

Added in 1.1.0-alpha13
fun get(t: Float): Float

getCurveFit

Added in 1.1.0-alpha13
fun getCurveFit(): CurveFit!

getSlope

Added in 1.1.0-alpha13
fun getSlope(position: Float): Float

makeWidgetCycle

Added in 1.1.0-alpha13
java-static fun makeWidgetCycle(attribute: String!): KeyCycleOscillator!

setPoint

Added in 1.1.0-alpha13
fun setPoint(
    framePosition: Int,
    shape: Int,
    waveString: String!,
    variesBy: Int,
    period: Float,
    offset: Float,
    phase: Float,
    value: Float
): Unit

sets a oscillator wave point

Parameters
framePosition: Int

the position

variesBy: Int

only varies by path supported for now

period: Float

the period of the wave

offset: Float

the offset value

value: Float

the adder

setPoint

Added in 1.1.0-alpha13
fun setPoint(
    framePosition: Int,
    shape: Int,
    waveString: String!,
    variesBy: Int,
    period: Float,
    offset: Float,
    phase: Float,
    value: Float,
    custom: Any!
): Unit

sets a oscillator wave point

Parameters
framePosition: Int

the position

variesBy: Int

only varies by path supported for now

period: Float

the period of the wave

offset: Float

the offset value

value: Float

the adder

custom: Any!

The ConstraintAttribute used to set the value

setProperty

Added in 1.1.0-alpha13
fun setProperty(widget: MotionWidget!, t: Float): Unit

setType

Added in 1.1.0-alpha13
fun setType(type: String!): Unit

setup

Added in 1.1.0-alpha13
fun setup(pathLength: Float): Unit

toString

fun toString(): String!

variesByPath

Added in 1.1.0-alpha13
fun variesByPath(): Boolean

Protected functions

setCustom

Added in 1.1.0-alpha13
protected fun setCustom(custom: Any!): Unit

Public properties

mVariesBy

Added in 1.1.0-alpha13
val mVariesByInt