A container widget for a three dimensional viewport and any associated decoration.
Inherits :
DAZ Script | |
---|---|
Dz3DViewport | get3DViewport () |
DzViewportMgr | getManager () |
DzView | getView () |
Boolean | isCustom () |
void | setView ( DzView view ) |
void | setViewVisible ( Boolean onOff ) |
void | dimensionsChanged () |
void | view3dCurrentDimensionsChanged () |
void | viewChanged ( DzView view ) |
A DzViewport is a widget that consists of a Dz3DViewport, an optional alternate DzView, and an indicator of the viewport's active state (for cases where multiple instances are displayed to the user at the same time).
Dz3DViewport : get3DViewport()
Return Value:
Return Value:
Return Value:
Return Value:
true
if this viewport is custom; otherwise false
.Since:
Sets the alternate view for the viewport; this replaces the 3D viewport while active. Pass in NULL to clear the alternate view and restore the 3D viewport.
Parameter(s):
void : setViewVisible( Boolean onOff )
Sets the visible state of the alternate view for this viewport, if an alternate view has been set.
Parameter(s):
true
, the alternate view (if any) is displayed.See Also:
void : dimensionsChanged()
Signature:“dimensionsChanged()”
Emitted when the dimensions of the viewport has changed.
void : view3dCurrentDimensionsChanged()
Signature:“view3dCurrentDimensionsChanged()”
Emitted when the dimensions of the encapsulated 3D viewport has changed.
void : viewChanged( DzView view )
Signature:“viewChanged(DzView*)”
Emitted when the view has changed (e.g., when switched between the 3D viewport and an alternate view).
Parameter(s):