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.0-alpha13
protected const val CURVE_OFFSET = 2: Int

CURVE_PERIOD

Added in 1.1.0-alpha13
protected const val CURVE_PERIOD = 1: Int

CURVE_VALUE

Added in 1.1.0-alpha13
protected const val CURVE_VALUE = 0: Int

Public constructors

TimeCycleSplineSet

Added in 1.1.0-alpha13
TimeCycleSplineSet()

Public functions

getCurveFit

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

setPoint

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

setType

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

setup

Added in 1.1.0-alpha13
fun setup(curveType: Int): Unit

toString

fun toString(): String!

Protected functions

calcWave

Added in 1.1.0-alpha13
protected fun calcWave(period: Float): Float
Parameters
period: Float

cycles per second

setStartTime

Added in 1.1.0-alpha13
protected fun setStartTime(currentTime: Long): Unit

Protected properties

mCache

Added in 1.1.0-alpha13
protected val mCacheFloatArray<Float>!

mContinue

Added in 1.1.0-alpha13
protected val mContinueBoolean

mCount

Added in 1.1.0-alpha13
protected val mCountInt

mCurveFit

Added in 1.1.0-alpha13
protected val mCurveFitCurveFit!

mLastCycle

Added in 1.1.0-alpha13
protected val mLastCycleFloat

mLastTime

Added in 1.1.0-alpha13
protected val mLastTimeLong

mTimePoints

Added in 1.1.0-alpha13
protected val mTimePointsIntArray<Int>!

mType

Added in 1.1.0-alpha13
protected val mTypeString!

mValues

Added in 1.1.0-alpha13
protected val mValuesArray<FloatArray<Float>!>!

mWaveShape

Added in 1.1.0-alpha13
protected val mWaveShapeInt

sVal2PI

Added in 1.1.0-alpha13
protected java-static val sVal2PIFloat