Class Material

Class Hierarchy

A material is an instance of a material type (ShaderProgram) that contains the property values for the material type properties. These values can be overridden in the nodes that use the material.

Inherits properties and message types from MaterialMetadata.

Synopsis

Methods
create()

Create material

Material.Material:create(name)

Create material.

Parameters
name (string)

Name of material.