The renderInfo commands sets geometric properties of surfaces of the selected object. In query mode, return type is based on queried flag.
| Long name (short name) | Argument Types | Properties | |
|---|---|---|---|
| castShadows (cs) | bool |
|
|
|
|||
| chordHeight (ch) | float |
|
|
|
|||
| chordHeightRatio (chr) | float |
|
|
|
|||
| doubleSided (ds) | bool |
|
|
|
|||
| edgeSwap (es) | bool |
|
|
|
|||
| minScreen (ms) | float |
|
|
|
|||
| name (n) | unicode | ||
| opposite (o) | bool |
|
|
|
|||
| smoothShading (ss) | bool |
|
|
|
|||
| unum (un) | int |
|
|
|
|||
| useChordHeight (uch) | bool |
|
|
|
|||
| useChordHeightRatio (ucr) | bool |
|
|
|
|||
| useDefaultLights (udl) | bool |
|
|
|
|||
| useMinScreen (ums) | bool |
|
|
|
|||
| utype (ut) | int |
|
|
|
|||
| vnum (vn) | int |
|
|
|
|||
| vtype (vt) | int |
|
|
|
|||
Derived from mel command maya.cmds.renderInfo
Example:
import pymel.core as pm
pm.renderInfo( doubleSided=False, opposite=True )