-
- All Implemented Interfaces:
-
app.rive.runtime.kotlin.core.RefCount
public final class ViewModelNumberProperty extends ViewModelProperty<Float>
A number property of a ViewModelInstance. Use value to mutate the property.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate Floatvalueprivate final <ERROR CLASS>valueFlowprivate final BooleanhasCppObjectprivate AtomicIntegerrefsprivate LongcppPointerprivate final <ERROR CLASS>dependenciesprivate final IntegerrefCount
-
Constructor Summary
Constructors Constructor Description ViewModelNumberProperty(Long unsafeCppPointer)
-
Method Summary
Modifier and Type Method Description final StringgetName()final FloatgetValue()final UnitsetValue(Float value)final <ERROR CLASS>getValueFlow()A flow of the property's value. final BooleangetHasCppObject()final AtomicIntegergetRefs()final UnitsetRefs(AtomicInteger refs)final LonggetCppPointer()final UnitsetCppPointer(Long cppPointer)final <ERROR CLASS>getDependencies()IntegergetRefCount()-
Methods inherited from class app.rive.runtime.kotlin.core.ViewModelNumberProperty
cppHasChanged, cppName -
Methods inherited from class app.rive.runtime.kotlin.core.ViewModelProperty
acquire, cppDelete, release -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ViewModelNumberProperty
ViewModelNumberProperty(Long unsafeCppPointer)
-
-
Method Detail
-
getValueFlow
final <ERROR CLASS> getValueFlow()
A flow of the property's value. Use for observing changes.
-
getHasCppObject
final Boolean getHasCppObject()
-
getRefs
final AtomicInteger getRefs()
-
setRefs
final Unit setRefs(AtomicInteger refs)
-
getCppPointer
final Long getCppPointer()
-
setCppPointer
final Unit setCppPointer(Long cppPointer)
-
getDependencies
final <ERROR CLASS> getDependencies()
-
getRefCount
Integer getRefCount()
-
-
-
-