SpatialMaterialSetFlag Method |
Note: This API is now obsolete.
If true, enables the specified flag. Flags are optional behaviour that can be turned on and off. Only one flag can be enabled at a time with this function, the flag enumerators cannot be bit-masked together to enable or disable multiple flags at once. Flags can also be enabled by setting the corresponding member to true. See SpatialMaterialFlags enumerator for options.
Namespace: Godot
[ObsoleteAttribute("SetFlag is deprecated. Use the Uv2Triplanar property instead.")] public void SetFlag( SpatialMaterialFlags flag, bool enable )
[Missing <param name="flag"/> documentation for "M:Godot.SpatialMaterial.SetFlag(Godot.SpatialMaterial.Flags,System.Boolean)"]
[Missing <param name="enable"/> documentation for "M:Godot.SpatialMaterial.SetFlag(Godot.SpatialMaterial.Flags,System.Boolean)"]