pymel.core.nodetypes.NonExtendedLightShapeNode

Inheritance diagram of NonExtendedLightShapeNode

class NonExtendedLightShapeNode(*args, **kwargs)
getCastSoftShadows()

Retrieves the value of the “castSoftShadows” attribute of a non-extended light node. This attribute determines whether or not the light casts soft shadows.

Return type:bool

Derived from api method maya.OpenMaya.MFnNonExtendedLight.castSoftShadows

getDepthMapBias()

Retrieves the value of the “depthMapBias” attribute of a light node. This attribute represents the depth bias applied in depth map shadow computations to prevent self-shadowing artifacts.

Return type:float

Derived from api method maya.OpenMaya.MFnNonExtendedLight.depthMapBias

getDepthMapFilterSize()

Retrieves the value of the “depthMapFilterSize” attribute of a light node. This attribute determines the size of the filter used in depth map shadow computations for the light.

Return type:int

Derived from api method maya.OpenMaya.MFnNonExtendedLight.depthMapFilterSize

getDepthMapFocus()

Retrieves the value of the “depthMapFocus” attribute of a light node. This attribute represents the depth map’s field of view.

Return type:float

Derived from api method maya.OpenMaya.MFnNonExtendedLight.depthMapFocus

getDepthMapResolution()

Retrieves the value of the “depthMapResolution” attribute of a light node. This attribute determines the resolution of the depth map for this light.

Return type:int

Derived from api method maya.OpenMaya.MFnNonExtendedLight.depthMapResolution

getDepthMapWidthFocus()

Retrieves the value of the “depthMapWidthFocus” attribute of a light node. This attribute is used to scale the depth map within the area of the light’s illumination.

Return type:float

Derived from api method maya.OpenMaya.MFnNonExtendedLight.depthMapWidthFocus

getShadowRadius()

Retrieves the value of the “shadowRadius” attribute of a non-extended light node. This attribute represents the radius of the light used when computing soft shadows. Higher radius values result in more extended soft shadows.

Return type:float

Derived from api method maya.OpenMaya.MFnNonExtendedLight.shadowRadius

getUseDepthMapAutoFocus()

Retrieves the value of the “useDepthMapAutoFocus” attribute of a non-extended light node. This attribute determines whether to automatically scale the depth map so that it only fills the area of the light’s illumination that contains shadow casting objects.

Return type:bool

Derived from api method maya.OpenMaya.MFnNonExtendedLight.useDepthMapAutoFocus

getUseDepthMapShadows()

Retrieves the value of the “useDepthMapShadows” attribute of a non-extended light node. This attribute determines whether or not a depth map will be used in shadow computations for this light.

Return type:bool

Derived from api method maya.OpenMaya.MFnNonExtendedLight.useDepthMapShadows

setCastSoftShadows(cast_soft_shadows)

Sets the value of the “castSoftShadows” attribute of a non-extended light node.

Parameters :
cast_soft_shadows : bool

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnNonExtendedLight.setCastSoftShadows

setDepthMapBias(depth_map_bias)

Sets the value of the “depthMapBias” attribute of a light node.

Parameters :
depth_map_bias : float

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnNonExtendedLight.setDepthMapBias

setDepthMapFilterSize(depth_map_filter_size)

Sets the value of the “depthMapFilterSize” attribute of a light node.

Parameters :
depth_map_filter_size : int

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnNonExtendedLight.setDepthMapFilterSize

setDepthMapFocus(depth_map_focus)

Sets the value of the “depthMapFocus” attribute of a light node.

Parameters :
depth_map_focus : float

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnNonExtendedLight.setDepthMapFocus

setDepthMapResolution(depth_map_resolution)

Sets the value of the “depthMapResolution” attribute of a light node.

Parameters :
depth_map_resolution : int

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnNonExtendedLight.setDepthMapResolution

setDepthMapWidthFocus(depth_map_width_focus)

Sets the value of the “depthMapWidthFocus” attribute of a light node.

Parameters :
depth_map_width_focus : float

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnNonExtendedLight.setDepthMapWidthFocus

setShadowRadius(shadow_radius)

Sets the value of the “shadowRadius” attribute of a non-extended light node.

Parameters :
shadow_radius : float

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnNonExtendedLight.setShadowRadius

setUseDepthMapAutoFocus(use_depth_map_auto_focus)

Sets the value of the “useDepthMapAutoFocus” attribute of a non-extended light node.

Parameters :
use_depth_map_auto_focus : bool

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnNonExtendedLight.setUseDepthMapAutoFocus

setUseDepthMapShadows(use_depth_map)

Sets the value of the “useDepthMapShadows” attribute of a non-extended light node.

Parameters :
use_depth_map : bool

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnNonExtendedLight.setUseDepthMapShadows

Previous topic

pymel.core.nodetypes.NonAmbientLightShapeNode

Next topic

pymel.core.nodetypes.NonLinear

Core

Core Modules

Other Modules

This Page