Adds a primitive to the front of the composite. Primitives at
the front are rendered on top of primitives at the bottom.
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 21.2.409.0 (21.2.409.0)
public void Add(
Public Sub Add (
primitive As Primitive
member Add :
primitive : Primitive -> unit
- Type: AGI.Foundation.GraphicsPrimitive
The primitive to add to the composite.
Primitives are rendered in the order they are added, so the first primitive
added to the composite is rendered on the bottom and the last primitive
added is rendered on top. The order can be changed with calls such as
The ordered composite primitive is intended to contain primitives rendered
on the globe's surface. It is only recommonded to add the following
In particular, it is not intended for use with:
Regardless of order in the composite, all SurfaceMeshPrimitive
are rendered before other primitives in the composite.