FloatingLabel
Description
- Derived from
-
SceneEntityBase abstract
ILocalSpaceProperty
ICenterLocalProperty
A scene entity that places a floating 2D label in the 3D scene.
The ISceneEntityView.QueryScreen method generates a ScreenLabelResult for the views of the floating label.
Public / Attributes
Anchor
The anchor to use to align the screen label at the center.
The anchor depicts the pixel offset in the screen label that will coincide with the projected label center coordinates:
(0,0) (1,0) +---------+ Pixel bounds of label on screen | | | . | Coordinates of anchor | | +---------+ (0,1) (1,1)
Defaults to (0.5, 1.0).
ContentAsFrame
A convenience property that accesses the label frame content as a IScreenLabel object.
- See also
ContentAsIcon
A convenience property that accesses the label icon content as a IResourceHandle object.
- See also
ContentAsString
A convenience property that accesses the label text content as a string value.
- See also
ContentAsText
A convenience property that accesses the label text content as a Text object.
- See also
DistanceRange
The range of distance values between the label content and the camera in which the label shall be visible.
Defaults to RangeD.Max.