new AxPropertyChangeNotifiedMechanism()
Creates a AxPropertyChangeNotifiedMechanism mechanism
The property change notified mechanism processes the AxResource's NotifyPropertiesChange() method on each frame and therefore automatically utilizes the OnPropertiesChanged() and OnPropertyChanged() methods
Methods
Process(deltaTime) → {Boolean}
Performs the routines of the mechanism and returns whether the mechanism should continue to be processed the next frame
Parameters:
Name | Type | Description |
---|---|---|
deltaTime |
Number | The time in milliseconds, between the previous and the current call. Used to perform time based routines |
Returns:
True, if the mechanism hasn't finished its job and should continue to be processed in the next frame
- Type
- Boolean