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: 24.2.419.0 (24.2.419.0)
Syntax public void Set(
IEnumerable<Cartesian> positions,
MarkerBatchPrimitiveOptionalParameters optionalParameters,
RenderPassHint renderPassHint
)
Public Sub Set (
positions As IEnumerable(Of Cartesian),
optionalParameters As MarkerBatchPrimitiveOptionalParameters,
renderPassHint As RenderPassHint
)
public:
void Set(
IEnumerable<Cartesian>^ positions,
MarkerBatchPrimitiveOptionalParameters^ optionalParameters,
RenderPassHint renderPassHint
)
member Set :
positions : IEnumerable<Cartesian> *
optionalParameters : MarkerBatchPrimitiveOptionalParameters *
renderPassHint : RenderPassHint -> unit
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