Skip to content

five-on-it / apps/client/src/renderer/draw / unlitMaterial

Function: unlitMaterial() ​

unlitMaterial(scene, name, color, wireframe?): StandardMaterial

Defined in: apps/client/src/renderer/draw.ts:29

A material of one colour that ignores the lights (a wireframe with wireframe).

Parameters ​

scene ​

Scene

name ​

string

color ​

Color3

wireframe? ​

boolean = false

Returns ​

StandardMaterial