Interface: ITextureUtil
Core-API.ITextureUtil
Utils
Hierarchy
IEventDispatcher
<void
>↳
ITextureUtil
Methods
addEventListener
▸ addEventListener(type
, listener
): void
Adds a listener to an event type.
Parameters
Name | Type | Description |
---|---|---|
type | void | The type of event to listen to. |
listener | (event : IEvent <void >) => void | The function that gets called when the event is fired. |
Returns
void
Inherited from
IEventDispatcher.addEventListener
Defined in
webgi/src/helpers/EventDispatcher.ts:14
hasEventListener
▸ hasEventListener(type
, listener
): boolean
Checks if listener is added to an event type.
Parameters
Name | Type | Description |
---|---|---|
type | void | The type of event to listen to. |
listener | (event : IEvent <void >) => void | The function that gets called when the event is fired. |
Returns
boolean
Inherited from
IEventDispatcher.hasEventListener
Defined in
webgi/src/helpers/EventDispatcher.ts:21
removeEventListener
▸ removeEventListener(type
, listener
): void
Removes a listener from an event type.
Parameters
Name | Type | Description |
---|---|---|
type | void | The type of the listener that gets removed. |
listener | (event : IEvent <void >) => void | The listener function that gets removed. |
Returns
void
Inherited from
IEventDispatcher.removeEventListener
Defined in
webgi/src/helpers/EventDispatcher.ts:28
dispatchEvent
▸ dispatchEvent(event
): void
Fire an event type.
Parameters
Name | Type |
---|---|
event | IEvent <void > |
Returns
void
Inherited from
IEventDispatcher.dispatchEvent
Defined in
webgi/src/helpers/EventDispatcher.ts:34
Properties
instance
• instance: ITextureUtil