Click or drag to resize

PrimitiveMeshGetMaterial Method

Note: This API is now obsolete.

[Missing <summary> documentation for "M:Godot.PrimitiveMesh.GetMaterial"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("GetMaterial is deprecated. Use the Material property instead.")]
public Material GetMaterial()

Return Value

Type: Material

[Missing <returns> documentation for "M:Godot.PrimitiveMesh.GetMaterial"]

See Also