Light Object
From Runic Games Wiki
Contents |
Light
Description
This Level Object is used to add a spot light to a Layout. Lights do not cast shadows and extend vertically infinitely.
Location
Right-click on an empty space in the Layout Scene Manager and choose Building Blocks > Light from the list.
Properties
| Name | Type | Description | Read Only |
|---|---|---|---|
| BRIGHTNESS | |||
| BRIGHTNESS | |
Set the additive brightness of the Light. Cannot be set below 1. | |
| ORIENTATION | |||
| FORWARD | |
Forward by X,Y,Z | |
| RIGHT | |
Right by X,Y,Z | |
| POSITION | |||
| POSITION | |
Position by X,Y,Z world coordinates. | |
| PROPERTIES | |||
| FILE | |
Set the mesh file to use for the Light. | |
| FILTER | |
Filter the "File" list by folder. | |
| VISIBLE | |
Set the Light visible or not. | |
| ROTATION ANGLE | |||
| ANGLE | |
The Light rotation angle. | |
| SCALE | |||
| SCALE X | |
Scale the Light on the X axis. | |
| SCALE Z | |
Scale the Light on the Z axis. | |
| SHADOW | |||
| SHADOW | |
Render the Light as a shadow. | |
Input Events
- Show
- This does nothing.
- Hide
- This does nothing.
Output Events
- On Visible
- This event will fire when the Light receives a "Show" Input event.
- On Invisible
- This event will fire when the Light receives a "Hide" Input event.