Class MeshParameters<MeshType>
Constructors
constructor
- new MeshParameters(size?: number, color?: string, hoverColor?: string, shaderType?: ShaderTypes, onEnterHover?: Function, onExitHover?: Function, onClickAction?: Function): MeshParameters
-
Parameters
-
Default value size: number = 1
-
Default value color: string = "00ff00"
-
Default value hoverColor: string = "ff0000"
-
Default value shaderType: ShaderTypes = ShaderTypes.BASIC
-
Default value onEnterHover: Function = (mesh: MeshType) => { }
-
Default value onExitHover: Function = (mesh: MeshType) => { }
-
Default value onClickAction: Function = (mesh: MeshType) => { }
Properties
hoverMaterial
hoverMaterial: Material
material
material: Material
onClickAction
onClickAction: Function
onEnterHover
onEnterHover: Function
onExitHover
onExitHover: Function