Click or drag to resize
DigitalRuneImageBillboardSoftness Property
Gets or sets the softness - see remarks.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public float Softness { get; set; }

Property Value

Type: Single

The softness of the billboard:
0 ... Disabled: The billboard is rendered with hard edges.
-1 or NaN ... Automatic: The thickness of the billboard is determined automatically.
>0 ... Manual: The value defines the thickness of the billboard (= soft particle distance threshold).

The default value is 0.

Remarks
A regular billboard is rendered using a textured quad, which creates hard edges when it intersects with other geometry in the scene. A soft billboard (same as "soft particles") has a volume and creates soft transitions when it intersects with other geometry.
See Also