PointBatchPrimitiveTranslucency Property |
Gets or sets the translucency that affects every point in the batch.
Translucency is between 0 and 1,
where 0 is opaque and 1 is transparent.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic override float Translucency { get; set; }Public Overrides Property Translucency As Single
Get
Set
public:
virtual property float Translucency {
float get () override;
void set (float value) override;
}abstract Translucency : float32 with get, set
override Translucency : float32 with get, set
Property Value
Type:
Single
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | Translucency must be between 0 and 1.
|
| InvalidOperationException |
Cannot access Translucency when the primitive was defined
with per-position colors and translucency using a method such as
Set(IEnumerableCartesian, IEnumerableColor).
Each position has a color and translucency, therefore the primitive's
Translucency is ignored.
|
Remarks
See Also