diffuseMap(...)
diffuseMap(val: string): this;
diffuseMap(val: Texture): this;
Sets the texture map that defines the object's surface color data.
Default value: null
Parameters
Parameter | Type | Description |
---|---|---|
val | string, Z.Texture | The texture that defines the object's surface color data. |
Returns
this