@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
17 lines (16 loc) • 537 B
JavaScript
export const MeshEvents = {
/**
* When asset is attached/loaded onto the Mesh component.
* This is the time when the 3d data becomes renderable
* Respective stateful check can be performed via {@link Mesh#isLoaded}
*/
AssetLoaded: '@ecd-component-Mesh/asset-attached',
/**
* When mesh is set
*/
DataSet: '@ecd-component-Mesh/model-mesh-set',
/**
* Required asset failed to load for whatever reason
*/
AssetLoadFailed: '@ecd-component-Mesh/asset-failed',
};