stereoCameraView is undoable, queryable, and editable.
Create, edit or query a model editor.
In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
|
-activeComponentsXray(-acx)
|
boolean
|
|
|
Turns on or off Xray mode for active components.
|
|
-activeCustomEnvironment(-ace)
|
string
|
|
|
Specifies a path to an image file to be used as environment map.
It is only enabled when a valid scene render filter is specified.
|
|
-activeCustomGeometry(-acg)
|
string
|
|
|
Specifies an identifier for custom geometry to override the geometry
to display. It is only enabled when a valid scene render filter is specified.
|
|
-activeCustomLighSet(-acl)
|
string
|
|
|
Specifies an identifier for the light set to use
with a scene render filter. It is only enabled when a valid scene render filter is specified.
|
|
-activeCustomOverrideGeometry(-aog)
|
string
|
|
|
Specifies an identifier for an override on the custom geometry for a scene
render filter.
|
|
-activeCustomRenderer(-acr)
|
string
|
|
|
Specifies an identifier for custom renderer to use when
a valid scene render filter is also specified.
|
|
-activeOnly(-ao)
|
boolean
|
|
|
Sets whether only active objects should appear shaded in
shaded display.
|
|
-activeShadingGraph(-asg)
|
string
|
|
|
Specifies the shading graph to use to override material display.
Only enabled when a valid scene render filter is specified.
|
|
-activeSupported(-ams)
|
|
|
|
True if the viewer is capable of drawing in active mode which takes
advantage of the graphics card's built-in stereoscopic support. This
includes support for shutter glasses and stereo support in clone mode.
|
|
-activeView(-av)
|
|
|
|
Sets this model editor to be the active view. Returns true
if successful. On query this flag will return whether the view is
the active view.
|
|
-addObjects(-aob)
|
string
|
|
|
This flag causes the objects contained within the selection
connection to be added to the list of objects visible in the view
(if viewSelected is true).
|
|
-addSelected(-as)
|
|
|
|
This flag causes the currently active objects to be added
to the list of objects visible in the view (if viewSelected is true).
|
|
-allObjects(-alo)
|
boolean
|
|
|
Turn on/off the display of all objects for the view of
the model editor. This excludes NURBS, CVs, hulls, grids and
manipulators.
|
|
-backfaceCulling(-bfc)
|
boolean
|
|
|
Turns on or off backface culling for the whole view. This
setting overrides the culling settings of individual objects. All
objects draw in the view will be backface culled. When backface
culling is turned on, surfaces becomes invisible in areas where the
normal is pointing away from the camera.
|
|
-bluePencil(-bp)
|
boolean
|
|
|
Define whether the blue pencil should be added or not
|
|
-bufferMode(-bm)
|
string
|
|
|
Deprecated: this is not supported in Viewport 2.0. Sets the
graphic buffer mode. Possible values are "single" or "double".
|
|
-bumpResolution(-brz)
|
uint uint
|
|
|
Set the resolution for "baked" bump map textures when using the
hardware renderer. The default value is 512, 512 respectively.
|
|
-camera(-cam)
|
string
|
|
|
Change or query the name of the camera in model editor.
|
|
-cameraName(-cn)
|
string
|
|
|
Set the name of the panel's camera transform and shape. The
shape name is computed by appending the string "Shape" to the
transform name. This flag may not be queried.
|
|
-cameraSet(-cst)
|
string
|
|
|
-cameraSetup(-cs)
|
|
|
|
Based on the model editor name passed in will
returns a string list containing camera setups.
A camera setup can contain one or more cameras
which are associated with each other.
Camera setups are defined as pairs of consecutive
strings in the list. Each pair is comprised of:
a string which identifies an active camera,
and a string which defines a script
to set up a given active camera. As many pairs of strings
can be returned as the number of active cameras. If nothing
is returned then it is assumed that no set up is
required to activate a given camera.
|
|
-cameras(-ca)
|
boolean
|
|
|
Turn on/off the display of cameras for the view of the
model editor.
|
|
-capture(-cpt)
|
string
|
|
|
Perform an one-time capture of the viewport to the named image file on disk.
|
|
-captureSequenceNumber(-csn)
|
int
|
|
|
When a number greater or equal to 0 is specified each subsequent refresh will
save an image file to disk if the capture flag has been enabled.
The naming of the file is:
{root name}.#.{extension}
if the name {root name}.{extension} is used for the capture flag argument.
The value of # starts at the number specified to for this argument and
increments for each subsequent refresh.
Sequence capture can be disabled by specifying a number less than 0 or an
empty file name for the capture flag.
|
|
-centerCamera(-ccm)
|
string
|
|
|
Only available in query mode: returns the current center camera of this view.
|
|
-colorMap(-cm)
|
|
|
|
Queries the color map style for the model panel. Possible
values are "colorIndex" and "rgb".
|
|
-colorResolution(-crz)
|
uint uint
|
|
|
Set the resolution for "baked" color textures when using the
hardware renderer. The default value is 256, 256 respectively.
|
|
-control(-ctl)
|
|
|
|
Query only. Returns the top level control for this editor.
Usually used for getting a parent to attach popup menus.
Caution: It is possible for an editor to exist without a
control. The query will return "NONE" if no control is present.
|
|
-controlVertices(-cv)
|
boolean
|
|
|
Turn on/off the display of NURBS CVs for the view of the
model editor.
|
|
-cullingOverride(-cov)
|
string
|
|
|
Set whether to override the culling attributes on objects when using
the hardware renderer. The options are:
- "none" : Use the culling object attributes per object.
- "doubleSided" : Force all objects to be double sided.
- "singleSided": Force all objects to be single sided.
The default value is "none".
|
|
-default(-d)
|
|
|
|
Causes this command to modify the default value of this setting.
Newly created model editors will inherit the values. This flag may
be used with the -interactive to set default interactive settings.
|
|
-defineTemplate(-dt)
|
string
|
|
|
Puts the command in a mode where any other flags and arguments are
parsed and added to the command template specified in the argument.
They will be used as default arguments in any subsequent
invocations of the command when templateName is set as the
current template.
|
|
-deformers(-df)
|
boolean
|
|
|
Turn on/off the display of deformer objects for the view
of the model editor.
|
|
-dimensions(-dim)
|
boolean
|
|
|
Turn on/off the display of dimension objects for the view
of the model editor.
|
|
-displayAppearance(-da)
|
string
|
|
|
Sets the display appearance of the model panel. Possible
values are "wireframe", "points", "boundingBox", "smoothShaded",
"flatShaded". This flag may be used with the -interactive
and -default flags. Note that only "wireframe", "points", and
"boundingBox" are valid for the interactive mode.
|
|
-displayLights(-dl)
|
string
|
|
|
Sets the lighting for shaded mode. Possible values are
"selected", "active", "all", "default", "none".
|
|
-displayMode(-dm)
|
string
|
|
|
Defines the display mode for this view. Some modes are available
only for certain types of graphics hardware. Valid values are:
- active: uses the graphics card's built-in stereoscopic mode is available
- leftEye: displays only the view from the left camera.
- rightEye: displays only the view from the rigth camera.
- centerEye: displays only the view from the center camera.
- anaglyph: displays both left and right cameras, filtered using
red and blue
- anaglyphLum: same as anaglyph, except the luminance is computed
before the red and blue filtering
- interlace: displays an interlaced view of left and right cameras
- checkerboard: Same as interlace, except a checkerboard pattern is
used to mix both images
- freeview: displays both left and right images, half size next to
each other
- freeviewX: same as freeview, except left and right cameras are swapped
|
|
-displayTextures(-dtx)
|
boolean
|
|
|
Turns on or off display of textures in shaded mode
|
|
-docTag(-dtg)
|
string
|
|
|
Attaches a tag to the editor.
|
|
-dynamicConstraints(-dc)
|
boolean
|
|
|
Turn on/off the display of dynamicConstraints for the view
of the model editor.
|
|
-dynamics(-dy)
|
boolean
|
|
|
Turn on/off the display of dynamics objects for the view
of the model editor.
|
|
-editorChanged(-ec)
|
script
|
|
|
An optional script callback which is called when the editors
options have changed. This is useful in a situation where a scripted
panel contains a modelEditor and wants to be notified when the contained
editor changes its options.
|
|
-exists(-ex)
|
|
|
|
Returns whether the
specified object exists or not. Other flags are ignored.
|
|
-filter(-f)
|
string
|
|
|
Specifies the name of an itemFilter object to be used with this editor.
This filters the information coming onto the main list
of the editor.
|
|
-filteredObjectList(-fol)
|
|
|
|
For model editors with filtering on (either using an object filter, or isolate
select), this flag returns a string list of the objects which are displayed in
this editor. Note that this list does not take into account visibility (based on
camera frustum or flags), it purely captures the objects which are considered
when rendering the view.
|
|
-fluids(-fl)
|
boolean
|
|
|
Turn on/off the display of fluids for the view
of the model editor.
|
|
-fogColor(-fcl)
|
float float float float
|
|
|
The color used for hardware fogging.
|
|
-fogDensity(-fdn)
|
float
|
|
|
Determines the density of hardware fogging.
|
|
-fogEnd(-fen)
|
float
|
|
|
The end location of hardware fogging.
|
|
-fogMode(-fmd)
|
string
|
|
|
This determines the drop-off mode for fog. The possibilities are:
- "linear" : linear drop-off
- "exponent" : exponential drop-off
- "exponent2" : squared exponential drop-off
|
|
-fogSource(-fsc)
|
string
|
|
|
Set the type of fog algorithm to use. If the argument
is "fragment" (default) then fog is computed per pixel. If
the argument is "coordinate" then if the geometry has
specified vertex fog coordinates, and the OpenGL extension
for vertex fog is supported by the graphics system, then
fog is computed per vertex.
|
|
-fogStart(-fst)
|
float
|
|
|
The start location of hardware fogging.
|
|
-fogging(-fg)
|
boolean
|
|
|
Set whether hardware fogging is enabled or not.
|
|
-follicles(-fo)
|
boolean
|
|
|
Turn on/off the display of follicles for the view
of the model editor.
|
|
-forceMainConnection(-fmc)
|
string
|
|
|
Specifies the name of a selectionConnection object that the
editor will use as its source of content. The editor will only
display items contained in the selectionConnection object. This is
a variant of the -mainListConnection flag in that it will force a
change even when the connection is locked. This flag is used to
reduce the overhead when using the -unlockMainConnection
, -mainListConnection, -lockMainConnection flags in immediate
succession.
|
|
-grid(-gr)
|
boolean
|
|
|
Turn on/off the display of the grid for the view of the
model editor.
|
|
-hairSystems(-hs)
|
boolean
|
|
|
Turn on/off the display of hairSystems for the view
of the model editor.
|
|
-handles(-ha)
|
boolean
|
|
|
Turn on/off the display of select handles for the view
of the model editor.
|
|
-headsUpDisplay(-hud)
|
boolean
|
|
|
Sets whether the model panel will draw any enabled heads up
display elements in this window (if true). Currently this requires
the HUD elements to be globally enabled.
|
|
-height(-h)
|
|
|
|
Return the height of the associated viewport in pixels
|
|
-highlightConnection(-hlc)
|
string
|
|
|
Specifies the name of a selectionConnection object that
the editor will synchronize with its highlight list. Not all
editors have a highlight list. For those that do, it is a secondary
selection list.
|
|
-hulls(-hu)
|
boolean
|
|
|
Turn on/off the display of NURBS hulls for the view of the
model editor.
|
|
-ignorePanZoom(-ipz)
|
boolean
|
|
|
Sets whether the model panel will ignore the 2D pan/zoom value to
give an overview of the scene.
|
|
-ikHandles(-ikh)
|
boolean
|
|
|
Turn on/off the display of ik handles and end effectors
for the view of the model editor.
|
|
-imagePlane(-imp)
|
boolean
|
|
|
Turn on/off the display of image plane for the view
|
|
-interactive(-i)
|
|
|
|
Causes this command to modify the interactive refresh settings of
the view. In this way it is possible to change the behavior of the
model editor during playback for improved performance.
|
|
-interactiveBackFaceCull(-ibc)
|
boolean
|
|
|
Define whether interactive backface culling should be on or not
|
|
-interactiveDisableShadows(-dis)
|
boolean
|
|
|
Define whether interactive shadows should be disabled or not
|
|
-isFiltered(-if)
|
boolean
|
|
|
Returns true for model editors with filtering applied to their view of the
scene. This could either be an explicit object filter, or a display option such
as isolate select which filters the objects that are displayed.
|
|
-jointXray(-jx)
|
boolean
|
|
|
Turns on or off Xray mode for joints.
|
|
-joints(-j)
|
boolean
|
|
|
Turn on/off the display of joints for the view of the
model editor.
|
|
-leftCamera(-lcm)
|
string
|
|
|
Only available in query mode: returns the current left camera of this view.
|
|
-lights(-lt)
|
boolean
|
|
|
Turn on/off the display of lights for the view of the
model editor.
|
|
-lineWidth(-lw)
|
float
|
|
|
Set width of lines for display
|
|
-locators(-lc)
|
boolean
|
|
|
Turn on/off the display of locator objects for the view
of the model editor.
|
|
-lockMainConnection(-lck)
|
|
|
|
Locks the current list of objects within the mainConnection,
so that only those objects are displayed within the editor.
Further changes to the original mainConnection are ignored.
|
|
-lowQualityLighting(-lql)
|
boolean
|
|
|
Set whether to use "low quality lighting" when using the
hardware renderer. The default value is false.
|
|
-mainListConnection(-mlc)
|
string
|
|
|
Specifies the name of a selectionConnection object that the
editor will use as its source of content. The editor will
only display items contained in the selectionConnection object.
|
|
-manipulators(-m)
|
boolean
|
|
|
Turn on/off the display of manipulator objects for the view
of the model editor.
|
|
-maxConstantTransparency(-mct)
|
float
|
|
|
Sets the maximum constant transparency. Setting this value remaps
constant transparency values from the range [0.0, 1.0] to the range
[0.0, maxConstantTransparency]. All transparency values are shifted
linearly to the new range, so a fully transparency object
(transparency 1.0) would
appear with a transparency of maxConstantTransparency in the viewport,
allowing highly transparent objects to be made visible. This flag only
affects constant (non-textured) transparent objects.
|
|
-maximumNumHardwareLights(-mhl)
|
boolean
|
|
|
Define whether the hardware light maximum should be respected or not
|
|
-modelPanel(-mp)
|
string
|
|
|
Allows the created model editor to be embedded in the named model panel.
Intended for use with custom model editors created via the API (i.e. the
flag would be used on the derived MPxModelEditorCommand), though the flag
may also be used on the base modelEditor command to restore a default Maya
model editor to the panel.
Note that the model editor previously owned by the panel is deleted.
|
|
-motionTrails(-mt)
|
boolean
|
|
|
Turn on/off the Motion Trail display in the Viewport.
|
|
-nCloths(-ncl)
|
boolean
|
|
|
Turn on/off the display of nCloths for the view
of the model editor.
|
|
-nParticles(-npa)
|
boolean
|
|
|
Turn on/off the display of nParticles for the view
of the model editor.
|
|
-nRigids(-nr)
|
boolean
|
|
|
Turn on/off the display of nRigids for the view
of the model editor.
|
|
-noUndo(-nud)
|
boolean
|
|
|
This flag prevents some viewport operations (such as isolate
select) from being added to the undo queue.
|
|
-nurbsCurves(-nc)
|
boolean
|
|
|
Turn on/off the display of nurbs curves for the view
of the model editor.
|
|
-nurbsSurfaces(-ns)
|
boolean
|
|
|
Turn on/off the display of nurbs surfaces for the view
of the model editor.
|
|
-objectFilter(-obf)
|
script
|
|
|
Set or query the current object filter name. An object filter
is required to have already been registered.
|
|
-objectFilterList(-ofl)
|
script
|
|
|
Return a list of names of registered filters.
|
|
-objectFilterListUI(-ofu)
|
script
|
|
|
Return a list of UI names of registered filters.
|
|
-objectFilterShowInHUD(-ofs)
|
boolean
|
|
|
Sets whether or not to display the object filter UI name in the heads
up display when an object filter is active. This string is concatenated
with the camera name.
|
|
-objectFilterUI(-obu)
|
script
|
|
|
Query the current object filter UI name. The object filter
is required to have already been registered.
|
|
-occlusionCulling(-ocl)
|
boolean
|
|
|
Set whether to enable occlusion culling testing when using
the hardware renderer. The default value is false.
|
|
-panel(-pnl)
|
string
|
|
|
Specifies the panel for this editor. By default if
an editor is created in the create callback of a scripted panel it
will belong to that panel. If an editor does not belong to a panel
it will be deleted when the window that it is in is deleted.
|
|
-parent(-p)
|
string
|
|
|
Specifies the parent layout for this editor. This flag will only
have an effect if the editor is currently un-parented.
|
|
-pivots(-pv)
|
boolean
|
|
|
Turn on/off the display of transform pivots for the view
of the model editor.
|
|
-planes(-pl)
|
boolean
|
|
|
Turn on/off the display of sketch planes for the view
of the model editor.
|
|
-pluginObjects(-po)
|
string boolean
|
|
|
Turn on/off the display of plug-in objects for the view.
It depends on the plug-in implementation whether to respect this flag.
|
|
-pluginShapes(-ps)
|
boolean
|
|
|
Turn on/off the display of plug-in shapes for the view.
It depends on the plug-in implementation whether to respect this flag.
|
|
-polymeshes(-pm)
|
boolean
|
|
|
Turn on/off the display of polygon meshes for the view
of the model editor.
|
|
-queryPluginObjects(-qpo)
|
string
|
|
|
Query the on/off state of plug-in objects display for the view.
To set the on/off state, use -pluginObjects instead.
|
|
-removeSelected(-rs)
|
|
|
|
This flag causes the currently active objects to be removed
from the list of objects visible in the view (if viewSelected is true).
|
|
-rendererDeviceName(-rdn)
|
|
|
|
Query for the name of the draw API used by the Viewport 2.0 renderer for a 3d modeling viewport.
The possible return values are "VirtualDeviceGL" if Maya is set to use "OpenGL - Legacy" for Viewport 2.0,
"VirtualDeviceGLCore" if Maya is set to use "OpenGL - Core Profile" (either Compatibility or Strict) for
Viewport 2.0, or "VirtualDeviceDx11" if Maya is set to use DirectX for Viewport 2.0.
If the renderer for the 3d modeling viewport is not Viewport 2.0, an empty string will be returned.
|
|
-rendererList(-rls)
|
|
|
|
Query for a list of the internal names for renderers available for use with the
3d modeling viewport. The default list contains at least "vp2Renderer", if supported. See
rendererName for more details on these renderers. Any plug-in viewport renderers will also appear
in this list.
|
|
-rendererListUI(-rlu)
|
|
|
|
Query for a list of the UI names for renderers available for use with the
3d modeling viewport. The default list consists of the UI name for "vp2Renderer", if it is supported.
Any plug-in viewport renderer's UI names will also appear in this list. This list
and the list returned from rendererList have a 1:1 correspondance.
|
|
-rendererName(-rnm)
|
string
|
|
|
Set or get the renderer used for a 3d modeling viewport. The name provided
should be an internal name of a renderer. The 'rendererList' flag
can be used to query for a list of available names.
The default renderer is "vp2Renderer": Viewport 2.0.
|
|
-rendererOverrideList(-rol)
|
|
|
|
Query for a list of the internal names for renderer overrides for a 3d viewport renderer.
Currently only the "Viewport 2" renderer supports renderer overrides.
|
|
-rendererOverrideListUI(-rou)
|
|
|
|
Query for a list of the UI names for renderer overrides for a 3d viewport renderer.
Currently only the "Viewport 2" renderer supports renderer overrides.
|
|
-rendererOverrideName(-rom)
|
string
|
|
|
Set or get the override used for a 3d viewport renderer. The name provided
should be the internal name for an override. The 'rendererOverrideList' flag
can be used to query for a list of available names.
Currently only the "Viewport 2" renderer supports renderer overrides.
Setting an empty string will unset any currently active override.
|
|
-resetCustomCamera(-rcc)
|
|
|
|
When specified will reset the camera transform for the active custom camera
used for a scene render filter. It is only enabled when a valid scene render filter is specified.
|
|
-rigRoot(-rr)
|
string
|
|
|
Defines the rig root associated with this view.
|
|
-rightCamera(-rcm)
|
string
|
|
|
Only available in query mode: returns the current right camera of this view.
|
|
-sceneRenderFilter(-srf)
|
string
|
|
|
Specifies the name of a scene render filter
|
|
-selectionConnection(-slc)
|
string
|
|
|
Specifies the name of a selectionConnection object that the
editor will synchronize with its own selection list. As the user
selects things in this editor, they will be selected in the
selectionConnection object. If the object undergoes changes, the
editor updates to show the changes.
|
|
-selectionHiliteDisplay(-sel)
|
boolean
|
|
|
Sets whether the model panel will draw any selection hiliting
on the objects in this window.
|
|
-setSelected(-ss)
|
|
|
|
This flag causes the currently active objects to be the
only objects visible in the view (if viewSelected is true).
|
|
-shadingModel(-sml)
|
int
|
|
|
-shadows(-sdw)
|
boolean
|
|
|
Turn on/off the display of hardware shadows in shaded mode.
|
|
-smallObjectCulling(-soc)
|
boolean
|
|
|
Define whether small object culling should be enabled or not
|
|
-smallObjectThreshold(-sot)
|
float
|
|
|
Threshold used for small object culling
|
|
-smoothWireframe(-swf)
|
boolean
|
|
|
Turns on or off smoothing of wireframe lines and points
|
|
-sortTransparent(-st)
|
boolean
|
|
|
This flag turns on/off sorting of transparent objects during
shaded mode refresh. Normally, objects are sorted according to their
origin in camera space but when this flag is turned off they will be
drawn according to their (depth-first traversal) order in the scene
graph. This is a global flag that affects all model editors.
|
|
-stateString(-sts)
|
|
|
|
Query only flag. Returns the MEL command that will create an
editor to match the current editor state. The returned command string
uses the string variable $editorName in place of a specific name.
|
|
-stereoDrawMode(-sdm)
|
|
|
|
If this flag is used then set stereo draw mode
|
|
-strokes(-str)
|
boolean
|
|
|
Turn on/off the display of Paint Effects strokes for the view
|
|
-subdivSurfaces(-sds)
|
boolean
|
|
|
Turn on/off the display of subdivision surfaces for the view
of the model editor.
|
|
-swapEyes(-se)
|
|
|
|
Swap the display of the left and right cameras. The left camera
becomes the right draw pass and the right camera becomes the left draw
pass.
This flag is intended for advanced users, for situations where the
hardware uses the opposite left/right convention.
|
|
-textureAnisotropic(-ta)
|
boolean
|
|
|
Set whether to perform anisotropic texture filtering.
Will work only if the anisotropic texture filtering extension
is supported in OpenGL on the graphics system.
|
|
-textureCompression(-tcp)
|
boolean
|
|
|
Defines whether texture compression should be used or not
|
|
-textureDisplay(-td)
|
string
|
|
|
Set the type of blending to use for textures.
The blend is performed between the destination fragment
and the texture fragment. The source is usually the
material color. Argument options are:
"modulate" : multiply the destination and texture fragment
"decal" : overwrite the destination with the texture fragment
|
|
-textureEnvironmentMap(-tem)
|
boolean
|
|
|
If true then use a texture environment map
|
|
-textureHilight(-th)
|
boolean
|
|
|
Set whether to show specular hilighting
when the display is in shaded textured mode.
|
|
-textureMaxSize(-tms)
|
int
|
|
|
Set maximum texture size for hardware texturing. The integer
value must be a power of 2. Recommended values are 128 or 256. If
the value specified is larger than the OpenGL maximim textures size
for the graphics hardware it will be clamped to the OpenGL size. If
many large textures are used in a scene reducing this value improves
performance. On Impact texture memory is pinned in RAM so using
large textures can cause reliability and performance problems. Again
reducing this value will help. Software rendering does not use this
value.
This flag is obsolete as of Maya 6.5. The maxTextureResolution/mtr
argument on the displayPref command should be used instead.
|
|
-textureMemoryUsed(-tmu)
|
|
|
|
Returns the total number of bytes used by all texture maps. This
is typicly width*height*channels for all texture objects in the scene
If the texture is mip mapped all mip map levels are included in the
total though not never more than two level will be in use at one time
|
|
-textureSampling(-ts)
|
int
|
|
|
Set the type of sampling to be used for texture
display. The argument can be either:
- 1 : means to perform point sample
- 2 : means to perform bilinear interpolation (default)
|
|
-textures(-tx)
|
boolean
|
|
|
Turn on/off the display of texture objects for the view
|
|
-transpInShadows(-tis)
|
boolean
|
|
|
Set whether to enable display of transparency in shadows when
using the hardware renderer. The default value is false.
|
|
-transparencyAlgorithm(-tal)
|
string
|
|
|
Set the transparency algorithm.
The options are:
- 1) "frontAndBackCull" : Two pass front and back culling technique.
- 2) "perPolygonSort" : Draw transparent polygons in back-to-front order technique.
transparency pptions 1) and 2) are supported by the hardware renderer. Options 1) is
supported by the interactive modeling viewports.
The default value is "frontAndBackCull".
|
|
-twoSidedLighting(-tsl)
|
boolean
|
|
|
Turns on or off two sided lighting. This may be used with
the -default flag.
|
|
-unParent(-up)
|
|
|
|
Specifies that the editor should be removed from its layout.
This cannot be used in query mode.
|
|
-unlockMainConnection(-ulk)
|
|
|
|
Unlocks the mainConnection, effectively restoring the original
mainConnection (if it is still available), and dynamic updates.
|
|
-updateColorMode(-ucm)
|
|
|
|
Using this flag tells the model panel to check which color
mode it should be in, and to switch accordingly. This flag may
be used to update a model panel after a camera image plane has
been added or removed.
|
|
-updateMainConnection(-upd)
|
|
|
|
Causes a locked mainConnection to be updated from the orginal
mainConnection, but preserves the lock state.
|
|
-useBaseRenderer(-ubr)
|
boolean
|
|
|
Set whether to use the "base" renderer when using
the hardware renderer and in "interactive display mode" (-useInteractiveMode)
The default value is false.
|
|
-useColorIndex(-uci)
|
boolean
|
|
|
Sets whether the model panel will attempt to use color index
mode when possible. Color index mode can provide a performance
increase for point, bounding box, and wireframe display modes.
This may be used with the -default flag.
|
|
-useCustomBackground(-ucb)
|
boolean
|
|
|
When set to true, instead of using the standard background, draw a solid
background using the viewColor.
|
|
-useDefaultMaterial(-udm)
|
boolean
|
|
|
Sets whether the model panel will draw all the shaded surfaces
using the default material as opposed to using the material(s) currently
assigned to the surfaces.
|
|
-useInteractiveMode(-ui)
|
boolean
|
|
|
Turns on or off the use of the special interaction settings
during playback. This flag may be used with the -default flag.
|
|
-useRGBImagePlane(-ip)
|
boolean
|
|
|
Sets whether the model panel will be forced into RGB mode
when there is an image plane attached to the panel's camera.
|
|
-useReducedRenderer(-urr)
|
boolean
|
|
|
Set true if using the reduced renderer
|
|
-useTemplate(-ut)
|
string
|
|
|
Forces the command to use a command template other than
the current one.
|
|
-userNode(-un)
|
string
|
|
|
Allows the user to associate a node name with the modelEditor.
The value is automatically updated in the event the node is deleted
or renamed.
|
|
-viewColor(-vc)
|
float float float float
|
|
|
Specifies the background color for the stereoscopic model editor. The
default value is black which provides optimal stereoscopic viewing.
This only applies if 'useCustomBackground' is on (which is the default).
|
|
-viewObjects(-vo)
|
|
|
|
Returns the name (if any) of the objectSet which contains the
list of objects visible in the view if viewSelected is true and the
list of objects being displayed does not come from the
active list.
|
|
-viewSelected(-vs)
|
boolean
|
|
|
This flag turns on/off viewing of selected objects. When the
flag is set to true, the currently active objects are captured and
used as the list of objects to view.
|
|
-viewType(-vt)
|
|
|
|
Returns a string indicating the type of the model editor. For the
default model editor, returns the empty string. For custom model
editor types created via the API, returns the same string as is
returned via the method MPx3dModelView::viewType().
|
|
-width(-w)
|
|
|
|
Return the width of the associated viewport in pixels.
|
|
-wireframeBackingStore(-wbs)
|
boolean
|
|
|
Sets whether a backing store is used to optimization the drawing
of active objects. This mode can provide a performance increase in
wireframe mode for certain scenes.
|
|
-wireframeOnShaded(-wos)
|
boolean
|
|
|
Sets whether the model panel will draw the wireframe on
all shaded objects (if true) or only for active objects (if false).
|
|
-xray(-xr)
|
boolean
|
|
|
Turns on or off Xray mode. This may be used with the -default
flag.
|
|
Common model editor flags |