Go to: Synopsis. Return value. Related. Flags. MEL examples.

Synopsis

displayCull [-backFaceCulling boolean] [objects]

displayCull is undoable, queryable, and NOT editable.

This command is responsible for setting the display culling property of back faces of surfaces.

Return value

None

In query mode, return type is based on queried flag.

Related

currentUnit, displayAffected, displayColor, displayLevelOfDetail, displayPref, displayRGBColor, displaySmoothness, displayStats, displaySurface, hide, refresh, showHidden, toggle

Flags

backFaceCulling
Long name (short name) Argument types Properties
-backFaceCulling(-bfc) boolean createquery
Enable/disable culling of back faces.

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.

MEL examples

displayCull -bfc true;
displayCull -bfc false;
displayCull -q -bfc;
// Returns 0 if the back-face-culling on the selected object is false.
// Returns 1 if the back-face-culling on the selected object is true.