TextBatchPrimitive Properties |
The TextBatchPrimitive type exposes the following members.
Name | Description | |
---|---|---|
AlignToPixel |
Gets or sets whether the screen space position of each string is aligned to a pixel.
| |
AutomaticallyComputeBoundingSphere |
Gets or sets if the primitive's BoundingSphere is automatically computed.
(Inherited from Primitive.) | |
BoundingSphere |
Gets or sets the bounding sphere that encompasses the primitive.
The center is defined in the primitive's ReferenceFrame.
(Inherited from Primitive.) | |
BoundingSphereScale |
Gets or sets the scale applied to the radius of this primitive's bounding sphere.
| |
Color |
Gets or sets the color that affects every string in the batch.
(Overrides PrimitiveColor.) | |
Display |
Gets or sets if the primitive should be
rendered.
Both this and DisplayCondition must evaluate to true for
the primitive to be rendered.
(Inherited from Primitive.) | |
DisplayCondition |
Gets or sets the display condition that determines if the primitive should be
rendered.
Both this and Display must evaluate to true for
the primitive to be rendered.
(Inherited from Primitive.) | |
DistanceDisplayConditionPerString |
Gets or sets a
DistanceDisplayCondition
that is evaluated per string in the text batch during rendering. This is different than
DisplayCondition,
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.
| |
PerItemCullingEnabled |
Gets or sets whether individual text indices will be culled individually.
| |
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.
| |
ReferenceFrame |
Gets or sets the reference frame this primitive is defined and rendered in.
(Inherited from Primitive.) | |
RenderInScreenSpace |
Gets or sets whether the primitive is positioned and rendered in screen space coordinates.
| |
SetHint |
Gets the primitive's SetHint.
See the Set Hint topic for more information on
selecting an appropriate value to construct the primitive with.
| |
Tag |
Gets or sets custom data associated with this primitive.
(Inherited from Primitive.) | |
TextureFilter |
Gets or sets the filter used to filter the texture-based Font.
| |
Translucency |
Gets or sets the translucency that affects every string in the batch.
Translucency is between 0 and 1,
where 0 is opaque and 1 is transparent.
(Overrides PrimitiveTranslucency.) |