OrderedCompositePrimitiveBringToFront Method |
Moves a primitive to the top of the composite, so that it is
rendered on top of all other primitives in the composite.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic void BringToFront(
Primitive primitive
)
Public Sub BringToFront (
primitive As Primitive
)
public:
void BringToFront(
Primitive^ primitive
)
member BringToFront :
primitive : Primitive -> unit
Parameters
- primitive
- Type: AGI.Foundation.GraphicsPrimitive
The primitive in the composite to bring to the front.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | primitive is null.
|
| ArgumentException | primitive does not exist in the composite.
|
Remarks
Regardless of order in the composite, all
SurfaceMeshPrimitives
are rendered before other primitives in the composite.
See Also