API Reference · Model and texture loading

MaterialSharing

Namespace: Ava3D

public enum MaterialSharing

What an instance's materials are to the asset's.

Values

ValueDescription
Shared

The asset's own Material objects, shared by every instance. A change to one recolours them all, and the renderer batches them together. The default, and right for a crowd.

Copy

A Material.Clone of each, private to the instance. Right for the one character who has to turn red without the rest of the crowd following; costs a material per distinct material per instance.

See also