Class
RemoteTransform3DPlugin
View sourceExtendsPlugin
Adds 3D remote-transform support to an App.
Entities with RemoteTransform3D can follow selected position,
orientation, and scale channels from a referenced 3D entity while applying
their configured offset. A channel is updated only when it is enabled, and
the target is left unchanged when its referenced entity does not provide a
complete 3D transform.
The plugin requires CorePlugin, ReflectPlugin, and
MathPlugin, plus Transform3DPlugin for the source and
target transform components. Register these dependencies before registering
this plugin; dependencies are checked but not installed automatically.
Examples
import { App } from '@wimaengine/app'
import { CorePlugin } from '@wimaengine/core'
import { MathPlugin } from '@wimaengine/math'
import { ReflectPlugin } from '@wimaengine/reflect'
import {
RemoteTransform3DPlugin,
Transform3DPlugin
} from '@wimaengine/transform'
new App()
.registerPlugin(new ReflectPlugin())
.registerPlugin(new CorePlugin())
.registerPlugin(new MathPlugin())
.registerPlugin(new Transform3DPlugin())
.registerPlugin(new RemoteTransform3DPlugin())
.run()Constructor
Methods
register(app: App): void
View sourceEnables 3D remote transforms for an App.
requires(): TypeId[]
View sourceReturns the plugin IDs required for 3D remote-transform support.
The app must already have CorePlugin, ReflectPlugin,
MathPlugin, and Transform3DPlugin registered.
Registering this plugin does not install them automatically.
