LightConfig

LightConfig

Light Source Configuration Sheet

Constructor

new LightConfig(light, options)

Source:
Implements:
Parameters:
Name Type Description
light AmbientLight

The AmbientLight object for which settings are being configured

options Object

LightConfig ui options (see Application)

Members

(static) defaultOptions

Source:

Methods

(async) _updateObject(event, formData) → {Promise}

Source:
Implements:

This method is called upon form submission after form data is validated

Parameters:
Name Type Description
event Event

The initial triggering submission event

formData Object

The object of validated form data with which to update the object

Returns:

A Promise which resolves once the update operation has completed

Type
Promise

activateListeners(html)

Source:
Overrides:
Implements:

Activate the default set of listeners for the Entity sheet These listeners handle basic stuff like form submission or updating images

Parameters:
Name Type Description
html JQuery

The rendered template ready to have listeners attached