pymel.core.nodetypes.PhongE

Inheritance diagram of PhongE

class PhongE(*args, **kwargs)
getHighlightSize()

Retrieves the value of the “highlightSize” attribute of a shader node. This attribute represents the surface color of the shader.

Return type:float

Derived from api method maya.OpenMaya.MFnPhongEShader.highlightSize

getRoughness()

Retrieves the value of the “roughness” attribute of a shader node.

Return type:float

Derived from api method maya.OpenMaya.MFnPhongEShader.roughness

getWhiteness()

Retrieves the value of the “whiteness” attribute of a shader node. This attribute represents the surface transparency of the shader.

Return type:Color

Derived from api method maya.OpenMaya.MFnPhongEShader.whiteness

setHighlightSize(highlight_size)

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

Parameters :
highlight_size : float

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnPhongEShader.setHighlightSize

setRoughness(roughness)

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

Parameters :
roughness : float

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnPhongEShader.setRoughness

setWhiteness(whiteness)

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

Parameters :
whiteness : Color

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnPhongEShader.setWhiteness

Previous topic

pymel.core.nodetypes.Phong

Next topic

pymel.core.nodetypes.Place2dTexture

Core

Core Modules

Other Modules

This Page