Click or drag to resize

CompositePrimitiveAdd Method

Adds a primitive to the composite.

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 Add(
	Primitive primitive
)

Parameters

primitive
Type: AGI.Foundation.GraphicsPrimitive
The primitive to add to the composite.
Exceptions
ExceptionCondition
ArgumentNullExceptionprimitive is null.
ArgumentExceptionprimitive doesn't have the same ReferenceFrame as the composite.
ArgumentExceptionprimitive already exists in another composite or the primitive manager.
See Also