TextBatchPrimitiveOptionalParametersSetEyeOffsets Method |
Namespace: AGI.Foundation.Graphics
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 string in a text batch is located at the same position as a model primitive, an eye offset in the positive y direction can be applied to the string so it appears a specified number of meters above the model.
Per-string eye offsets override the per-batch eye offset. Therefore, when per-string eye offsets are defined with this method, EyeOffset is ignored.