Click or drag to resize

OrderedCompositePrimitiveSendBackward Method

Moves a primitive in the composite backwards one slot. Primitives at the bottom are rendered below primitives at the front.

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

Parameters

primitive
Type: AGI.Foundation.GraphicsPrimitive
The primitive in the composite to send backwards.
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