Struct half4 | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct half4

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: Unity.Mathematics
    Syntax
    public struct half4

    Constructors

    half4(half, half, half, half)

    Declaration
    public half4(half x, half y, half z, half w)
    Parameters
    Type Name Description
    half x
    half y
    half z
    half w

    Fields

    w

    Declaration
    public half w
    Field Value
    Type Description
    half

    x

    Declaration
    public half x
    Field Value
    Type Description
    half

    y

    Declaration
    public half y
    Field Value
    Type Description
    half

    z

    Declaration
    public half z
    Field Value
    Type Description
    half

    Operators

    Implicit(float4 to half4)

    Declaration
    public static implicit operator half4(float4 d)
    Parameters
    Type Name Description
    float4 d
    Returns
    Type Description
    half4

    Implicit(half4 to float4)

    Declaration
    public static implicit operator float4(half4 d)
    Parameters
    Type Name Description
    half4 d
    Returns
    Type Description
    float4
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023