Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MaterialsService

Index

Constructors

constructor

Properties

Static textures

textures: { brownPlanks: { light: { albedo: string }; microSurfaceTexture: string }; brushedConcrete: { grey: { albedo: string }; microSurfaceTexture: string; sand: { albedo: string } }; metal1: { light: { albedo: string; metalness: string; normalGL: string; roughness: string }; microSurfaceTexture: string }; rock1: { default: { albedo: string; roughness: string }; microSurfaceTexture: string }; wood1: { dark: { albedo: string }; light: { albedo: string }; microSurfaceTexture: string }; wood2: { light: { albedo: string }; microSurfaceTexture: string }; woodenPlanks: { light: { albedo: string }; microSurfaceTexture: string } }

Type declaration

  • brownPlanks: { light: { albedo: string }; microSurfaceTexture: string }
    • light: { albedo: string }
      • albedo: string
    • microSurfaceTexture: string
  • brushedConcrete: { grey: { albedo: string }; microSurfaceTexture: string; sand: { albedo: string } }
    • grey: { albedo: string }
      • albedo: string
    • microSurfaceTexture: string
    • sand: { albedo: string }
      • albedo: string
  • metal1: { light: { albedo: string; metalness: string; normalGL: string; roughness: string }; microSurfaceTexture: string }
    • light: { albedo: string; metalness: string; normalGL: string; roughness: string }
      • albedo: string
      • metalness: string
      • normalGL: string
      • roughness: string
    • microSurfaceTexture: string
  • rock1: { default: { albedo: string; roughness: string }; microSurfaceTexture: string }
    • default: { albedo: string; roughness: string }
      • albedo: string
      • roughness: string
    • microSurfaceTexture: string
  • wood1: { dark: { albedo: string }; light: { albedo: string }; microSurfaceTexture: string }
    • dark: { albedo: string }
      • albedo: string
    • light: { albedo: string }
      • albedo: string
    • microSurfaceTexture: string
  • wood2: { light: { albedo: string }; microSurfaceTexture: string }
    • light: { albedo: string }
      • albedo: string
    • microSurfaceTexture: string
  • woodenPlanks: { light: { albedo: string }; microSurfaceTexture: string }
    • light: { albedo: string }
      • albedo: string
    • microSurfaceTexture: string

Methods

Static brownPlanks

  • brownPlanks(scene: Scene, wAng: number, scale: number): PBRMaterial
  • Parameters

    • scene: Scene
    • wAng: number
    • scale: number

    Returns PBRMaterial

Static brushedConcrete

  • brushedConcrete(scene: Scene, wAng: number, scale: number): PBRMaterial
  • Parameters

    • scene: Scene
    • wAng: number
    • scale: number

    Returns PBRMaterial

Static glass

  • glass(scene: Scene, albedoColor: string): PBRMaterial
  • Parameters

    • scene: Scene
    • albedoColor: string

    Returns PBRMaterial

Static metal1

  • metal1(scene: Scene, wAng: number, scale: number): PBRMaterial
  • Parameters

    • scene: Scene
    • wAng: number
    • scale: number

    Returns PBRMaterial

Static rock1Material

  • rock1Material(scene: Scene, wAng: number, scale: number): PBRMaterial
  • Parameters

    • scene: Scene
    • wAng: number
    • scale: number

    Returns PBRMaterial

Static roughPlastic

  • roughPlastic(scene: Scene, color: string): PBRMaterial
  • Parameters

    • scene: Scene
    • color: string

    Returns PBRMaterial

Static simpleBlackMaterial

  • simpleBlackMaterial(scene: any): PBRMaterial
  • Parameters

    • scene: any

    Returns PBRMaterial

Static wood1Material

  • wood1Material(scene: Scene, wAng: number, scale: number): PBRMaterial
  • Parameters

    • scene: Scene
    • wAng: number
    • scale: number

    Returns PBRMaterial

Static wood2Material

  • wood2Material(scene: Scene, wAng: number, scale: number): PBRMaterial
  • Parameters

    • scene: Scene
    • wAng: number
    • scale: number

    Returns PBRMaterial

Static wood3Material

  • wood3Material(scene: Scene, wAng: number, scale: number): PBRMaterial
  • Parameters

    • scene: Scene
    • wAng: number
    • scale: number

    Returns PBRMaterial

Static woodenPlanks

  • woodenPlanks(scene: Scene, wAng: number, scale: number): PBRMaterial
  • Parameters

    • scene: Scene
    • wAng: number
    • scale: number

    Returns PBRMaterial

Generated using TypeDoc