pymel.core.nodetypes.Lambert¶
digraph inheritance0ac3804cdb { rankdir=TB; ranksep=0.15; nodesep=0.15; size="8.0, 12.0"; "DependNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.DependNode.html#pymel.core.nodetypes.DependNode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" -> "DependNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Lambert" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="#pymel.core.nodetypes.Lambert",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "ShadingDependNode" -> "Lambert" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ProxyUnicode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.util.utilitytypes/pymel.util.utilitytypes.ProxyUnicode.html#pymel.util.utilitytypes.ProxyUnicode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.core.general/pymel.core.general.PyNode.html#pymel.core.general.PyNode",style="setlinewidth(0.5)",tooltip="Abstract class that is base for all pymel nodes classes.",height=0.25,shape=box,fontsize=8]; "ProxyUnicode" -> "PyNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ShadingDependNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.ShadingDependNode.html#pymel.core.nodetypes.ShadingDependNode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "DependNode" -> "ShadingDependNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
- class Lambert(*args, **kwargs)¶
- getAmbientColor()¶
Retrieves the value of the “ambientColor” attribute of a shader node. This attribute represents the ambient color of the shader.
Return type: Color Derived from api method maya.OpenMaya.MFnLambertShader.ambientColor
- getColor()¶
Retrieves the value of the “color” attribute of a shader node. This attribute represents the surface color of the shader.
Return type: Color Derived from api method maya.OpenMaya.MFnLambertShader.color
- getDiffuseCoeff()¶
Retrieves the value of the “diffuseCoeff” attribute of a lambert shader node. This attribute represents the diffuse reflectivity of the shader.
Return type: float Derived from api method maya.OpenMaya.MFnLambertShader.diffuseCoeff
- getGlowIntensity()¶
Retrieves the value of the “glowIntensity” attribute of a shader node. This attribute represents the constant multplier applied to the glow color of the shader.
Return type: float Derived from api method maya.OpenMaya.MFnLambertShader.glowIntensity
- getHideSource()¶
Retrieves the value of the “hideSource” attribute of a shader node. This attribute determines whether or not the computed surface color is used in the shading computation. If hideSource is true, then only the computed shader glow color will be used. Otherwise, both the glow and surface colors will be used.
Return type: bool Derived from api method maya.OpenMaya.MFnLambertShader.hideSource
- getIncandescence()¶
Retrieves the value of the “incandescence” attribute of a shader node. This attribute represents the incandescence of the shader.
Return type: Color Derived from api method maya.OpenMaya.MFnLambertShader.incandescence
- getRefractedRayDepthLimit()¶
Retrieves the value of the “refractedRayDepthLimit” attribute of a lambert shader node. This attribute represents the maximum refracted ray depth used in the shading calculation.
Return type: int Derived from api method maya.OpenMaya.MFnLambertShader.refractedRayDepthLimit
- getRefractiveIndex()¶
Retrieves the value of the “refractiveIndex” attribute of a lambert shader node. This attribute represents the refractive index of the shader.
Return type: float Derived from api method maya.OpenMaya.MFnLambertShader.refractiveIndex
- getRtRefractedColor()¶
Retrieves the value of the “rtRefractedColor” attribute of a shader node. This attribute determines whether the shader uses the value of the “refractedColor” attribute for the refracted color or calculated the refracted color itself.
Return type: bool Derived from api method maya.OpenMaya.MFnLambertShader.rtRefractedColor
- getTranslucenceCoeff()¶
Retrieves the value of the “translucenceCoeff” attribute of a lambert shader node. This attribute represents a constant multiplier applied to the transparency attribute of the shader.
Return type: float Derived from api method maya.OpenMaya.MFnLambertShader.translucenceCoeff
- getTransparency()¶
Retrieves the value of the “transparency” attribute of a shader node. This attribute represents the surface transparency of the shader.
Return type: Color Derived from api method maya.OpenMaya.MFnLambertShader.transparency
- setAmbientColor(ambient_color)¶
Sets the value of the “ambientColor” attribute of a shader node.
Parameters: - ambient_color : Color
value to which the attribute will be set.
Derived from api method maya.OpenMaya.MFnLambertShader.setAmbientColor
- setColor(col)¶
Sets the value of the “color” attribute of a shader node.
Parameters: - col : Color
value to which the attribute will be set.
Derived from api method maya.OpenMaya.MFnLambertShader.setColor
- setDiffuseCoeff(diffuse_coeff)¶
Sets the value of the “diffuseCoeff” attribute of a shader node.
Parameters: - diffuse_coeff : float
value to which the attribute will be set.
Derived from api method maya.OpenMaya.MFnLambertShader.setDiffuseCoeff
- setGlowIntensity(glow_intensity)¶
Sets the value of the “glowIntensity” attribute of a shader node.
Parameters: - glow_intensity : float
value to which the attribute will be set.
Derived from api method maya.OpenMaya.MFnLambertShader.setGlowIntensity
- setHideSource(hide_source)¶
Sets the value of the “hideSource” attribute of a shader node.
Parameters: - hide_source : bool
value to which the attribute will be set.
Derived from api method maya.OpenMaya.MFnLambertShader.setHideSource
- setIncandescence(incand)¶
Sets the value of the “incandescence” attribute of a shader node.
Parameters: - incand : Color
value to which the attribute will be set.
Derived from api method maya.OpenMaya.MFnLambertShader.setIncandescence
- setRefractedRayDepthLimit(refracted_ray_depth_limit)¶
Sets the value of the “refractedRayDepthLimit” attribute of a lambert shader node.
Parameters: - refracted_ray_depth_limit : int
value to which the attribute will be set.
Derived from api method maya.OpenMaya.MFnLambertShader.setRefractedRayDepthLimit
- setRefractiveIndex(refractive_index)¶
Sets the value of the “refractiveIndex” attribute of a shader node.
Parameters: - refractive_index : float
value to which the attribute will be set.
Derived from api method maya.OpenMaya.MFnLambertShader.setRefractiveIndex
- setRtRefractedColor(rt_refracted_color)¶
Sets the value of the “rtRefractedColor” attribute of a shader node.
Parameters: - rt_refracted_color : bool
value to which the attribute will be set.
Derived from api method maya.OpenMaya.MFnLambertShader.setRtRefractedColor
- setTranslucenceCoeff(translucence_coeff)¶
Sets the value of the “translucenceCoeff” attribute of a shader node.
Parameters: - translucence_coeff : float
value to which the attribute will be set.
Derived from api method maya.OpenMaya.MFnLambertShader.setTranslucenceCoeff
- setTransparency(transp)¶
Sets the value of the “transparency” attribute of a shader node.
Parameters: - transp : Color
value to which the attribute will be set.
Derived from api method maya.OpenMaya.MFnLambertShader.setTransparency