Click or drag to resize

VectorPrimitiveDisplay Property

Gets or sets if the primitive should be rendered. Both this and DisplayCondition must evaluate to true for the primitive to be rendered.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public override bool Display { get; set; }

Property Value

Type: Boolean
Remarks

A primitive must be added to the PrimitiveManager before it is rendered. Once in the manager, setting this property to false is more efficient than removing the primitive from the manager. Although, it is recommended to remove the primitive from the manager if the primitive will be hidden for a long period of time.

For more control over when a primitive is rendered, see DisplayCondition.

See Also