ve.Scene

ve.Feature. ve.Scene

Refer to ve.Feature for methods or fields inherited from the parent, such as automatic destructuring.

Creates a background scene, typically meant as a full viewport screen with a draw/initialisation loop. Elements are mounted to ve.scene_el.

  • Functional binding: veScene().
Constructor:
Instance:

Constructor

new ve.Scene()

Source:

Extends

Members

v

Returns this.components_obj

  • Accessor of: ve.Scene
Source:

v

Sets the components_obj variable stored in the present scene.

  • Accessor of: ve.Scene
Source:

Methods

draw(arg0_function, arg1_intervalopt)

Creates a draw loop for the present scene using setInterval() polling.

  • Method of: ve.Scene
Source:
Parameters:
Name Type Attributes Default Description
arg0_function function

(this:ve.Scene

arg1_interval number <optional>
100

refresh(arg0_components_obj)

Refreshes the toast display with a set of new components.

  • Method of: ve.Toast
Source:
Parameters:
Name Type Description
arg0_components_obj Object

addComponents(arg0_components_obj)

Adds components to the present this.element.

Overrides:
Source:
Parameters:
Name Type Description
arg0_components_obj Object

close()

Alias for this.remove().

Overrides:
Source:

remove()

Removes the ve.Feature from its static .instances field in addition to unmounting the feature from the DOM.

Overrides:
Source:

removeComponents(arg0_components_obj)

Removes components from the present this.element.

Overrides:
Source:
Parameters:
Name Type Description
arg0_components_obj Object

updateOwner()

Iterates over all present Vercengen components in ve.Feature and sets their owner to the current Feature if they do not already have populated .owner/.owners fields.

Overrides:
Source: