OrderedCompositePrimitive Constructor |
Namespace: AGI.Foundation.Graphics
After constructing a composite, use Add(Primitive) to add primitives in the order they should be rendered; primitives added first are rendered below those added later. Once primitives are added to the composite, use methods such as BringToFront(Primitive) and SendToBack(Primitive) to change the render order.
The primitive's properties are initialized to the following values:
Once the primitive is constructed, it must be added to Primitives before it will be rendered.