Go to: Synopsis. Return value. Flags. Python examples.
particleRenderInfo([attrList=int], [attrListAll=boolean], [name=int], [renderTypeCount=boolean])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
particleRenderInfo is undoable, queryable, and NOT
editable.
This action provides information access to the particle render
subclasses. These are derived from TdynRenderBase. This action is
used primarily by the Attribute Editor to gather information about
attributes used for rendering.
None
In query mode, return type is based on queried flag.
attrList, attrListAll, name,
renderTypeCount
Long name (short name) |
Argument types |
Properties |
attrList(al) |
int |
 |
|
Return the list of attributes used by this render type. |
|
attrListAll(ala) |
boolean |
 |
|
Return a complete list of all render attributes used by the
particle object. This also includes the per particle
attributes. |
|
name(n) |
int |
 |
|
Return the name of the render subclass using the render
type. |
|
renderTypeCount(rtc) |
boolean |
 |
|
Return the count of registered render classes for
particle. |
|
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 have multiple arguments, passed
either as a tuple or a list. |
import maya.cmds as cmds
#Return the list of all render attributes
cmds.particleRenderInfo(query=True, ala=True)