Class MaterialVariantsMapping
Maps a material index to one or more materials variants indices.
Inherited Members
Namespace: Unity.Cloud.Gltfast.Objects
Assembly: Unity.Cloud.Gltfast.dll
Syntax
[MovedFrom(true, "GLTFast.Schema", "glTFast", null)]
public class MaterialVariantsMapping
Properties
Material
Material index.
Declaration
[JsonPropertyName("material")]
public int? Material { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Variants
Materials variants indices.
Declaration
[JsonPropertyName("variants")]
public List<int> Variants { get; set; }
Property Value
| Type | Description |
|---|---|
| List<int> |