Class vxlMaterial

Material associated to an actor

Constructor

vxlMaterial(model)
Encapsulates the material properties of an actor. A material can be initialized with a vxlModel object.

Parameters:

vxlModel model

the model to initialize this material object.

Methods

.clone()
Clones this material

See:

vxlActor.clone
.getFrom(model)

Parameters:

Type Name Description
Object model

the model from where the material properties are read