Light

Light Info

Access information about a Unity light.

Example set node for an Audio Reverb Zone - the Set Max Distance node

Inputs:

Name
Type
Description

Light In

Light

Reference to a light object.

Outputs:

Name
Type
Description

Range Out

Float

The range of the light.

Color Out

Color

The color of the light.

Intensity Out

Float

The brightness of the light. The default value for a Directional light is 0.5. The default value for a Point, Spot or Area (Rectangle or Disc) light is 1.

Game Object

Game Object

Reference to the game object of which the light is a component.

Set value nodes

There are multiple nodes that you can use to set the properties of a Light. For more information refer to the Lights page in the Unity documentation.

The set nodes for a Light have a similar arrangement of inputs and outputs, as described in the following sections.

Example set node for an Audio Reverb Zone - the Set Max Distance node

Inputs:

Name
Type
Description

Enter

Flow

Flow to activate the node.

Light In

Light

Reference to a Light.

<property>

<varies> [editable]

The value to set for the chosen property.

Outputs:

Name
Type
Description

Exit

Flow

Continue the activating flow.

Available nodes:

Name
Input type
Description

Set Light Color

Color

Sets the color of the light.

Set Light Intensity

Float

Sets the brightness of the light.

Set Light Range

Float

Set the range of the light.

Set Light Render Mode

[parameter list]

Set a render mode from the following options: Auto, Force Pixel, or Force Vertex.

Set Light Type

[parameter list]

Sets the type of light. Spot, Directional, Point, Area, Rectangle, or Disc.

Last updated