MarkerBatchPrimitive Constructor (MarkerBatchSizeSource, MarkerBatchSortOrder, SetHint, MarkerBatchRenderingMethod) |
Namespace: AGI.Foundation.Graphics
public MarkerBatchPrimitive( MarkerBatchSizeSource sizeSource, MarkerBatchSortOrder sortOrder, SetHint setHint, MarkerBatchRenderingMethod renderingMethod )
Exception | Condition |
---|---|
UnsupportedCaseException | setHint must be a valid enumeration value in SetHint. |
UnsupportedCaseException | sizeSource 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. |
After constructing the primitive, call a method such as Set(IEnumerableCartesian) or SetCartographic(CentralBody, IEnumerableCartographic) to provide it with positions for markers.
The primitive's properties are initialized to the following values:
Once the primitive is constructed, it must be added to Primitives before it will be rendered.