Constructor
new ImageArea()
Creates the area with default values.
By default, it's sized and positioned to be attached to the camera, and includes manipulation handles
- Source:
Classes
Methods
attachToCamera(camera)
Attach it to the camera. It does not resize automatically, just sets the parent.
It does not automatically switch to another camera if active camera changes.
Parameters:
Name | Type | Description |
---|---|---|
camera |
currently active camera |
- Source:
attachToHud()
Attach it to the hud. It does not resize automatically, just sets the parent.
- Source:
createHandles()
Creates manipulation handles. Left and right handle resize, and top and bottom move it.
- Source:
detach()
Detach from whatever attached to, i.e. drop it where you stand.
- Source:
dispose()
Clean up.
- Source:
removeHandles()
Removes manipulation handles.
- Source: