SkyButtonBehavior

Package: Libraries.Interface.Behaviors.Scenes.Properties · Inherits from: Libraries.Language.Object, Libraries.Interface.Behaviors.Behavior

The SkyButtonBehavior is a button or checkbox in a 3D layer's Sky section (QuincyWorld demo D3): "Choose sky folder...", "Remove sky", or the Linear lighting checkbox. It tells the section which was pressed.

Actions

Dispose()

A checkbox runs its behavior only when it is checked, and calls Dispose when it is unchecked, so unchecking is passed on the same way. The section reads the checkbox's state, so it sees the change.

Run(Libraries.Interface.Events.BehaviorEvent event)

Sets which section and button this is.

Parameters

SetCheckbox(boolean value)

Marks the behavior as a checkbox's, so unchecking is passed on too. A button's behavior may be disposed with its button, which mustn't press it.

Parameters

  • value boolean: True for a checkbox's behavior

Setup(Libraries.Interface.Controls.Scenes.Dialogs.SkyPropertiesDialog dialog, integer kind)

Sets which section and button this is.

Parameters

Inherited Actions

6 actions from Libraries.Interface.Behaviors.Behavior
3 actions from Libraries.Language.Object