Click or drag to resize

OrderedCompositePrimitiveBringForward Method

Moves a primitive in the composite forward one slot. Primitives at the front are rendered on top of primitives at the bottom.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public void BringForward(
	Primitive primitive
)

Parameters

primitive
Type: AGI.Foundation.GraphicsPrimitive
The primitive in the composite to bring forward.
Exceptions
ExceptionCondition
ArgumentNullExceptionprimitive is null.
ArgumentExceptionprimitive 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