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: 24.2.419.0 (24.2.419.0)
Syntax public virtual bool Display { get; set; }
Public Overridable Property Display As Boolean
Get
Set
public:
virtual property bool Display {
bool get ();
void set (bool value);
}
abstract Display : bool with get, set
override Display : bool with get, set
Property Value
Type:
BooleanRemarks
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