Skip to main content

setViewCubePosition

If the ViewCube.js is included and referenced this method can be used to set the position of the navigation cube on screen.

(Pro version only. Requires RxCore version 37.43 or newer)

Syntax

RxCore.setViewCubePosition(corner, offsetX, offsetY)

Parameters

  • corner: string — "UL" = upper left, "UR" = upper right, "LL" = lower left, "LR" = lower right.
  • offsetX: number — The distance from the corner left or right in pixels.
  • offsetY: number — The distance from the corner top or bottom in pixels.

Returns

  • NA — This method does not return a value.