CoreTweenPlugin

View source

ExtendsPlugin

Provides the base plugin for the built-in tween integrations.

This plugin does not configure a component/tween pair on its own. Use TweenPlugin for one pair or DefaultTweenPlugin for the standard transform pairs.

Constructor


constructor()

Methods


register(_app: App): void

View source

Configures the app during the registration phase of App#run.

PluginRegistry calls this hook for each registered plugin in insertion order, before it validates any Plugin#requires IDs. A hook can use the app’s registration methods to configure worlds and resources, install component hooks, and stage schedules with execution callbacks for the app runner. It can also call App#registerPlugin to add a nested plugin. The registry continues through plugins added during this pass, and those plugins also reach the later Plugin#finish pass. Return values are ignored.

Parameters

NameDescriptionDefault
_app

App being configured.

—

Returns

This hook’s return value is ignored.