Click or drag to resize

MarkerBatchPrimitiveOptionalParametersSetEyeOffsets Method

Defines a collection of eye offsets, one for each marker in the batch.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 19.1.398.0 (19.1.398.0)
public void SetEyeOffsets(
	IEnumerable<Cartesian> eyeOffsets


Type: System.Collections.GenericIEnumerableCartesian
The eye offsets for each marker in the batch. There must be one eye offset for each position passed to the MarkerBatchPrimitive's Set or SetPartial method.

Eye offsets define an eye-space translation in meters. In eye-space, the x axis points to the right, the y axis points up, and the z axis points into the screen. Eye offsets are commonly used when more than one primitive is located at the same position. For example, if a marker in a marker batch is located at the same position as a model primitive, an eye offset in the positive y direction can be applied to the marker so it appears a specified number of meters above the model.

Per-marker eye offsets override the per-batch eye offset. Therefore, when per-marker eye offsets are defined with this method, MarkerBatchPrimitive.EyeOffset is not used.

See Also