Renders one or more strings in the 3D scene.
For best performance, avoid creating lots of batches with only a few strings each. See the Batching Performance Overview.
Set | Defines the positions and text of strings in a text batch. The strings are rendered in the primitive's Reference Frame. |
SetCartographic | For convenience. Defines the positions and text of strings in a text batch using Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to Cartesian and calling Set. |
SetCartographicWithOptionalParameters | For convenience. Defines the positions, text, and optional parameters of strings in a text batch using Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to Cartesian and calling Set. |
SetCartographicWithOptionalParametersAndRenderPass | For convenience. Defines the positions, text, and optional parameters of strings in a text batch using Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to Cartesian and calling Set. |
SetPartial | Updates a subset of positions and/or text in a text batch. |
SetPartialCartographic | For convenience. Updates a subset of positions and/or text in a text batch using Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to Cartesian and calling Set Partial. |
SetPartialCartographicWithIndicesOrder | For convenience. Updates a subset of positions and/or text in a text batch using Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to Cartesian and calling Set Partial. |
SetPartialCartographicWithOptionalParameters | For convenience. Updates a subset of positions, text, and/or per-string parameters in a text batch using Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to Cartesian and calling Set Partial. |
SetPartialCartographicWithOptionalParametersIndicesOrderAndRenderPass | For convenience. Updates a subset of positions, text, and/or per-string parameters in a text batch using Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to Cartesian and calling Set Partial. |
SetPartialWithIndicesOrder | Updates a subset of positions and/or text in a text batch. |
SetPartialWithOptionalParameters | Updates a subset of positions, text, and/or optional per-string parameters in a text batch. |
SetPartialWithOptionalParametersIndicesOrderAndRenderPass | Updates a subset of positions, text, and/or optional per-string parameters in a text batch. |
SetWithOptionalParameters | Defines the positions, text, and optional parameters of strings in a text batch. The strings are rendered in the primitive's Reference Frame. |
SetWithOptionalParametersAndRenderPass | Defines the positions, text, and optional parameters of strings in a text batch. The strings are rendered in the primitive's Reference Frame. renderPassHint is provided for efficiency. |
AlignToPixel | Gets or sets whether the screen space position of each string is aligned to a pixel. |
BoundingSphereScale | Gets or sets the scale applied to the radius of this primitive's bounding sphere. |
DistanceDisplayConditionPerString | Gets or sets a Distance
Display Condition that is evaluated per string in the text
batch during rendering. This is different than Display
Condition, which is evaluated once for the entire text batch.
When DistanceDisplayConditionPerString is
null , no per string display condition is
evaluated. |
Font | Gets the font used to render the text batch. |
OutlineColor | Gets or sets the text's outline color. |
OutlineTranslucency | Gets or sets the text's
outline translucency. Translucency is between
0 and 1 , where 0 is opaque
and 1 is transparent. |
PerItemPickingEnabled | Gets or sets whether
individual text indices will be included in the PickResults
returned from the Scene's
Pick method. Each text index that is picked will be
returned as a BatchPrimitiveIndex. |
RenderInScreenSpace | Gets or sets whether the primitive is positioned and rendered in screen space coordinates. |
SetHint | Gets the primitive's Set Hint. See the Set Hint Performance Overview for selecting an appropriate value to construct the primitive with. |
TextureFilter | Gets or sets the filter used to filter the texture-based Font. |
Draw a set of strings
[C#] | Copy Code | |
---|---|---|
|
Draw a set of
uniquely colored strings
[C#] | Copy Code | |
---|---|---|
|
Draw a set of strings
in various languages
[C#] | Copy Code | |
---|---|---|
|