Click or drag to resize

MarkerBatchPrimitiveTranslucency Property

Gets or sets the translucency that affects every marker 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: 20.2.404.0 (20.2.404.0)
Syntax
public override float Translucency { get; set; }

Property Value

Type: Single
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionTranslucency must be between 0 and 1.
InvalidOperationException Cannot access Translucency when the primitive was defined with per-marker colors and translucency using a method such as a Set(IEnumerableCartesian, MarkerBatchPrimitiveOptionalParameters) Each marker has a color and translucency, therefore the primitive's Translucency is ignored.
Remarks
If per-marker color and translucency were specified with MarkerBatchPrimitiveOptionalParameters.SetColors, the per-batch translucency is ignored.
See Also