SpotLightPropertiesDialog

Package: Libraries.Interface.Controls.Scenes.Dialogs · Inherits from: Libraries.Interface.Events.TextChangeListener, Libraries.Interface.Controls.Control, Libraries.Interface.Forms.FormPrimitiveContainer, Libraries.Interface.Item, Libraries.Interface.Controls.Scenes.Dialogs.PropertiesDialog, Libraries.Interface.Item2D, Libraries.Language.Object, Libraries.Interface.Events.SelectionListener, Libraries.Interface.Controls.Dialog

The SpotLightPropertiesDialog is a selected spotlight's section in the Properties panel: its name, color, intensity, cone and range. The cone's angles are half-angles, in degrees, from the way the light points: full strength inside the inner one, fading to nothing at the outer one. A range of 0 works out how far the light reaches from its intensity. The spotlight is aimed by turning it, with the editor's rotate keys.

Actions

FocusField()

Moves the focus to the name field.

SelectionChanged(Libraries.Interface.Events.SelectionEvent event)

This action shows the dialog when a spotlight is selected, and hides it otherwise.

Parameters

SetFields(Libraries.Interface.Controls.Scenes.Items.EditorItem item)

This action shows a selected spotlight's settings.

Parameters

TextChanged(Libraries.Interface.Events.TextChangeEvent event)

This action changes the spotlight as its settings are typed. Text that isn't a number, or is out of range, is ignored.

Parameters

Inherited Actions

263 actions from Libraries.Interface.Controls.Control
20 actions from Libraries.Interface.Controls.Dialog
35 actions from Libraries.Interface.Controls.Scenes.Dialogs.PropertiesDialog
8 actions from Libraries.Interface.Forms.FormPrimitiveContainer
57 actions from Libraries.Interface.Item
200 actions from Libraries.Interface.Item2D
3 actions from Libraries.Language.Object