diff --git a/doc/classes/MeshInstance.xml b/doc/classes/MeshInstance.xml index edc71944e..aff0d84bb 100644 --- a/doc/classes/MeshInstance.xml +++ b/doc/classes/MeshInstance.xml @@ -52,13 +52,14 @@ - Returns the [Material] for a surface of the [Mesh] resource. + Returns the override [Material] for a surface of the [Mesh] resource. + [b]Note:[/b] This function only returns [i]override[/i] materials associated with this [MeshInstance]. Consider using [method get_active_material] or [method Mesh.surface_get_material] to get materials associated with the [Mesh] resource. - Returns the number of surface materials. + Returns the number of surface override materials. @@ -88,7 +89,7 @@ - Sets the [Material] for a surface of the [Mesh] resource. + Sets the override [Material] for the specified surface of the [Mesh] resource. This material is associated with this [MeshInstance] rather than with the [Mesh] resource.