Simple3D
Search Results for

    Show / Hide Table of Contents

    Struct ProjectedLabel

    A projected overlay label. Coordinates use the same pixel space as the frame.

    Implements
    IEquatable<ProjectedLabel>
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Simple3D.Core
    Assembly: Simple3D.Core.dll
    Syntax
    public readonly record struct ProjectedLabel : IEquatable<ProjectedLabel>

    Constructors

    | Edit this page View Source

    ProjectedLabel(WorldLabel, Vector2, float)

    A projected overlay label. Coordinates use the same pixel space as the frame.

    Declaration
    public ProjectedLabel(WorldLabel Label, Vector2 Position, float Depth)
    Parameters
    Type Name Description
    WorldLabel Label

    Source label.

    Vector2 Position

    Anchor measured from the top left.

    float Depth

    Positive distance along the view axis.

    Properties

    | Edit this page View Source

    Depth

    Positive distance along the view axis.

    Declaration
    public float Depth { get; init; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    Label

    Source label.

    Declaration
    public WorldLabel Label { get; init; }
    Property Value
    Type Description
    WorldLabel
    | Edit this page View Source

    Position

    Anchor measured from the top left.

    Declaration
    public Vector2 Position { get; init; }
    Property Value
    Type Description
    Vector2

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX