Target Indicators
Search Results for

    Show / Hide Table of Contents

    Struct Ellipse

    The data that defines the ellipse of the screen boundary.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.GetType()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: TargetIndicators
    Assembly: TargetIndicators.dll
    Syntax
    public struct Ellipse

    Constructors

    Ellipse(Vector2, float, float)

    Constructs ellipse data by the center and axis lengths. This is provided by the TargetIndicatorManager.

    Declaration
    public Ellipse(Vector2 center, float semiMajorAxisLength, float semiMinorAxisLength)
    Parameters
    Type Name Description
    Vector2 center

    The coordinates of the center of the ellipse in screen space.

    float semiMajorAxisLength

    The length of the semi major axis, or half of the horizontal diameter.

    float semiMinorAxisLength

    The length of the semi minor axis, or half of the vertical diameter.

    Properties

    Center

    The coordinates of the center of the ellipse in screen space.

    Declaration
    public readonly Vector2 Center { get; }
    Property Value
    Type Description
    Vector2

    SemiMajorAxisLength

    The length of the semi major axis, or half of the horizontal diameter.

    Declaration
    public readonly float SemiMajorAxisLength { get; }
    Property Value
    Type Description
    float

    SemiMinorAxisLength

    The length of the semi minor axis, or half of the vertical diameter.

    Declaration
    public readonly float SemiMinorAxisLength { get; }
    Property Value
    Type Description
    float
    In this article
    Back to top Generated by DocFX