Struct UIVector3

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    Defines a value type of vector3.

    public struct UIVector3 : IEquatable<UIVector3>
    Implements
    IEquatable<><UIVector3>

    Constructors

    View Source

    UIVector3(float, float, float)

    Initializes a new instance of the UIVector3 struct.

    Declaration
    public UIVector3(float x, float y, float z)
    Parameters
    Type Name Description
    float x

    The x value.

    float y

    The y value.

    float z

    The z value.

    View Source

    UIVector3(float, float)

    Initializes a new instance of the UIVector3 struct.

    Declaration
    public UIVector3(float x, float y)
    Parameters
    Type Name Description
    float x

    The x value.

    float y

    The y value.

    Fields

    View Source

    Zero

    The zero vector3.

    Declaration
    public static readonly UIVector3 Zero
    Field Value
    Type Description
    UIVector3

    Properties

    View Source

    Depth

    Gets the depth component of the vector3.

    Declaration
    public float Depth { get; init; }
    Property Value
    Type Description
    float
    View Source

    Height

    Gets the height component of the vector3.

    Declaration
    public float Height { get; init; }
    Property Value
    Type Description
    float
    View Source

    IsZero

    Declaration
    public readonly bool IsZero { get; }
    Property Value
    Type Description
    bool
    View Source

    Width

    Gets the width component of the vector3.

    Declaration
    public float Width { get; init; }
    Property Value
    Type Description
    float
    View Source

    X

    Gets the x component of the vector3.

    Declaration
    public float X { readonly get; init; }
    Property Value
    Type Description
    float
    View Source

    Y

    Gets the y component of the vector3.

    Declaration
    public float Y { readonly get; init; }
    Property Value
    Type Description
    float
    View Source

    Z

    Gets the z component of the vector3.

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

    Methods

    View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    View Source

    Equals(UIVector3)

    Whether this is equivalent to other.

    Declaration
    public bool Equals(UIVector3 other)
    Parameters
    Type Name Description
    UIVector3 other
    Returns
    Type Description
    bool
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Operators

    View Source

    operator +(UIVector3, UIVector3)

    Adds the specified UIVector3 to the current UIVector3.

    Declaration
    public static UIVector3 operator +(UIVector3 left, UIVector3 right)
    Parameters
    Type Name Description
    UIVector3 left

    The left operand.

    UIVector3 right

    The right operand.

    Returns
    Type Description
    UIVector3

    A new UIVector3 with the added values.

    View Source

    operator ==(UIVector3, UIVector3)

    Compares two UIVector3 for equality.

    Declaration
    public static bool operator ==(UIVector3 operand1, UIVector3 operand2)
    Parameters
    Type Name Description
    UIVector3 operand1

    The first operand object.

    UIVector3 operand2

    The second operand object.

    Returns
    Type Description
    bool

    True if both are equal, otherwise false.

    View Source

    implicit operator UIVector3(UIVector2)

    Converts the UIVector2 to UIVector3 class implicitly.

    Declaration
    public static implicit operator UIVector3(UIVector2 uiVector2)
    Parameters
    Type Name Description
    UIVector2 uiVector2

    A UIVector2 to be converted to UIVector3

    Returns
    Type Description
    UIVector3
    View Source

    implicit operator Vector3(UIVector3)

    Converts the UIVector3 to Vector3 class implicitly.

    Declaration
    public static implicit operator Vector3(UIVector3 uiVector3)
    Parameters
    Type Name Description
    UIVector3 uiVector3

    A UIVector3 to be converted to Vector3

    Returns
    Type Description
    Vector3
    View Source

    operator !=(UIVector3, UIVector3)

    Compares two UIVector3 for inequality.

    Declaration
    public static bool operator !=(UIVector3 operand1, UIVector3 operand2)
    Parameters
    Type Name Description
    UIVector3 operand1

    The first operand object.

    UIVector3 operand2

    The second operand object.

    Returns
    Type Description
    bool

    True if both are not equal, otherwise false.

    View Source

    operator -(UIVector3, UIVector3)

    Subtracts the specified UIVector3 from the current UIVector3.

    Declaration
    public static UIVector3 operator -(UIVector3 left, UIVector3 right)
    Parameters
    Type Name Description
    UIVector3 left

    The left operand.

    UIVector3 right

    The right operand.

    Returns
    Type Description
    UIVector3

    A new UIVector3 with the subtracted values.

    Implements

    IEquatable<>

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX