Class WorldLabel
Immutable world anchor for an overlay label; labels do not affect picking or depth.
Inherited Members
Namespace: Simple3D.Core
Assembly: Simple3D.Core.dll
Syntax
public sealed class WorldLabel
Constructors
| Edit this page View SourceWorldLabel(string, Vector3, uint)
Creates a label with a finite world anchor.
Declaration
public WorldLabel(string text, Vector3 position, uint color = 4280297272)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | |
| Vector3 | position | |
| uint | color |
Properties
| Edit this page View SourceColor
Opaque packed 0xAARRGGBB text color.
Declaration
public uint Color { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Position
Anchor in world coordinates.
Declaration
public Vector3 Position { get; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
Text
Text to display.
Declaration
public string Text { get; }
Property Value
| Type | Description |
|---|---|
| string |