Skip to content

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.

ArgumentTypeRequiredDescription
displayFocusSphereOnButtonDownYes

setFocusSphereColor ​

Sets the focus sphere color.

ArgumentTypeRequiredDescription
rYes
gYes
bYes

setFocusSphereRadiusFactor ​

Sets the factor scaling the apparent size of the focus sphere.

ArgumentTypeRequiredDescription
focusSphereRadiusFactorYes

setUseHardwareSelector ​

Sets whether the hardware selector is used to pick the down point.

ArgumentTypeRequiredDescription
useHardwareSelectorYes

setUseWorldUpVec ​

Sets whether the camera view up is kept aligned with the world up vector.

ArgumentTypeRequiredDescription
useWorldUpVecYes

setWorldUpVec ​

Sets the world up vector.

ArgumentTypeRequiredDescription
worldUpVecYes

setWorldUpVecFrom ​

Sets the world up vector from another array, without a copy.

ArgumentTypeRequiredDescription
worldUpVecYes