@itwin/frontend-devtools
Version:
Debug menu and supporting UI widgets
87 lines • 3.05 kB
TypeScript
/** @packageDocumentation
* @module Tools
*/
import { LinePixels, RgbColorProps } from "@itwin/core-common";
import { Tool } from "@itwin/core-frontend";
/** Set model appearance override for transparency in display style.
* @beta
*/
export declare class SetModelTransparencyTool extends Tool {
static toolId: string;
static get minArgs(): number;
static get maxArgs(): number;
run(transparency: number, name: string): Promise<boolean>;
parseAndRun(...args: string[]): Promise<boolean>;
}
/** Set model appearance override for line weight in display style.
* @beta
*/
export declare class SetModelLineWeightTool extends Tool {
static toolId: string;
static get minArgs(): number;
static get maxArgs(): number;
run(weight: number, name: string): Promise<boolean>;
parseAndRun(...args: string[]): Promise<boolean>;
}
/** Set model appearance override for line code in display style.
* @beta
*/
export declare class SetModelLineCodeTool extends Tool {
static toolId: string;
static get minArgs(): number;
static get maxArgs(): number;
static linePixels: LinePixels[];
run(lineCode: number, name: string): Promise<boolean>;
parseAndRun(...args: string[]): Promise<boolean>;
}
/** Set model appearance override for nonLocatable in display style.
* @beta
*/
export declare class SetModelLocateTool extends Tool {
static toolId: string;
static get minArgs(): number;
static get maxArgs(): number;
run(locate: boolean, name: string): Promise<boolean>;
parseAndRun(...args: string[]): Promise<boolean>;
}
/** Set model appearance override for emphasized in display style.
* @beta
*/
export declare class SetModelEmphasizedTool extends Tool {
static toolId: string;
static get minArgs(): number;
static get maxArgs(): number;
run(emphasized: true | undefined, name: string): Promise<boolean>;
parseAndRun(...args: string[]): Promise<boolean>;
}
/** Set model appearance override for ignoreMaterials in display style.
* @beta
*/
export declare class SetModelIgnoresMaterialsTool extends Tool {
static toolId: string;
static get minArgs(): number;
static get maxArgs(): number;
run(ignoresMaterial: true | undefined, name: string): Promise<boolean>;
parseAndRun(...args: string[]): Promise<boolean>;
}
/** Set model appearance override for color in display style.
* @beta
*/
export declare class SetModelColorTool extends Tool {
static toolId: string;
static get minArgs(): number;
static get maxArgs(): number;
run(rgb: RgbColorProps, name: string): Promise<boolean>;
parseAndRun(...args: string[]): Promise<boolean>;
}
/** clear model appearance overrides in display style.
* @beta
*/
export declare class ClearModelAppearanceOverrides extends Tool {
static toolId: string;
static get minArgs(): number;
static get maxArgs(): number;
run(name?: string): Promise<boolean>;
parseAndRun(...args: string[]): Promise<boolean>;
}
//# sourceMappingURL=ModelAppearanceTools.d.ts.map