In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
-visible(-v)
|
boolean
|
![create create](../gfx/create.gif)
|
|
Shows/hides the view manip.
|
|
-topRight(-tr)
|
|
![create create](../gfx/create.gif)
|
|
Positions the cube in the top right of the screen.
|
|
-bottomRight(-br)
|
|
![create create](../gfx/create.gif)
|
|
Positions the cube in the bottom right of the screen.
|
|
-topLeft(-tl)
|
|
![create create](../gfx/create.gif)
|
|
Positions the cube in the top left of the screen.
|
|
-bottomLeft(-bl)
|
|
![create create](../gfx/create.gif)
|
|
Positions the cube in the bottom left of the screen.
|
|
-size(-s)
|
string
|
![create create](../gfx/create.gif)
|
|
Set or query the size of the View Cube, which can be one of "tiny",
"small", "normal", "large" or "auto". When set to "auto" the View Cube
will be automatically set to the size most appropriate for the view.
|
|
-minOpacity(-mo)
|
float
|
![create create](../gfx/create.gif)
|
|
Opacity level (in range [0,1]) on view cube when the cursor is away from it (it is fully opaque when the cursor is in the view cube area).
|
|
-dragSnap(-ds)
|
boolean
|
![create create](../gfx/create.gif)
|
|
Enable snapping of orbit direction to view cube part directions during drag operation.
|
|
-zoomToFitScene(-zf)
|
boolean
|
![create create](../gfx/create.gif)
|
|
Zoom the camera during animated transitions to fit the scene object in the viewport.
|
|
-drawCompass(-dc)
|
boolean
|
![create create](../gfx/create.gif)
|
|
Show compass below the view cube.
|
|
-compassAngle(-ca)
|
float
|
![create create](../gfx/create.gif)
|
|
Angle (in degrees) to rotate the compass.
|
|
-levelCamera(-lc)
|
|
|
|
Flattens the camera view rotation relative to the ground plane.
|
|
-restoreCenter(-rc)
|
|
|
|
Repositions the pivot point for orbiting/tumbling the scene to the center
of the scene's bounding box.
|
|
-fitToView(-ftv)
|
|
|
|
Fits the scene bounding box to the active view.
|
|