@thejsngin/standard-assets / Modules / renderer/type
Module: renderer/type
Table of contents
Type Aliases
Events
Type Aliases
rendererResourceType
Ƭ rendererResourceType: THREE.WebGLRenderer
renderer resource. Stored added at gameInstance.store.renderer
.
Defined in
Events
afterRenderEvent
Ƭ afterRenderEvent: Object
Fired after each render.
Type declaration
Name | Type |
---|---|
data | [] |
eventLevel | ["game" ] |
name | "afterRender" |
returnVal | any [] |
waitForCompletion | true |
Defined in
beforeRenderEvent
Ƭ beforeRenderEvent: Object
Fired before each render.
Type declaration
Name | Type |
---|---|
data | [] |
eventLevel | ["game" ] |
name | "beforeRender" |
returnVal | any [] |
waitForCompletion | true |
Defined in
renderEvent
Ƭ renderEvent: Object
Fired in parallel to the render.
Type declaration
Name | Type |
---|---|
data | [] |
eventLevel | ["game" ] |
name | "render" |
returnVal | any [] |
waitForCompletion | false |
Defined in
rendererResizeEvent
Ƭ rendererResizeEvent: Object
Fired before render, only if the dimenstions change.
Type declaration
Name | Type |
---|---|
data | [{ x : number ; y : number }] |
eventLevel | ["game" ] |
name | "rendererResize" |
returnVal | any [] |
waitForCompletion | true |