Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MeshParameters<MeshType>

Type parameters

  • MeshType

Hierarchy

  • MeshParameters

Index

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) => { }

    Returns MeshParameters

Properties

hoverMaterial

hoverMaterial: Material

material

material: Material

onClickAction

onClickAction: Function

onEnterHover

onEnterHover: Function

onExitHover

onExitHover: Function

size

size: number

Generated using TypeDoc