| Package | jiglib.plugin.papervision3d.constraint |
| Class | public class MouseConstraint |
| Method | Defined by | ||
|---|---|---|---|
|
MouseConstraint(mesh:DisplayObject3D, dragNormal:Number3D, camera:CameraObject3D, viewPort:Viewport3D)
Adds mouse drag functionality to a 3d Object
| MouseConstraint | ||
|
destroy():void
Destryss the mouse constraint
| MouseConstraint | ||
| MouseConstraint | () | constructor |
public function MouseConstraint(mesh:DisplayObject3D, dragNormal:Number3D, camera:CameraObject3D, viewPort:Viewport3D)Adds mouse drag functionality to a 3d Object
Parametersmesh:DisplayObject3D — the DisplayObject3D to drag
|
|
dragNormal:Number3D — the normal of the plane to drag the object on
|
|
camera:CameraObject3D — a reference to the camera object
|
|
viewPort:Viewport3D — a reference to the viewport
|
| destroy | () | method |
public function destroy():voidDestryss the mouse constraint