Asset Oriented Box Plugin SDK
The @sdk/asset-oriented-box SDK provides UI elements and RIA building blocks to create interactions with an oriented
box on RIA maps.
Installation
To install this package, you need to have access to the private @sdk npm scope.
To install the library, run the following command in your project directory:
npm install @sdk/asset-fsPlugin tools
OrientedBoxBased mixin
This package provides a renderer plugin mixin to quickly get you started with creating plugins that interact with an OrientedBox that is aligned around the asset. It wires up a proper event system to respond to the creation, editing and other events that could happen on an oriented box.
Note that this mixin depends on the Evented and DisposableManaged mixins:
// must extend OrientedBoxPluginEvents!
type MyPluginEvents = OrientedBoxPluginEvents & {
onDeactivateLimitBox: void;
};
class MyPlugin extends Mix(OrientedBoxBased(), DisposableManaged, Evented<MyPluginEvents>()) {}