Click or drag to resize

TextBatchPrimitive Properties

The TextBatchPrimitive type exposes the following members.

Properties
  NameDescription
Public propertyAlignToPixel
Gets or sets whether the screen space position of each string is aligned to a pixel.
Public propertyAutomaticallyComputeBoundingSphere
Gets or sets if the primitive's BoundingSphere is automatically computed.
(Inherited from Primitive.)
Public propertyBoundingSphere
Gets or sets the bounding sphere that encompasses the primitive. The center is defined in the primitive's ReferenceFrame.
(Inherited from Primitive.)
Public propertyBoundingSphereScale
Gets or sets the scale applied to the radius of this primitive's bounding sphere.
Public propertyColor
Gets or sets the color that affects every string in the batch.
(Overrides PrimitiveColor.)
Public propertyDisplay
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.)
Public propertyDisplayCondition
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.)
Public propertyDistanceDisplayConditionPerString
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.
Public propertyFont
Gets the font used to render the text batch.
Public propertyOutlineColor
Gets or sets the text's outline color.
Public propertyOutlineTranslucency
Gets or sets the text's outline translucency. Translucency is between 0 and 1, where 0 is opaque and 1 is transparent.
Public propertyPerItemCullingEnabled
Gets or sets whether individual text indices will be culled individually.
Public propertyPerItemPickingEnabled
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.
Public propertyReferenceFrame
Gets or sets the reference frame this primitive is defined and rendered in.
(Inherited from Primitive.)
Public propertyRenderInScreenSpace
Gets or sets whether the primitive is positioned and rendered in screen space coordinates.
Public propertySetHint
Gets the primitive's SetHint. See the Set Hint topic for more information on selecting an appropriate value to construct the primitive with.
Public propertyTag
Gets or sets custom data associated with this primitive.
(Inherited from Primitive.)
Public propertyTextureFilter
Gets or sets the filter used to filter the texture-based Font.
Public propertyTranslucency
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.)
Top
See Also