pymel.core.nodetypes.Reflect

Inheritance diagram of Reflect

class Reflect(*args, **kwargs)
getReflectedColor()

Retrieves the value of the “reflectedColor” attribute of a reflective shader node. This attribute represents the color of reflection produced by the shader.

Return type:Color

Derived from api method maya.OpenMaya.MFnReflectShader.reflectedColor

getReflectedRayDepthLimit()

Retrieves the value of the “reflectedRayDepthLimit” attribute of a reflective shader node. This attribute represents the maximum reflected ray depth used in the shading calculation.

Return type:int

Derived from api method maya.OpenMaya.MFnReflectShader.reflectedRayDepthLimit

getReflectivity()

Retrieves the value of the “reflectivity” attribute of a reflective shader node. This attribute represents the reflectivity of the shader.

Return type:float

Derived from api method maya.OpenMaya.MFnReflectShader.reflectivity

getSpecularColor()

Retrieves the value of the “specularColor” attribute of a reflective shader node. This attribute represents the color of specular highlights produced by the shader.

Return type:Color

Derived from api method maya.OpenMaya.MFnReflectShader.specularColor

setReflectedColor(reflected_color)

Sets the value of the “reflectedColor” attribute of a shader node.

Parameters :
reflected_color : Color

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnReflectShader.setReflectedColor

setReflectedRayDepthLimit(reflected_ray_depth_limit)

Sets the value of the “reflectedRayDepthLimit” attribute of a lambert shader node.

Parameters :
reflected_ray_depth_limit : int

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnReflectShader.setReflectedRayDepthLimit

setReflectivity(reflect)

Sets the value of the “reflectivity” attribute of a shader node.

Parameters :
reflect : float

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnReflectShader.setReflectivity

setSpecularColor(specular_color)

Sets the value of the “specularColor” attribute of a shader node.

Parameters :
specular_color : Color

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnReflectShader.setSpecularColor

Previous topic

pymel.core.nodetypes.Reference

Next topic

pymel.core.nodetypes.RemapColor

Core

Core Modules

Other Modules

This Page