Click or drag to resize

MarkerBatchPrimitive Constructor (MarkerBatchSizeSource, MarkerBatchSortOrder, SetHint, MarkerBatchRenderingMethod)

Initializes a marker batch primitive with the specified arguments.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public MarkerBatchPrimitive(
	MarkerBatchSizeSource sizeSource,
	MarkerBatchSortOrder sortOrder,
	SetHint setHint,
	MarkerBatchRenderingMethod renderingMethod
)

Parameters

sizeSource
Type: AGI.Foundation.Graphics.AdvancedMarkerBatchSizeSource
Determines the source used for the size of markers in the batch.
sortOrder
Type: AGI.Foundation.Graphics.AdvancedMarkerBatchSortOrder
The order in which markers in the batch should be sorted before rendering.
setHint
Type: AGI.Foundation.GraphicsSetHint
The expected usage for Set and SetPartial methods. See the Set Hint topic for more information on selecting an appropriate value.
renderingMethod
Type: AGI.Foundation.Graphics.AdvancedMarkerBatchRenderingMethod
The method used to render the primitive.
Exceptions
ExceptionCondition
UnsupportedCaseExceptionsetHint must be a valid enumeration value in SetHint.
UnsupportedCaseExceptionsizeSource must be a valid value in MarkerBatchSizeSource, sortOrder must be a valid value in MarkerBatchSortOrder, and renderingMethod must be a valid value in SurfaceMeshRenderingMethod.
InsufficientVideoCardException The renderingMethod is not supported by this video card. Call Supported(MarkerBatchRenderingMethod) to determine which rendering methods are supported.
Remarks
See Also