Instance Property

materials

The materials used by the model.

Declaration

var materials: [Material]

See Also

Configuring the Material

struct SimpleMaterial

A basic material that you can apply to meshes.

struct UnlitMaterial

A simple material that doesn’t respond to lights in the scene.

struct OcclusionMaterial

An invisible material that hides objects rendered behind it.

protocol Material

A type that describes the material aspects of a mesh, like color and texture.

enum MaterialColorParameter

The color parameter applied to a material.

enum MaterialScalarParameter

The scalar parameter applied to a material.