TransformEditor

SWVL new Cesium.TransformEditor(options)

A tool for editing the transform of an object
Name Type Description
options Object An object with the following properties
Name Type Default Description
container Element
scene Scene The scene
transform Matrix4 The initial transform of the primitive that needs positioning
boundingSphere BoundingSphere The bounding sphere of the primitive that needs positioning
pixelSize Number 100 optional The desired size of the transformation widget in pixels. Set this to zero to disable screen space scaling.
maximumSizeInMeters Number Infinity optional The maximum size of the transformation widget in meters. Set this to Infinity for no limit.

Members

readonly container : Element

Gets the parent container.
Gets the view model.

Methods

Destroys the widget. Should be called if permanently removing the widget from layout.
Returns:
true if the object has been destroyed, false otherwise.