SpatialMaterialSetFeature Method |
Note: This API is now obsolete.
If true, enables the specified SpatialMaterialFeature. Many features that are available in SpatialMaterials need to be enabled before use. This way the cost for using the feature is only incurred when specified. Features can also be enabled by setting the corresponding member to true.
Namespace: Godot
[ObsoleteAttribute("SetFeature is deprecated. Use the DetailEnabled property instead.")] public void SetFeature( SpatialMaterialFeature feature, bool enable )
[Missing <param name="feature"/> documentation for "M:Godot.SpatialMaterial.SetFeature(Godot.SpatialMaterial.Feature,System.Boolean)"]
[Missing <param name="enable"/> documentation for "M:Godot.SpatialMaterial.SetFeature(Godot.SpatialMaterial.Feature,System.Boolean)"]