pymel.core.nodetypes.Lambert

Inheritance diagram of Lambert

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

Previous topic

pymel.core.nodetypes.KeyingGroup

Next topic

pymel.core.nodetypes.Lattice

Core

Core Modules

Other Modules

This Page