Click or drag to resize

OrderedCompositePrimitive.SendToBack Method

Moves a primitive to the bottom of the composite, so that it is rendered below all other primitives in the composite.

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

Parameters

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