Go to: Synopsis. Flags. Return value. Related. MEL examples.
displaySurface [-flipNormals] [-twoSidedLighting boolean] [-xRay boolean]
[objects...]
displaySurface is undoable, queryable, and editable.
This command toggles display options on the specified or active
surfaces. Typically this command applies to NURBS or poly mesh
surfaces and ignores other type of objects.
flipNormals, twoSidedLighting, xRay
| Long name (short name) |
[argument types] |
Properties |
-flipNormals(-flp)
|
|
|
|
flip normal direction on the surface
In query mode, this flag needs a value.
|
|
-xRay(-x)
|
boolean
|
|
|
toggle X ray mode (make surface transparent)
In query mode, this flag needs a value.
|
|
-twoSidedLighting(-two)
|
boolean
|
|
|
toggle if the surface should be considered
two-sided. If it's single-sided, drawing and rendering
may use single sided lighting and back face cull
to improve performance.
In query mode, this flag needs a value.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command
|
boolean when in the query mode.
currentUnit, displayAffected, displayColor, displayCull, displayLevelOfDetail, displayPref, displayRGBColor, displaySmoothness, displayStats, hide, refresh, showHidden, toggle
sphere -n mySphere1;
sphere -n mySphere2;
displaySurface -two 0 mySphere1 mySphere2;
displaySurface -xRay true;