Search Results for

    Show / Hide Table of Contents

    Struct Half3

    Defines a three component vector, using half precision floating point coordinates.

    Assembly: FlaxEngine.dll
    File: Engine/Core/Math/Half.h
    Syntax
    public struct Half3

    Constructors

    Half3()

    Declaration
    public Half3() = default

    Fields

    X

    Gets or sets the X component of the vector.

    Declaration
    public Half X
    Field Value
    Half

    Y

    Gets or sets the Y component of the vector.

    Declaration
    public Half Y
    Field Value
    Half

    Z

    Gets or sets the Z component of the vector.

    Declaration
    public Half Z
    Field Value
    Half

    Zero

    Zero vector

    Declaration
    public static Half3 Zero
    Field Value
    Half3

    Methods

    Half3(const Float3& v)

    Declaration
    public Half3(const Float3& v)
    Parameters
    Float3 v

    Returns
    FORCE_INLINE

    Half3(float x, float y, float z)

    Declaration
    public Half3(float x, float y, float z)
    Parameters
    float x

    float y

    float z

    Returns
    FORCE_INLINE

    Half3(Half x, Half y, Half z)

    Declaration
    public Half3(Half x, Half y, Half z)
    Parameters
    Half x

    Half y

    Half z

    Returns
    FORCE_INLINE

    ToFloat3()

    Declaration
    public Float3 ToFloat3() const
    Returns
    Float3

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • Half3()
    • Fields
      • X
      • Y
      • Z
      • Zero
    • Methods
      • Half3(const Float3& v)
      • Half3(float x, float y, float z)
      • Half3(Half x, Half y, Half z)
      • ToFloat3()
    Back to top Copyright © 2012-2024 Wojciech Figat