MarkerBatchPrimitiveSize Property |
Namespace: AGI.Foundation.Graphics
Exception | Condition |
---|---|
InvalidOperationException | Cannot manually set the marker batch's size because the marker batch was not constructed with MarkerBatchSizeSource.UserDefined. |
To use user-defined per-marker sizes, the marker batch must be constructed with MarkerBatchSizeSource.UserDefined, otherwise each marker's size is its texture's size.
The size may be interpreted to be pixels or meters depending on MarkerBatchPrimitive.SizeUnit.
If per-marker sizes were specified with MarkerBatchPrimitiveOptionalParameters.SetSizes, the per-batch size is ignored.