Type alias InGameEditorToolbarItem
InGameEditorToolbarItem: {
color?: string;
iconUrl?: string;
id: string;
isActive?: boolean;
onClick: (() => void);
tooltip: string;
type: "button";
} | {
iconUrl?: string;
id: string;
max: float;
min: float;
onChange: ((value) => void);
tooltip: string;
type: "slider";
value: float;
} | {
id: string;
type: "divider";
}
Type declaration
Optional color?: string
Optional iconUrl?: string
id: string
Optional isActive?: boolean
onClick: (() => void)
tooltip: string
type: "button"
Type declaration
Optional iconUrl?: string
id: string
max: float
min: float
onChange: ((value) => void)
- (value): void
Returns void
tooltip: string
type: "slider"
value: float
Type declaration
id: string
type: "divider"
An item of a toolbar shown by an extension (see
InGameEditor.showToolbar).