Options
All
  • Public
  • Public/Protected
  • All
Menu

Material that can render lines or faces of a mesh.

 const material = new BasicMaterial({ color: 0xFF0000, wireframe: true, opacity: 0.5 });

Hierarchy

Index

Constructors

Properties

Methods

Constructors

Properties

color: Color = ...
opacity: number = 1.0
type: string = 'BasicMaterial'
wireframe: boolean = false

Methods

  • render(context: CanvasRenderingContext2D): void

Generated using TypeDoc