This event is continuously fired while a model instance is being dragged in the 3d scene

You can select certain objects to be draggable within your 3d scene. As soon as a user starts to drag or rotate such an object in the scene, this event gets fired every time there is any change in the orientation of the model. Generally this means the event is fired every time a frame is being rendered which is generally 30 times a second. It is important you keep the amount of computations within this event to a minimum so as not to slow down the rendering.

Syntax:

onModelDrag(model modelobject)
Parameters:
modelobject

The model class object that has been clicked

See also:

Class arcticShell | Class model |

 

©2000 arcticpigs. All rights reserved.
This is a draft version! The functionality of parts of the software are liable to change.