@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
14 lines (11 loc) • 494 B
TypeScript
import {WebGLRenderer} from "three";
import {AssetManager} from "../engine/asset/AssetManager";
import {RadialMenuElementDefinition} from "../view/elements/radial/RadialMenuElementDefinition";
interface MatcapSelectionOptionParams {
texture: string
assetManager: AssetManager<any>
renderer?: WebGLRenderer
label?: string
iconSize?: number
}
export function makeMatcapSelectionOption(options: MatcapSelectionOptionParams): Promise<RadialMenuElementDefinition>