openrndr / org.openrndr.shape / UserData

UserData

class UserData<T : Any> (source)

UserData delegate

Constructors

<init>

UserData delegate

UserData(name: String, initial: T)

Properties

initial

val initial: T

name

val name: String

Functions

getValue

operator fun getValue(node: CompositionNode, property: KProperty<*>): T

setValue

operator fun setValue(stylesheet: CompositionNode, property: KProperty<*>, value: T): Unit