Simple3D
Search Results for

    Show / Hide Table of Contents

    Class WorldLabel

    Immutable world anchor for an overlay label; labels do not affect picking or depth.

    Inheritance
    object
    WorldLabel
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Simple3D.Core
    Assembly: Simple3D.Core.dll
    Syntax
    public sealed class WorldLabel

    Constructors

    | Edit this page View Source

    WorldLabel(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 Source

    Color

    Opaque packed 0xAARRGGBB text color.

    Declaration
    public uint Color { get; }
    Property Value
    Type Description
    uint
    | Edit this page View Source

    Position

    Anchor in world coordinates.

    Declaration
    public Vector3 Position { get; }
    Property Value
    Type Description
    Vector3
    | Edit this page View Source

    Text

    Text to display.

    Declaration
    public string Text { get; }
    Property Value
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX