The renderer plugin context.
Adds the given Disposable to be owned by this plugin.
Adds an event listener for a specific event.
The type of the event key.
An EventHandle with a remove method to unsubscribe the listener.
Animates the camera to the home position while preserving the current yaw angle.
Animates the camera to the home position.
Home position is either computed based on the asset's bounds or set explicitly by setDefaultAssetHome.
Animates the camera to a top-down view of the map.
Animates the camera to the specified look-at position.
Animates the camera to look at the center of the asset with a certain pitch, yaw and roll
Dispatches the given event with given payload on the plugin.
Returns the current camera state, including the eye position, forward vector, and up vector.
The reference frame for the returned camera state, either 'ASSET' or 'WORLD'. Default is 'ASSET'.
OptionalhookCalled by the plugin system is initialized.
The context provided to the plugin.
OptionalhookCalled when the plugin is registered in the system. The result of this hook determines whether the plugin is enabled.
The context provided to the plugin.
Whether the plugin should be enabled.
Called when the plugin system is manually torn down. This should be used to clean up resources.
The context provided to the plugin.
Checks if the camera is currently in a top-down view.
Checks if the plugin has been torn down.
true if the plugin has been torn down, otherwise false.
Sets the default camera state (home position & orientation).
If no default state is explicitly set, it will be computed based on the asset's bounds. The camera state that is passed should be in the reference of the asset.
OptionalcameraState: CameraState | nullThe new default camera state to set. If null is provided, the computed camera state will be used as the home position.
Transform from RIA map representation to the Asset representation (the case for non-geo-referenced assets)
Transform from Asset representation to the RIA map representation
A plugin that manages interactions and operations related to the asset camera.