MeshInstanceGetActiveMaterial Method |
Returns the Material that will be used by the Mesh when drawing. This can return the MaterialOverride, the surface override Material defined in this MeshInstance, or the surface Material defined in the Mesh. For example, if MaterialOverride is used, all surfaces will return the override material.
Namespace: Godot
public Material GetActiveMaterial( int surface )
[Missing <param name="surface"/> documentation for "M:Godot.MeshInstance.GetActiveMaterial(System.Int32)"]
[Missing <returns> documentation for "M:Godot.MeshInstance.GetActiveMaterial(System.Int32)"]