@zeainc/zea-ux
Version:
36 lines • 1.19 kB
TypeScript
import { Color, NumberParameter, GeomItem, Vec3 } from '@zeainc/zea-engine';
import PlanarMovementHandle from './PlanarMovementHandle';
import './Shaders/HandleShader';
import HandleMaterial from './Shaders/HandleMaterial';
/**
* Class representing a planar movement scene widget.
*
* **Parameters**
* * **Size(`NumberParameter`):** Specifies the size of the plane handle.
*
* @extends Handle
*/
declare class XfoPlanarMovementHandle extends PlanarMovementHandle {
sizeParam: NumberParameter;
handle: GeomItem;
handleMat: HandleMaterial;
/**
* Create a planar movement scene widget.
* @param name - The name value.
* @param size - The size value.
* @param offset - The offset value.
* @param color - The color value.
*/
constructor(name: string, size: number, offset: Vec3, color?: Color);
/**
* highlight the handle to indicate it is under the mouse.
*/
highlight(): void;
/**
* Removes the highlight from the handle once the mouse moves away.
*/
unhighlight(): void;
}
export default XfoPlanarMovementHandle;
export { XfoPlanarMovementHandle };
//# sourceMappingURL=XfoPlanarMovementHandle.d.ts.map