ModelAssetsEvent

Triggered when model assets are being gathered.

This event allows plugins to register custom ModelAssets to be loaded by the engine.

Since

2.0.0

Parameters

type

the renderer type

assets

the set of assets to be loaded

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun addAsset(@NotNull asset: @NotNull ModelAsset)
Adds a new model asset to the loading queue.
Link copied to clipboard
open fun call(): Boolean
Dispatches this event to the global event bus.
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String