pymel.core.general.displayCull

static general.displayCull(*args, **kwargs)

This command is responsible for setting the display culling property of back faces of surfaces. In query mode, return type is based on queried flag.

Flags:
Long name (short name) Argument Types Properties
backFaceCulling (bfc) bool ../../../_images/create.gif ../../../_images/query.gif
 
Enable/disable culling of back faces. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.displayCull

Example:

import pymel.core as pm

pm.displayCull( bfc=True )
pm.displayCull( bfc=False )
pm.displayCull( q=True, bfc=True )
# 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.

Previous topic

pymel.core.general.displayColor

Next topic

pymel.core.general.displayLevelOfDetail

Core

Core Modules

Other Modules

This Page