Interface IMaterialsVariantsProvider
Provides access to glTF materials variants.
Namespace: GLTFast
Assembly: glTFast.dll
Syntax
public interface IMaterialsVariantsProvider
Properties
MaterialsVariantsCount
Number of materials variants.
Declaration
int MaterialsVariantsCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
Methods
GetMaterialsVariantName(int)
Gets the name of a specific materials variant.
Declaration
string GetMaterialsVariantName(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | Materials variant index. |
Returns
| Type | Description |
|---|---|
| string | Name of a materials variant. |