@zeainc/zea-ux
Version:
44 lines • 1.45 kB
TypeScript
import { TreeItem, ColorParameter, XfoParameter, Parameter } from '@zeainc/zea-engine';
import './Shaders/HandleShader';
import SelectionGroup from '../SelectionGroup';
/**
* Class representing a xfo handle. Base transformations for objects in the scene
*
* **Parameters**
* * **HighlightColor(`ColorParameter`):** Specifies the highlight color of the handle.
*
* @extends TreeItem
*/
declare class XfoHandle extends TreeItem {
param: Parameter<unknown>;
highlightColorParam: ColorParameter;
/**
* Create an axial rotation scene widget.
*
* @param size - The size value.
* @param thickness - The thickness value.
*/
constructor(size?: number, thickness?: number);
/**
* Displays handles depending on the specified mode(Move, Rotate, Scale).
* If nothing is specified, it hides all of them.
* @deprecated
* @param visible - The mode of the Xfo parameter
*/
showHandles(visible: boolean): void;
/**
* Sets global xfo target parameter.
*
* @param param - The parameter that will be modified during manipulation
*/
setTargetParam(param: XfoParameter): void;
/**
* Sets selectionGroup so this handle can modify the items.
*
* @param selectionGroup - The SelectionGroup.
*/
setSelectionGroup(selectionGroup: SelectionGroup): void;
}
export default XfoHandle;
export { XfoHandle };
//# sourceMappingURL=XfoHandle.d.ts.map