SpatialMaterial.DistanceFadeMode/distanceFadeMode - multiple declarations
Function SpatialMaterial.distanceFadeMode
Specifies which type of fade to use. Can be any of the distancefademode
s.
SpatialMaterial . DistanceFadeMode distanceFadeMode() nothrow @property @nogc;
void distanceFadeMode
(
long v
) nothrow @property @nogc;
Enum SpatialMaterial.DistanceFadeMode
enum DistanceFadeMode
: int { ... }
Enum members
Name | Description |
---|---|
distanceFadeDisabled
|
Do not use distance fade. |
distanceFadeObjectDither
|
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 constant DISTANCE_FADE_PIXEL_ALPHA .
|
distanceFadePixelAlpha
|
Smoothly fades the object out based on each pixel's distance from the camera using the alpha channel. |
distanceFadePixelDither
|
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 constant DISTANCE_FADE_PIXEL_ALPHA .
|