FilamentEffectScope

Properties

Link copied to clipboard
abstract val engine: Engine
Link copied to clipboard
abstract val scene: Scene

Functions

Link copied to clipboard
abstract fun onDispose(block: () -> Unit)

Register a callback to run when this effect is disposed (effect re-keyed or removed).

Link copied to clipboard
abstract fun onFrame(block: (FrameInfo) -> Unit)

Register a per-frame callback driven by OnFrame (once per display refresh). Replaces any previously registered frame callback for this effect. The FrameInfo carries delta and elapsed time.