Checking stuff
@@ -187,11 +187,10 @@ Register a listener for when a reference property updates in a scene change. The
|
|||||||
api.onReferencePropertyChange(propertyId, callback);
|
api.onReferencePropertyChange(propertyId, callback);
|
||||||
```
|
```
|
||||||
|
|
||||||
| Argument | Type | Description |
|
| Argument | Type | Description |
|
||||||
| ---------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
|
| ---------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| propertyId | string | The property ID that the listener will receive. |
|
| propertyId | string | The property ID that the listener will receive. |
|
||||||
| callback | ( value:any, transitionDuration:number ):void | Function that receives the new property value.<br> <br>**transitionDuration** The duration in milliseconds the transition should be. |
|
| callback | ( property:Property, transitionDuration:number ):void | Callback for when the reference property value changes. <table><tr><td>**property**</td><td>[Property](./ModuleClientAPIProperty)</td><td>Property instance.</td></tr><tr><td>**transitionDuration**</td><td>number</td><td>The duration in milliseconds the transition should be.</td></tr></table> |
|
||||||
| kaas | k | <table><tr><td>**value**</td><td>any</td><td>The changed value of the property.</td></tr></table> |
|
|
||||||
|
|
||||||
### getReferenceProperties
|
### getReferenceProperties
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user