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. In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
attrList (al) | int | ||
|
|||
attrListAll (ala) | bool | ||
|
|||
name (n) | int | ||
|
|||
renderTypeCount (rtc) | bool | ||
Return the count of registered render classes for particle.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
Derived from mel command maya.cmds.particleRenderInfo
Example:
import pymel.core as pm
import maya.cmds as cmds
#Return the list of all render attributes
pm.particleRenderInfo(query=True, ala=True)
# Result: [u'attributeName:particleId:textfield', u'betterIllumination:false:toggleBtn', u'colorAccum:false:toggleBtn', u'flatShaded:false:toggleBtn', u'incandescence:-:vector', u'incandescencePP:-:vectorArray', u'lineWidth:1:intSlider:1:20', u'multiCount:10:intSlider:1:60', u'multiRadius:0.3:floatSlider:0:10', u'normalDir:2:intSlider:1:3', u'pointSize:2:intSlider:1:60', u'radius0:1:floatSlider:0:10', u'radius1:1:floatSlider:0:10', u'radius:0.5:floatSlider:0:10', u'radiusPP:-:floatArray', u'selectedOnly:false:toggleBtn', u'spriteNum:1:intField', u'spriteNumPP:-:floatArray', u'spriteScaleX:1.0:floatField', u'spriteScaleXPP:-:floatArray', u'spriteScaleY:1.0:floatField', u'spriteScaleYPP:-:floatArray', u'spriteTwist:0.0:floatSlider:-180:180', u'spriteTwistPP:-:floatArray', u'surfaceShading:0:floatSlider:0:1', u'tailFade:0:floatSlider:-1:1', u'tailSize:1:floatSlider:-100:100', u'threshold:0:floatSlider:0:10', u'useLighting:false:toggleBtn'] #