MouseCameraUnicamRotateManipulator
Introduction
Unicam rotation: the point picked under the cursor becomes the center of a virtual sphere the camera is rotated on, materialized by a focus sphere actor added to the renderer while rotating.
Methods
getDisplayFocusSphereOnButtonDown
Gets whether the focus sphere is displayed on button down.
getDownPoint
Gets the world position picked on the last button down.
getDownPointByReference
Gets the picked world position array by reference.
getFocusSphereColor
Reads the focus sphere color from its property.
getFocusSphereRadiusFactor
Gets the factor scaling the apparent size of the focus sphere.
getState
Gets the current interaction state.
getUseHardwareSelector
Gets whether the hardware selector is used to pick the down point.
getUseWorldUpVec
Gets whether the camera view up is kept aligned with the world up vector.
getWorldUpVec
Gets the world up vector.
getWorldUpVecByReference
Gets the world up vector array by reference.
setDisplayFocusSphereOnButtonDown
Sets whether the focus sphere is displayed on button down.
| Argument | Type | Required | Description |
|---|---|---|---|
displayFocusSphereOnButtonDown | Yes |
setFocusSphereColor
Sets the focus sphere color.
| Argument | Type | Required | Description |
|---|---|---|---|
r | Yes | ||
g | Yes | ||
b | Yes |
setFocusSphereRadiusFactor
Sets the factor scaling the apparent size of the focus sphere.
| Argument | Type | Required | Description |
|---|---|---|---|
focusSphereRadiusFactor | Yes |
setUseHardwareSelector
Sets whether the hardware selector is used to pick the down point.
| Argument | Type | Required | Description |
|---|---|---|---|
useHardwareSelector | Yes |
setUseWorldUpVec
Sets whether the camera view up is kept aligned with the world up vector.
| Argument | Type | Required | Description |
|---|---|---|---|
useWorldUpVec | Yes |
setWorldUpVec
Sets the world up vector.
| Argument | Type | Required | Description |
|---|---|---|---|
worldUpVec | Yes |
setWorldUpVecFrom
Sets the world up vector from another array, without a copy.
| Argument | Type | Required | Description |
|---|---|---|---|
worldUpVec | Yes |