Click or drag to resize

SpatialMaterialGetFlag Method

Note: This API is now obsolete.

Returns true, if the specified flag is enabled. See SpatialMaterialFlags enumerator for options.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("GetFlag is deprecated. Use the Uv2Triplanar property instead.")]
public bool GetFlag(
	SpatialMaterialFlags flag
)

Parameters

flag
Type: GodotSpatialMaterialFlags

[Missing <param name="flag"/> documentation for "M:Godot.SpatialMaterial.GetFlag(Godot.SpatialMaterial.Flags)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.SpatialMaterial.GetFlag(Godot.SpatialMaterial.Flags)"]

See Also