pymel.core.rendering.renderInfo¶
- renderInfo(*args, **kwargs)¶
The renderInfo commands sets geometric properties of surfaces of the selected object. In query mode, return type is based on queried flag.
Flags:
Long Name / Short Name Argument Types Properties castShadows / cs bool
Determines if object casts shadow or not. chordHeight / ch float
Tessellation subdivision criteria. chordHeightRatio / chr float
Tessellation subdivision criteria. doubleSided / ds bool
Determines if object double or single sided. edgeSwap / es bool
Tessellation subdivision criteria. minScreen / ms float
Tessellation subdivision criteria. name / n unicode
Namespace to use. opposite / o bool
Determines if the normals of the object is to be reversed. smoothShading / ss bool
Determines if smooth shaded, or flat shaded - applies only to polysets. unum / un int
Tessellation subdivision criteria. useChordHeight / uch bool
Tessellation subdivision criteria. useChordHeightRatio / ucr bool
Tessellation subdivision criteria. useDefaultLights / udl bool
Obsolete flag. useMinScreen / ums bool
Tessellation subdivision criteria. utype / ut int
Tessellation subdivision criteria. vnum / vn int
Tessellation subdivision criteria. vtype / vt int
Tessellation subdivision criteria. Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.renderInfo
Example:
import pymel.core as pm pm.renderInfo( doubleSided=False, opposite=True )