Click or drag to resize

MarkerBatchPrimitiveSet Method (IEnumerableCartesian, MarkerBatchPrimitiveOptionalParameters, RenderPassHint)

Defines the positions and optional per-marker parameters of markers in a marker batch. The markers are rendered in the primitive's ReferenceFrame. renderPassHint is provided for efficiency.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 19.4.401.0 (19.4.401.0)
Syntax
public void Set(
	IEnumerable<Cartesian> positions,
	MarkerBatchPrimitiveOptionalParameters optionalParameters,
	RenderPassHint renderPassHint
)

Parameters

positions
Type: System.Collections.GenericIEnumerableCartesian
The new positions for markers in the marker batch.
optionalParameters
Type: AGI.Foundation.GraphicsMarkerBatchPrimitiveOptionalParameters
Optional per-marker parameters corresponding to positions. Each per-marker parameter must have the same number of elements as positions.
renderPassHint
Type: AGI.Foundation.Graphics.AdvancedRenderPassHint
An optimization hint indicating the RenderPass implied by per-marker colors defined in optionalParameters.
Remarks
See Also