Click or drag to resize
ModelRendererGetMaterials Method
Return a list with all materials in model. Note: if alternative materials are set, will return them. Note2: prevent duplications, eg if even if more than one part uses the same material it will only return it once.

Namespace:  GeonBit.ECS.Components.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public List<MaterialAPI> GetMaterials()

Return Value

Type: ListMaterialAPI
List of materials.
See Also