TextBatchPrimitiveSetCartographic Method (CentralBody, IEnumerableCartographic, IEnumerableString, TextBatchPrimitiveOptionalParameters, RenderPassHint) |
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic void SetCartographic(
CentralBody centralBody,
IEnumerable<Cartographic> positions,
IEnumerable<string> text,
TextBatchPrimitiveOptionalParameters optionalParameters,
RenderPassHint renderPassHint
)
Public Sub SetCartographic (
centralBody As CentralBody,
positions As IEnumerable(Of Cartographic),
text As IEnumerable(Of String),
optionalParameters As TextBatchPrimitiveOptionalParameters,
renderPassHint As RenderPassHint
)
public:
void SetCartographic(
CentralBody^ centralBody,
IEnumerable<Cartographic>^ positions,
IEnumerable<String^>^ text,
TextBatchPrimitiveOptionalParameters^ optionalParameters,
RenderPassHint renderPassHint
)
member SetCartographic :
centralBody : CentralBody *
positions : IEnumerable<Cartographic> *
text : IEnumerable<string> *
optionalParameters : TextBatchPrimitiveOptionalParameters *
renderPassHint : RenderPassHint -> unit
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The central body the positions are defined on. - positions
- Type: System.Collections.GenericIEnumerableCartographic
The new positions for strings in the text batch. - text
- Type: System.Collections.GenericIEnumerableString
The text for strings in the text batch. Each element in this collection
corresponds to an element in positions.
- optionalParameters
- Type: AGI.Foundation.GraphicsTextBatchPrimitiveOptionalParameters
Optional per-batch parameters or per-string parameters corresponding to positions.
Each per-string 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-strings colors defined in optionalParameters.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | centralBody is .
|
| InvalidOperationException |
The primitive's ReferenceFrame
is not equal to centralBody fixed frame.
|
Remarks
See Also