@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
5 lines (4 loc) • 422 B
TypeScript
import { CoreEntity } from '../../../../../core/geometry/CoreEntity';
export type CoreEntitySelectionState = Map<CoreEntity, boolean>;
export declare function updateSelectionState(selectionStates: CoreEntitySelectionState, entity: CoreEntity, state: boolean): void;
export declare function selectedIndicesFromSelectionStates(selectionStates: CoreEntitySelectionState, selectedIndices: Set<number>, invert: boolean): void;