RiveEvent

open class RiveEvent(unsafeCppPointer: Long, val delay: Float) : NativeObject

A class for Rive events.

Parameters

unsafeCppPointer

Pointer to the C++ counterpart.

See also

Inheritors

Constructors

Link copied to clipboard
constructor(unsafeCppPointer: Long, delay: Float)

Properties

Link copied to clipboard

Getter/Setter for the underlying C++ pointer value.

Link copied to clipboard

Contains all event data.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether this objects underlying pointer is still valid.

Link copied to clipboard

Name of the event.

Link copied to clipboard

Properties attached to the event.

Link copied to clipboard
open val refCount: Int
Link copied to clipboard
override var refs: AtomicInteger
Link copied to clipboard

Type of event.

Functions

Link copied to clipboard
open override fun acquire(): Int

Increments the references for this counter. Cannot be used for initialization - use refs.incrementAndGet instead.

Link copied to clipboard
open fun cppDelete(pointer: Long)
Link copied to clipboard
open override fun release(): Int

Decrements the reference counter.

Link copied to clipboard
open override fun toString(): String