User Tools

Site Tools


DzPointLight

A light that emits in all directions from a single point.

More...

Inherits :

Inherited By : DzLinearPointLight

Constructors

DAZ Script
DzPointLight ()

Methods

Detailed Description

TODO: Add detailed description.

Constructors


DzPointLight()

Default Constructor. Creates a new point light.

Methods


Number : getDecay()

Return Value:

  • The amount of decay.

Since:

  • 4.9.3.145

DzFloatProperty : getDecayControl()

Return Value:

  • The property that controls the decay.

Boolean : getDisplayPersistence()

Return Value:

  • true if the sphere will be displayed when the node is not selected, otherwise false.

Since:

  • 4.9.3.145

DzBoolProperty : getDisplayPersistenceControl()

Return Value:

  • The property that controls the display persistence.

Since:

  • 4.9.3.145

Number : getFalloffDistance( Number lightPercent )

Return Value:

  • The distance at which the illumination from this light falls off.

Since:

  • 4.8.0.9

String : getLightProfile()

Return Value:

  • The path to the IES Light Profile (if any), or an empty string.

Since:

  • 4.8.0.18

DzFileProperty : getLightProfileControl()

Return Value:

  • The property that controls the IES profile of the light.

Since:

  • 4.8.0.18

Boolean : getLightVisibility()

Return Value:

  • true if the light contributes to the scene, otherwise false.

Number : getSphereOpacity()

Return Value:

  • The opacity of the display sphere.

Since:

  • 4.9.3.145

DzFloatProperty : getSphereOpacityControl()

Return Value:

  • The property that controls the opacity of the sphere.

Since:

  • 4.9.3.145

void : setDecay( Number decay )

Sets the amount of decay.

Parameter(s):

  • decay - The amount of decay to set.

Since:

  • 4.9.3.145

void : setDisplayPersistence( Boolean persistence )

Sets the persistance of the display sphere.

Parameter(s):

  • persistence - If true, the sphere will be displayed when the node is not selected. If false, the sphere will not be displayed when the node is not selected.

Since:

  • 4.9.3.145

void : setLightProfile( String profilePath )

Sets the path of the IES light profile.

Parameter(s):

  • profilePath - The path of the IES profile to set.

Since:

  • 4.9.3.145

void : setSphereOpacity( Number opacity )

Sets the opacity of the display sphere.

Parameter(s):

  • opacity - The opacity to set.

Since:

  • 4.9.3.145