Click or drag to resize

SpatialMaterialDistanceFadeModeEnum Enumeration

[Missing <summary> documentation for "T:Godot.SpatialMaterial.DistanceFadeModeEnum"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum DistanceFadeModeEnum
Members
  Member nameValueDescription
Disabled0

Do not use distance fade.

PixelAlpha1

Smoothly fades the object out based on each pixel's distance from the camera using the alpha channel.

PixelDither2

Smoothly fades the object out based on each pixel's distance from the camera using a dither approach. Dithering discards pixels based on a set pattern to smoothly fade without enabling transparency. On certain hardware this can be faster than .

ObjectDither3

Smoothly fades the object out based on the object's distance from the camera using a dither approach. Dithering discards pixels based on a set pattern to smoothly fade without enabling transparency. On certain hardware this can be faster than .

See Also