Interface: MaterialExtPrototype
Patch.MaterialExtPrototype
Represents the prototype for extended Material functionality.
Methods
tween
▸ tween<T>(id?): Tween<T>
Initiates a Tween animation for the material.
Type parameters
| Name | Type | Description |
|---|---|---|
T | extends MaterialExtPrototype<T> | The type of the target. |
Parameters
| Name | Type | Description |
|---|---|---|
id? | string | Unique identifier. If you start a new tween, the old one with the same id (if specified) will be stopped. |
Returns
Tween<T>
A Tween instance for further configuration.