@zeainc/zea-ux
Version:
36 lines • 1.09 kB
TypeScript
import { Color, Sphere, TreeItem, Xfo } from '@zeainc/zea-engine';
import CreateGeomChange from './CreateGeomChange';
/**
* Class representing a create sphere change.
*
* **Events**
* * **updated:** Triggered when the change is updated
*
* @extends CreateGeomChange
*/
declare class CreateSphereChange extends CreateGeomChange {
sphere: Sphere;
/**
* Create a create sphere change.
* @param parentItem - The parentItem value.
* @param xfo - The xfo value.
* @param color - The color of the sphere to create.
*/
constructor(parentItem: TreeItem, xfo: Xfo, color: Color);
protected createGeomItem(): void;
/**
* Updates sphere geometry using the specified data.
*
* @param updateData - The updateData param.
*/
update(updateData: Record<any, any>): void;
/**
* Serializes sphere geometry as a JSON object.
*
* @return {object} The return value.
*/
toJSON(): Record<any, any>;
}
export default CreateSphereChange;
export { CreateSphereChange };
//# sourceMappingURL=CreateSphereChange.d.ts.map