docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method hashwide

    hashwide(AffineTransform)

    Returns a uint4 vector hash code of an AffineTransform. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(AffineTransform a)
    Parameters
    Type Name Description
    AffineTransform a

    The AffineTransform to hash.

    Returns
    Type Description
    uint4

    The uint4 wide hash code.

    hashwide(bool2)

    Returns a uint2 vector hash code of a bool2 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(bool2 v)
    Parameters
    Type Name Description
    bool2 v

    Vector value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(bool2x2)

    Returns a uint2 vector hash code of a bool2x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(bool2x2 v)
    Parameters
    Type Name Description
    bool2x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(bool2x3)

    Returns a uint2 vector hash code of a bool2x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(bool2x3 v)
    Parameters
    Type Name Description
    bool2x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(bool2x4)

    Returns a uint2 vector hash code of a bool2x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(bool2x4 v)
    Parameters
    Type Name Description
    bool2x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(bool3)

    Returns a uint3 vector hash code of a bool3 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(bool3 v)
    Parameters
    Type Name Description
    bool3 v

    Vector value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(bool3x2)

    Returns a uint3 vector hash code of a bool3x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(bool3x2 v)
    Parameters
    Type Name Description
    bool3x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(bool3x3)

    Returns a uint3 vector hash code of a bool3x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(bool3x3 v)
    Parameters
    Type Name Description
    bool3x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(bool3x4)

    Returns a uint3 vector hash code of a bool3x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(bool3x4 v)
    Parameters
    Type Name Description
    bool3x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(bool4)

    Returns a uint4 vector hash code of a bool4 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(bool4 v)
    Parameters
    Type Name Description
    bool4 v

    Vector value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(bool4x2)

    Returns a uint4 vector hash code of a bool4x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(bool4x2 v)
    Parameters
    Type Name Description
    bool4x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(bool4x3)

    Returns a uint4 vector hash code of a bool4x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(bool4x3 v)
    Parameters
    Type Name Description
    bool4x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(bool4x4)

    Returns a uint4 vector hash code of a bool4x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(bool4x4 v)
    Parameters
    Type Name Description
    bool4x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(double2)

    Returns a uint2 vector hash code of a double2 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(double2 v)
    Parameters
    Type Name Description
    double2 v

    Vector value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(double2x2)

    Returns a uint2 vector hash code of a double2x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(double2x2 v)
    Parameters
    Type Name Description
    double2x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(double2x3)

    Returns a uint2 vector hash code of a double2x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(double2x3 v)
    Parameters
    Type Name Description
    double2x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(double2x4)

    Returns a uint2 vector hash code of a double2x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(double2x4 v)
    Parameters
    Type Name Description
    double2x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(double3)

    Returns a uint3 vector hash code of a double3 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(double3 v)
    Parameters
    Type Name Description
    double3 v

    Vector value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(double3x2)

    Returns a uint3 vector hash code of a double3x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(double3x2 v)
    Parameters
    Type Name Description
    double3x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(double3x3)

    Returns a uint3 vector hash code of a double3x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(double3x3 v)
    Parameters
    Type Name Description
    double3x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(double3x4)

    Returns a uint3 vector hash code of a double3x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(double3x4 v)
    Parameters
    Type Name Description
    double3x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(double4)

    Returns a uint4 vector hash code of a double4 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(double4 v)
    Parameters
    Type Name Description
    double4 v

    Vector value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(double4x2)

    Returns a uint4 vector hash code of a double4x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(double4x2 v)
    Parameters
    Type Name Description
    double4x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(double4x3)

    Returns a uint4 vector hash code of a double4x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(double4x3 v)
    Parameters
    Type Name Description
    double4x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(double4x4)

    Returns a uint4 vector hash code of a double4x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(double4x4 v)
    Parameters
    Type Name Description
    double4x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(float2)

    Returns a uint2 vector hash code of a float2 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(float2 v)
    Parameters
    Type Name Description
    float2 v

    Vector value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(float2x2)

    Returns a uint2 vector hash code of a float2x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(float2x2 v)
    Parameters
    Type Name Description
    float2x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(float2x3)

    Returns a uint2 vector hash code of a float2x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(float2x3 v)
    Parameters
    Type Name Description
    float2x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(float2x4)

    Returns a uint2 vector hash code of a float2x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(float2x4 v)
    Parameters
    Type Name Description
    float2x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(float3)

    Returns a uint3 vector hash code of a float3 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(float3 v)
    Parameters
    Type Name Description
    float3 v

    Vector value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(float3x2)

    Returns a uint3 vector hash code of a float3x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(float3x2 v)
    Parameters
    Type Name Description
    float3x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(float3x3)

    Returns a uint3 vector hash code of a float3x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(float3x3 v)
    Parameters
    Type Name Description
    float3x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(float3x4)

    Returns a uint3 vector hash code of a float3x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(float3x4 v)
    Parameters
    Type Name Description
    float3x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(float4)

    Returns a uint4 vector hash code of a float4 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(float4 v)
    Parameters
    Type Name Description
    float4 v

    Vector value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(float4x2)

    Returns a uint4 vector hash code of a float4x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(float4x2 v)
    Parameters
    Type Name Description
    float4x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(float4x3)

    Returns a uint4 vector hash code of a float4x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(float4x3 v)
    Parameters
    Type Name Description
    float4x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(float4x4)

    Returns a uint4 vector hash code of a float4x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(float4x4 v)
    Parameters
    Type Name Description
    float4x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(half2)

    Returns a uint2 vector hash code of a half2 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(half2 v)
    Parameters
    Type Name Description
    half2 v

    Vector value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(half3)

    Returns a uint3 vector hash code of a half3 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(half3 v)
    Parameters
    Type Name Description
    half3 v

    Vector value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(half4)

    Returns a uint4 vector hash code of a half4 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(half4 v)
    Parameters
    Type Name Description
    half4 v

    Vector value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(int2)

    Returns a uint2 vector hash code of a int2 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(int2 v)
    Parameters
    Type Name Description
    int2 v

    Vector value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(int2x2)

    Returns a uint2 vector hash code of a int2x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(int2x2 v)
    Parameters
    Type Name Description
    int2x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(int2x3)

    Returns a uint2 vector hash code of a int2x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(int2x3 v)
    Parameters
    Type Name Description
    int2x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(int2x4)

    Returns a uint2 vector hash code of a int2x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(int2x4 v)
    Parameters
    Type Name Description
    int2x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(int3)

    Returns a uint3 vector hash code of a int3 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(int3 v)
    Parameters
    Type Name Description
    int3 v

    Vector value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(int3x2)

    Returns a uint3 vector hash code of a int3x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(int3x2 v)
    Parameters
    Type Name Description
    int3x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(int3x3)

    Returns a uint3 vector hash code of a int3x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(int3x3 v)
    Parameters
    Type Name Description
    int3x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(int3x4)

    Returns a uint3 vector hash code of a int3x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(int3x4 v)
    Parameters
    Type Name Description
    int3x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(int4)

    Returns a uint4 vector hash code of a int4 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(int4 v)
    Parameters
    Type Name Description
    int4 v

    Vector value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(int4x2)

    Returns a uint4 vector hash code of a int4x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(int4x2 v)
    Parameters
    Type Name Description
    int4x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(int4x3)

    Returns a uint4 vector hash code of a int4x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(int4x3 v)
    Parameters
    Type Name Description
    int4x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(int4x4)

    Returns a uint4 vector hash code of a int4x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(int4x4 v)
    Parameters
    Type Name Description
    int4x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(quaternion)

    Returns a uint4 vector hash code of a quaternion. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(quaternion q)
    Parameters
    Type Name Description
    quaternion q

    The quaternion to hash.

    Returns
    Type Description
    uint4

    The uint4 vector hash code of the input quaternion.

    hashwide(RigidTransform)

    Returns a uint4 vector hash code of a RigidTransform. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(RigidTransform t)
    Parameters
    Type Name Description
    RigidTransform t

    The RigidTransform to hash.

    Returns
    Type Description
    uint4

    The uint4 wide hash code.

    hashwide(uint2)

    Returns a uint2 vector hash code of a uint2 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(uint2 v)
    Parameters
    Type Name Description
    uint2 v

    Vector value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(uint2x2)

    Returns a uint2 vector hash code of a uint2x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(uint2x2 v)
    Parameters
    Type Name Description
    uint2x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(uint2x3)

    Returns a uint2 vector hash code of a uint2x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(uint2x3 v)
    Parameters
    Type Name Description
    uint2x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(uint2x4)

    Returns a uint2 vector hash code of a uint2x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint2 hashwide(uint2x4 v)
    Parameters
    Type Name Description
    uint2x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint2

    uint2 hash of the argument.

    hashwide(uint3)

    Returns a uint3 vector hash code of a uint3 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(uint3 v)
    Parameters
    Type Name Description
    uint3 v

    Vector value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(uint3x2)

    Returns a uint3 vector hash code of a uint3x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(uint3x2 v)
    Parameters
    Type Name Description
    uint3x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(uint3x3)

    Returns a uint3 vector hash code of a uint3x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(uint3x3 v)
    Parameters
    Type Name Description
    uint3x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(uint3x4)

    Returns a uint3 vector hash code of a uint3x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint3 hashwide(uint3x4 v)
    Parameters
    Type Name Description
    uint3x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint3

    uint3 hash of the argument.

    hashwide(uint4)

    Returns a uint4 vector hash code of a uint4 vector. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(uint4 v)
    Parameters
    Type Name Description
    uint4 v

    Vector value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(uint4x2)

    Returns a uint4 vector hash code of a uint4x2 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(uint4x2 v)
    Parameters
    Type Name Description
    uint4x2 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(uint4x3)

    Returns a uint4 vector hash code of a uint4x3 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(uint4x3 v)
    Parameters
    Type Name Description
    uint4x3 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    hashwide(uint4x4)

    Returns a uint4 vector hash code of a uint4x4 matrix. When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash that are only reduced to a narrow uint hash at the very end instead of at every step.

    Declaration
    public static uint4 hashwide(uint4x4 v)
    Parameters
    Type Name Description
    uint4x4 v

    Matrix value to hash.

    Returns
    Type Description
    uint4

    uint4 hash of the argument.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)