TimeCycleSplineSet


abstract class TimeCycleSplineSet

Known direct subclasses
TimeCycleSplineSet.CustomSet
TimeCycleSplineSet.CustomVarSet
ViewTimeCycle

This engine allows manipulation of attributes by wave shapes oscillating in time


This engine allows manipulation of attributes by wave shapes oscillating in time

Summary

Constants

const Int
const Int
const Int

Public constructors

Public functions

CurveFit!
Unit
setPoint(position: Int, value: Float, period: Float, shape: Int, offset: Float)
Unit
setType(type: String!)
Unit
setup(curveType: Int)
String!

Protected functions

Float
calcWave(period: Float)
Unit
setStartTime(currentTime: Long)

Constants

CURVE_OFFSET

Added in 1.1.2
protected const val CURVE_OFFSET = 2: Int

CURVE_PERIOD

Added in 1.1.2
protected const val CURVE_PERIOD = 1: Int

CURVE_VALUE

Added in 1.1.2
protected const val CURVE_VALUE = 0: Int

Public constructors

TimeCycleSplineSet

Added in 1.1.2
TimeCycleSplineSet()

Public functions

getCurveFit

Added in 1.1.2
fun getCurveFit(): CurveFit!

setPoint

Added in 1.1.2
fun setPoint(position: Int, value: Float, period: Float, shape: Int, offset: Float): Unit

setType

Added in 1.1.2
fun setType(type: String!): Unit

setup

Added in 1.1.2
fun setup(curveType: Int): Unit

toString

fun toString(): String!

Protected functions

calcWave

Added in 1.1.2
protected fun calcWave(period: Float): Float
Parameters
period: Float

cycles per second

setStartTime

Added in 1.1.2
protected fun setStartTime(currentTime: Long): Unit

Protected properties

mCache

Added in 1.1.2
protected val mCache: Array<Float>!

mContinue

Added in 1.1.2
protected val mContinue: Boolean

mCount

Added in 1.1.2
protected val mCount: Int

mCurveFit

Added in 1.1.2
protected val mCurveFit: CurveFit!

mLastCycle

Added in 1.1.2
protected val mLastCycle: Float

mLastTime

Added in 1.1.2
protected val mLastTime: Long

mTimePoints

Added in 1.1.2
protected val mTimePoints: Array<Int>!

mType

Added in 1.1.2
protected val mType: String!

mValues

Added in 1.1.2
protected val mValues: Array<Array<Float>!>!

mWaveShape

Added in 1.1.2
protected val mWaveShape: Int

sVal2PI

Added in 1.1.2
protected java-static val sVal2PI: Float