Click or drag to resize

PointBatchPrimitiveSet Method (IEnumerableCartesian, IEnumerableColor, RenderPassHint)

Defines the positions and colors of points in a point batch. The points 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.1.418.0 (24.1.418.0)
public void Set(
	IEnumerable<Cartesian> positions,
	IEnumerable<Color> colors,
	RenderPassHint renderPassHint


Type: System.Collections.GenericIEnumerableCartesian
The new positions for the point batch.
Type: System.Collections.GenericIEnumerableColor
The new colors for the point batch. There must be one color for each position in positions.
Type: AGI.Foundation.Graphics.AdvancedRenderPassHint
An optimization hint indicating the RenderPass implied by colors.

Calling this method with a renderPassHint of Unknown is equivalent to calling Set with just positions and colors. When a more specific renderPassHint is used, this method can be more efficient.

See Set for a full discussion.

See Also