Click or drag to resize

PrimitiveDisplay 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: 19.2.399.0 (19.2.399.0)
public virtual bool Display { get; set; }

Property Value

Type: Boolean

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