Struct int4 | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Struct int4

    Namespace: Unity.Mathematics
    Syntax
    [Serializable]
    public struct int4 : IEquatable<int4>, IFormattable

    Constructors

    int4(Boolean)

    Constructs a int4 vector from a single bool value by converting it to int and assigning it to every component.

    Declaration
    public int4(bool v)
    Parameters
    Type Name Description
    System.Boolean v

    int4(Double)

    Constructs a int4 vector from a single double value by converting it to int and assigning it to every component.

    Declaration
    public int4(double v)
    Parameters
    Type Name Description
    System.Double v

    int4(Int32)

    Constructs a int4 vector from a single int value by assigning it to every component.

    Declaration
    public int4(int v)
    Parameters
    Type Name Description
    System.Int32 v

    int4(Int32, Int32, Int32, Int32)

    Constructs a int4 vector from four int values.

    Declaration
    public int4(int x, int y, int z, int w)
    Parameters
    Type Name Description
    System.Int32 x
    System.Int32 y
    System.Int32 z
    System.Int32 w

    int4(Int32, Int32, int2)

    Constructs a int4 vector from two int values and an int2 vector.

    Declaration
    public int4(int x, int y, int2 zw)
    Parameters
    Type Name Description
    System.Int32 x
    System.Int32 y
    int2 zw

    int4(Int32, int2, Int32)

    Constructs a int4 vector from an int value, an int2 vector and an int value.

    Declaration
    public int4(int x, int2 yz, int w)
    Parameters
    Type Name Description
    System.Int32 x
    int2 yz
    System.Int32 w

    int4(Int32, int3)

    Constructs a int4 vector from an int value and an int3 vector.

    Declaration
    public int4(int x, int3 yzw)
    Parameters
    Type Name Description
    System.Int32 x
    int3 yzw

    int4(Single)

    Constructs a int4 vector from a single float value by converting it to int and assigning it to every component.

    Declaration
    public int4(float v)
    Parameters
    Type Name Description
    System.Single v

    int4(UInt32)

    Constructs a int4 vector from a single uint value by converting it to int and assigning it to every component.

    Declaration
    public int4(uint v)
    Parameters
    Type Name Description
    System.UInt32 v

    int4(bool4)

    Constructs a int4 vector from a bool4 vector by componentwise conversion.

    Declaration
    public int4(bool4 v)
    Parameters
    Type Name Description
    bool4 v

    int4(double4)

    Constructs a int4 vector from a double4 vector by componentwise conversion.

    Declaration
    public int4(double4 v)
    Parameters
    Type Name Description
    double4 v

    int4(float4)

    Constructs a int4 vector from a float4 vector by componentwise conversion.

    Declaration
    public int4(float4 v)
    Parameters
    Type Name Description
    float4 v

    int4(int2, Int32, Int32)

    Constructs a int4 vector from an int2 vector and two int values.

    Declaration
    public int4(int2 xy, int z, int w)
    Parameters
    Type Name Description
    int2 xy
    System.Int32 z
    System.Int32 w

    int4(int2, int2)

    Constructs a int4 vector from two int2 vectors.

    Declaration
    public int4(int2 xy, int2 zw)
    Parameters
    Type Name Description
    int2 xy
    int2 zw

    int4(int3, Int32)

    Constructs a int4 vector from an int3 vector and an int value.

    Declaration
    public int4(int3 xyz, int w)
    Parameters
    Type Name Description
    int3 xyz
    System.Int32 w

    int4(int4)

    Constructs a int4 vector from an int4 vector.

    Declaration
    public int4(int4 xyzw)
    Parameters
    Type Name Description
    int4 xyzw

    int4(uint4)

    Constructs a int4 vector from a uint4 vector by componentwise conversion.

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

    Fields

    w

    Declaration
    public int w
    Field Value
    Type Description
    System.Int32

    x

    Declaration
    public int x
    Field Value
    Type Description
    System.Int32

    y

    Declaration
    public int y
    Field Value
    Type Description
    System.Int32

    z

    Declaration
    public int z
    Field Value
    Type Description
    System.Int32

    zero

    int4 zero value.

    Declaration
    public static readonly int4 zero
    Field Value
    Type Description
    int4

    Properties

    Item[Int32]

    Returns the int element at a specified index.

    Declaration
    public int this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    System.Int32

    ww

    Declaration
    public int2 ww { get; }
    Property Value
    Type Description
    int2

    www

    Declaration
    public int3 www { get; }
    Property Value
    Type Description
    int3

    wwww

    Declaration
    public int4 wwww { get; }
    Property Value
    Type Description
    int4

    wwwx

    Declaration
    public int4 wwwx { get; }
    Property Value
    Type Description
    int4

    wwwy

    Declaration
    public int4 wwwy { get; }
    Property Value
    Type Description
    int4

    wwwz

    Declaration
    public int4 wwwz { get; }
    Property Value
    Type Description
    int4

    wwx

    Declaration
    public int3 wwx { get; }
    Property Value
    Type Description
    int3

    wwxw

    Declaration
    public int4 wwxw { get; }
    Property Value
    Type Description
    int4

    wwxx

    Declaration
    public int4 wwxx { get; }
    Property Value
    Type Description
    int4

    wwxy

    Declaration
    public int4 wwxy { get; }
    Property Value
    Type Description
    int4

    wwxz

    Declaration
    public int4 wwxz { get; }
    Property Value
    Type Description
    int4

    wwy

    Declaration
    public int3 wwy { get; }
    Property Value
    Type Description
    int3

    wwyw

    Declaration
    public int4 wwyw { get; }
    Property Value
    Type Description
    int4

    wwyx

    Declaration
    public int4 wwyx { get; }
    Property Value
    Type Description
    int4

    wwyy

    Declaration
    public int4 wwyy { get; }
    Property Value
    Type Description
    int4

    wwyz

    Declaration
    public int4 wwyz { get; }
    Property Value
    Type Description
    int4

    wwz

    Declaration
    public int3 wwz { get; }
    Property Value
    Type Description
    int3

    wwzw

    Declaration
    public int4 wwzw { get; }
    Property Value
    Type Description
    int4

    wwzx

    Declaration
    public int4 wwzx { get; }
    Property Value
    Type Description
    int4

    wwzy

    Declaration
    public int4 wwzy { get; }
    Property Value
    Type Description
    int4

    wwzz

    Declaration
    public int4 wwzz { get; }
    Property Value
    Type Description
    int4

    wx

    Declaration
    public int2 wx { get; set; }
    Property Value
    Type Description
    int2

    wxw

    Declaration
    public int3 wxw { get; }
    Property Value
    Type Description
    int3

    wxww

    Declaration
    public int4 wxww { get; }
    Property Value
    Type Description
    int4

    wxwx

    Declaration
    public int4 wxwx { get; }
    Property Value
    Type Description
    int4

    wxwy

    Declaration
    public int4 wxwy { get; }
    Property Value
    Type Description
    int4

    wxwz

    Declaration
    public int4 wxwz { get; }
    Property Value
    Type Description
    int4

    wxx

    Declaration
    public int3 wxx { get; }
    Property Value
    Type Description
    int3

    wxxw

    Declaration
    public int4 wxxw { get; }
    Property Value
    Type Description
    int4

    wxxx

    Declaration
    public int4 wxxx { get; }
    Property Value
    Type Description
    int4

    wxxy

    Declaration
    public int4 wxxy { get; }
    Property Value
    Type Description
    int4

    wxxz

    Declaration
    public int4 wxxz { get; }
    Property Value
    Type Description
    int4

    wxy

    Declaration
    public int3 wxy { get; set; }
    Property Value
    Type Description
    int3

    wxyw

    Declaration
    public int4 wxyw { get; }
    Property Value
    Type Description
    int4

    wxyx

    Declaration
    public int4 wxyx { get; }
    Property Value
    Type Description
    int4

    wxyy

    Declaration
    public int4 wxyy { get; }
    Property Value
    Type Description
    int4

    wxyz

    Declaration
    public int4 wxyz { get; set; }
    Property Value
    Type Description
    int4

    wxz

    Declaration
    public int3 wxz { get; set; }
    Property Value
    Type Description
    int3

    wxzw

    Declaration
    public int4 wxzw { get; }
    Property Value
    Type Description
    int4

    wxzx

    Declaration
    public int4 wxzx { get; }
    Property Value
    Type Description
    int4

    wxzy

    Declaration
    public int4 wxzy { get; set; }
    Property Value
    Type Description
    int4

    wxzz

    Declaration
    public int4 wxzz { get; }
    Property Value
    Type Description
    int4

    wy

    Declaration
    public int2 wy { get; set; }
    Property Value
    Type Description
    int2

    wyw

    Declaration
    public int3 wyw { get; }
    Property Value
    Type Description
    int3

    wyww

    Declaration
    public int4 wyww { get; }
    Property Value
    Type Description
    int4

    wywx

    Declaration
    public int4 wywx { get; }
    Property Value
    Type Description
    int4

    wywy

    Declaration
    public int4 wywy { get; }
    Property Value
    Type Description
    int4

    wywz

    Declaration
    public int4 wywz { get; }
    Property Value
    Type Description
    int4

    wyx

    Declaration
    public int3 wyx { get; set; }
    Property Value
    Type Description
    int3

    wyxw

    Declaration
    public int4 wyxw { get; }
    Property Value
    Type Description
    int4

    wyxx

    Declaration
    public int4 wyxx { get; }
    Property Value
    Type Description
    int4

    wyxy

    Declaration
    public int4 wyxy { get; }
    Property Value
    Type Description
    int4

    wyxz

    Declaration
    public int4 wyxz { get; set; }
    Property Value
    Type Description
    int4

    wyy

    Declaration
    public int3 wyy { get; }
    Property Value
    Type Description
    int3

    wyyw

    Declaration
    public int4 wyyw { get; }
    Property Value
    Type Description
    int4

    wyyx

    Declaration
    public int4 wyyx { get; }
    Property Value
    Type Description
    int4

    wyyy

    Declaration
    public int4 wyyy { get; }
    Property Value
    Type Description
    int4

    wyyz

    Declaration
    public int4 wyyz { get; }
    Property Value
    Type Description
    int4

    wyz

    Declaration
    public int3 wyz { get; set; }
    Property Value
    Type Description
    int3

    wyzw

    Declaration
    public int4 wyzw { get; }
    Property Value
    Type Description
    int4

    wyzx

    Declaration
    public int4 wyzx { get; set; }
    Property Value
    Type Description
    int4

    wyzy

    Declaration
    public int4 wyzy { get; }
    Property Value
    Type Description
    int4

    wyzz

    Declaration
    public int4 wyzz { get; }
    Property Value
    Type Description
    int4

    wz

    Declaration
    public int2 wz { get; set; }
    Property Value
    Type Description
    int2

    wzw

    Declaration
    public int3 wzw { get; }
    Property Value
    Type Description
    int3

    wzww

    Declaration
    public int4 wzww { get; }
    Property Value
    Type Description
    int4

    wzwx

    Declaration
    public int4 wzwx { get; }
    Property Value
    Type Description
    int4

    wzwy

    Declaration
    public int4 wzwy { get; }
    Property Value
    Type Description
    int4

    wzwz

    Declaration
    public int4 wzwz { get; }
    Property Value
    Type Description
    int4

    wzx

    Declaration
    public int3 wzx { get; set; }
    Property Value
    Type Description
    int3

    wzxw

    Declaration
    public int4 wzxw { get; }
    Property Value
    Type Description
    int4

    wzxx

    Declaration
    public int4 wzxx { get; }
    Property Value
    Type Description
    int4

    wzxy

    Declaration
    public int4 wzxy { get; set; }
    Property Value
    Type Description
    int4

    wzxz

    Declaration
    public int4 wzxz { get; }
    Property Value
    Type Description
    int4

    wzy

    Declaration
    public int3 wzy { get; set; }
    Property Value
    Type Description
    int3

    wzyw

    Declaration
    public int4 wzyw { get; }
    Property Value
    Type Description
    int4

    wzyx

    Declaration
    public int4 wzyx { get; set; }
    Property Value
    Type Description
    int4

    wzyy

    Declaration
    public int4 wzyy { get; }
    Property Value
    Type Description
    int4

    wzyz

    Declaration
    public int4 wzyz { get; }
    Property Value
    Type Description
    int4

    wzz

    Declaration
    public int3 wzz { get; }
    Property Value
    Type Description
    int3

    wzzw

    Declaration
    public int4 wzzw { get; }
    Property Value
    Type Description
    int4

    wzzx

    Declaration
    public int4 wzzx { get; }
    Property Value
    Type Description
    int4

    wzzy

    Declaration
    public int4 wzzy { get; }
    Property Value
    Type Description
    int4

    wzzz

    Declaration
    public int4 wzzz { get; }
    Property Value
    Type Description
    int4

    xw

    Declaration
    public int2 xw { get; set; }
    Property Value
    Type Description
    int2

    xww

    Declaration
    public int3 xww { get; }
    Property Value
    Type Description
    int3

    xwww

    Declaration
    public int4 xwww { get; }
    Property Value
    Type Description
    int4

    xwwx

    Declaration
    public int4 xwwx { get; }
    Property Value
    Type Description
    int4

    xwwy

    Declaration
    public int4 xwwy { get; }
    Property Value
    Type Description
    int4

    xwwz

    Declaration
    public int4 xwwz { get; }
    Property Value
    Type Description
    int4

    xwx

    Declaration
    public int3 xwx { get; }
    Property Value
    Type Description
    int3

    xwxw

    Declaration
    public int4 xwxw { get; }
    Property Value
    Type Description
    int4

    xwxx

    Declaration
    public int4 xwxx { get; }
    Property Value
    Type Description
    int4

    xwxy

    Declaration
    public int4 xwxy { get; }
    Property Value
    Type Description
    int4

    xwxz

    Declaration
    public int4 xwxz { get; }
    Property Value
    Type Description
    int4

    xwy

    Declaration
    public int3 xwy { get; set; }
    Property Value
    Type Description
    int3

    xwyw

    Declaration
    public int4 xwyw { get; }
    Property Value
    Type Description
    int4

    xwyx

    Declaration
    public int4 xwyx { get; }
    Property Value
    Type Description
    int4

    xwyy

    Declaration
    public int4 xwyy { get; }
    Property Value
    Type Description
    int4

    xwyz

    Declaration
    public int4 xwyz { get; set; }
    Property Value
    Type Description
    int4

    xwz

    Declaration
    public int3 xwz { get; set; }
    Property Value
    Type Description
    int3

    xwzw

    Declaration
    public int4 xwzw { get; }
    Property Value
    Type Description
    int4

    xwzx

    Declaration
    public int4 xwzx { get; }
    Property Value
    Type Description
    int4

    xwzy

    Declaration
    public int4 xwzy { get; set; }
    Property Value
    Type Description
    int4

    xwzz

    Declaration
    public int4 xwzz { get; }
    Property Value
    Type Description
    int4

    xx

    Declaration
    public int2 xx { get; }
    Property Value
    Type Description
    int2

    xxw

    Declaration
    public int3 xxw { get; }
    Property Value
    Type Description
    int3

    xxww

    Declaration
    public int4 xxww { get; }
    Property Value
    Type Description
    int4

    xxwx

    Declaration
    public int4 xxwx { get; }
    Property Value
    Type Description
    int4

    xxwy

    Declaration
    public int4 xxwy { get; }
    Property Value
    Type Description
    int4

    xxwz

    Declaration
    public int4 xxwz { get; }
    Property Value
    Type Description
    int4

    xxx

    Declaration
    public int3 xxx { get; }
    Property Value
    Type Description
    int3

    xxxw

    Declaration
    public int4 xxxw { get; }
    Property Value
    Type Description
    int4

    xxxx

    Declaration
    public int4 xxxx { get; }
    Property Value
    Type Description
    int4

    xxxy

    Declaration
    public int4 xxxy { get; }
    Property Value
    Type Description
    int4

    xxxz

    Declaration
    public int4 xxxz { get; }
    Property Value
    Type Description
    int4

    xxy

    Declaration
    public int3 xxy { get; }
    Property Value
    Type Description
    int3

    xxyw

    Declaration
    public int4 xxyw { get; }
    Property Value
    Type Description
    int4

    xxyx

    Declaration
    public int4 xxyx { get; }
    Property Value
    Type Description
    int4

    xxyy

    Declaration
    public int4 xxyy { get; }
    Property Value
    Type Description
    int4

    xxyz

    Declaration
    public int4 xxyz { get; }
    Property Value
    Type Description
    int4

    xxz

    Declaration
    public int3 xxz { get; }
    Property Value
    Type Description
    int3

    xxzw

    Declaration
    public int4 xxzw { get; }
    Property Value
    Type Description
    int4

    xxzx

    Declaration
    public int4 xxzx { get; }
    Property Value
    Type Description
    int4

    xxzy

    Declaration
    public int4 xxzy { get; }
    Property Value
    Type Description
    int4

    xxzz

    Declaration
    public int4 xxzz { get; }
    Property Value
    Type Description
    int4

    xy

    Declaration
    public int2 xy { get; set; }
    Property Value
    Type Description
    int2

    xyw

    Declaration
    public int3 xyw { get; set; }
    Property Value
    Type Description
    int3

    xyww

    Declaration
    public int4 xyww { get; }
    Property Value
    Type Description
    int4

    xywx

    Declaration
    public int4 xywx { get; }
    Property Value
    Type Description
    int4

    xywy

    Declaration
    public int4 xywy { get; }
    Property Value
    Type Description
    int4

    xywz

    Declaration
    public int4 xywz { get; set; }
    Property Value
    Type Description
    int4

    xyx

    Declaration
    public int3 xyx { get; }
    Property Value
    Type Description
    int3

    xyxw

    Declaration
    public int4 xyxw { get; }
    Property Value
    Type Description
    int4

    xyxx

    Declaration
    public int4 xyxx { get; }
    Property Value
    Type Description
    int4

    xyxy

    Declaration
    public int4 xyxy { get; }
    Property Value
    Type Description
    int4

    xyxz

    Declaration
    public int4 xyxz { get; }
    Property Value
    Type Description
    int4

    xyy

    Declaration
    public int3 xyy { get; }
    Property Value
    Type Description
    int3

    xyyw

    Declaration
    public int4 xyyw { get; }
    Property Value
    Type Description
    int4

    xyyx

    Declaration
    public int4 xyyx { get; }
    Property Value
    Type Description
    int4

    xyyy

    Declaration
    public int4 xyyy { get; }
    Property Value
    Type Description
    int4

    xyyz

    Declaration
    public int4 xyyz { get; }
    Property Value
    Type Description
    int4

    xyz

    Declaration
    public int3 xyz { get; set; }
    Property Value
    Type Description
    int3

    xyzw

    Declaration
    public int4 xyzw { get; set; }
    Property Value
    Type Description
    int4

    xyzx

    Declaration
    public int4 xyzx { get; }
    Property Value
    Type Description
    int4

    xyzy

    Declaration
    public int4 xyzy { get; }
    Property Value
    Type Description
    int4

    xyzz

    Declaration
    public int4 xyzz { get; }
    Property Value
    Type Description
    int4

    xz

    Declaration
    public int2 xz { get; set; }
    Property Value
    Type Description
    int2

    xzw

    Declaration
    public int3 xzw { get; set; }
    Property Value
    Type Description
    int3

    xzww

    Declaration
    public int4 xzww { get; }
    Property Value
    Type Description
    int4

    xzwx

    Declaration
    public int4 xzwx { get; }
    Property Value
    Type Description
    int4

    xzwy

    Declaration
    public int4 xzwy { get; set; }
    Property Value
    Type Description
    int4

    xzwz

    Declaration
    public int4 xzwz { get; }
    Property Value
    Type Description
    int4

    xzx

    Declaration
    public int3 xzx { get; }
    Property Value
    Type Description
    int3

    xzxw

    Declaration
    public int4 xzxw { get; }
    Property Value
    Type Description
    int4

    xzxx

    Declaration
    public int4 xzxx { get; }
    Property Value
    Type Description
    int4

    xzxy

    Declaration
    public int4 xzxy { get; }
    Property Value
    Type Description
    int4

    xzxz

    Declaration
    public int4 xzxz { get; }
    Property Value
    Type Description
    int4

    xzy

    Declaration
    public int3 xzy { get; set; }
    Property Value
    Type Description
    int3

    xzyw

    Declaration
    public int4 xzyw { get; set; }
    Property Value
    Type Description
    int4

    xzyx

    Declaration
    public int4 xzyx { get; }
    Property Value
    Type Description
    int4

    xzyy

    Declaration
    public int4 xzyy { get; }
    Property Value
    Type Description
    int4

    xzyz

    Declaration
    public int4 xzyz { get; }
    Property Value
    Type Description
    int4

    xzz

    Declaration
    public int3 xzz { get; }
    Property Value
    Type Description
    int3

    xzzw

    Declaration
    public int4 xzzw { get; }
    Property Value
    Type Description
    int4

    xzzx

    Declaration
    public int4 xzzx { get; }
    Property Value
    Type Description
    int4

    xzzy

    Declaration
    public int4 xzzy { get; }
    Property Value
    Type Description
    int4

    xzzz

    Declaration
    public int4 xzzz { get; }
    Property Value
    Type Description
    int4

    yw

    Declaration
    public int2 yw { get; set; }
    Property Value
    Type Description
    int2

    yww

    Declaration
    public int3 yww { get; }
    Property Value
    Type Description
    int3

    ywww

    Declaration
    public int4 ywww { get; }
    Property Value
    Type Description
    int4

    ywwx

    Declaration
    public int4 ywwx { get; }
    Property Value
    Type Description
    int4

    ywwy

    Declaration
    public int4 ywwy { get; }
    Property Value
    Type Description
    int4

    ywwz

    Declaration
    public int4 ywwz { get; }
    Property Value
    Type Description
    int4

    ywx

    Declaration
    public int3 ywx { get; set; }
    Property Value
    Type Description
    int3

    ywxw

    Declaration
    public int4 ywxw { get; }
    Property Value
    Type Description
    int4

    ywxx

    Declaration
    public int4 ywxx { get; }
    Property Value
    Type Description
    int4

    ywxy

    Declaration
    public int4 ywxy { get; }
    Property Value
    Type Description
    int4

    ywxz

    Declaration
    public int4 ywxz { get; set; }
    Property Value
    Type Description
    int4

    ywy

    Declaration
    public int3 ywy { get; }
    Property Value
    Type Description
    int3

    ywyw

    Declaration
    public int4 ywyw { get; }
    Property Value
    Type Description
    int4

    ywyx

    Declaration
    public int4 ywyx { get; }
    Property Value
    Type Description
    int4

    ywyy

    Declaration
    public int4 ywyy { get; }
    Property Value
    Type Description
    int4

    ywyz

    Declaration
    public int4 ywyz { get; }
    Property Value
    Type Description
    int4

    ywz

    Declaration
    public int3 ywz { get; set; }
    Property Value
    Type Description
    int3

    ywzw

    Declaration
    public int4 ywzw { get; }
    Property Value
    Type Description
    int4

    ywzx

    Declaration
    public int4 ywzx { get; set; }
    Property Value
    Type Description
    int4

    ywzy

    Declaration
    public int4 ywzy { get; }
    Property Value
    Type Description
    int4

    ywzz

    Declaration
    public int4 ywzz { get; }
    Property Value
    Type Description
    int4

    yx

    Declaration
    public int2 yx { get; set; }
    Property Value
    Type Description
    int2

    yxw

    Declaration
    public int3 yxw { get; set; }
    Property Value
    Type Description
    int3

    yxww

    Declaration
    public int4 yxww { get; }
    Property Value
    Type Description
    int4

    yxwx

    Declaration
    public int4 yxwx { get; }
    Property Value
    Type Description
    int4

    yxwy

    Declaration
    public int4 yxwy { get; }
    Property Value
    Type Description
    int4

    yxwz

    Declaration
    public int4 yxwz { get; set; }
    Property Value
    Type Description
    int4

    yxx

    Declaration
    public int3 yxx { get; }
    Property Value
    Type Description
    int3

    yxxw

    Declaration
    public int4 yxxw { get; }
    Property Value
    Type Description
    int4

    yxxx

    Declaration
    public int4 yxxx { get; }
    Property Value
    Type Description
    int4

    yxxy

    Declaration
    public int4 yxxy { get; }
    Property Value
    Type Description
    int4

    yxxz

    Declaration
    public int4 yxxz { get; }
    Property Value
    Type Description
    int4

    yxy

    Declaration
    public int3 yxy { get; }
    Property Value
    Type Description
    int3

    yxyw

    Declaration
    public int4 yxyw { get; }
    Property Value
    Type Description
    int4

    yxyx

    Declaration
    public int4 yxyx { get; }
    Property Value
    Type Description
    int4

    yxyy

    Declaration
    public int4 yxyy { get; }
    Property Value
    Type Description
    int4

    yxyz

    Declaration
    public int4 yxyz { get; }
    Property Value
    Type Description
    int4

    yxz

    Declaration
    public int3 yxz { get; set; }
    Property Value
    Type Description
    int3

    yxzw

    Declaration
    public int4 yxzw { get; set; }
    Property Value
    Type Description
    int4

    yxzx

    Declaration
    public int4 yxzx { get; }
    Property Value
    Type Description
    int4

    yxzy

    Declaration
    public int4 yxzy { get; }
    Property Value
    Type Description
    int4

    yxzz

    Declaration
    public int4 yxzz { get; }
    Property Value
    Type Description
    int4

    yy

    Declaration
    public int2 yy { get; }
    Property Value
    Type Description
    int2

    yyw

    Declaration
    public int3 yyw { get; }
    Property Value
    Type Description
    int3

    yyww

    Declaration
    public int4 yyww { get; }
    Property Value
    Type Description
    int4

    yywx

    Declaration
    public int4 yywx { get; }
    Property Value
    Type Description
    int4

    yywy

    Declaration
    public int4 yywy { get; }
    Property Value
    Type Description
    int4

    yywz

    Declaration
    public int4 yywz { get; }
    Property Value
    Type Description
    int4

    yyx

    Declaration
    public int3 yyx { get; }
    Property Value
    Type Description
    int3

    yyxw

    Declaration
    public int4 yyxw { get; }
    Property Value
    Type Description
    int4

    yyxx

    Declaration
    public int4 yyxx { get; }
    Property Value
    Type Description
    int4

    yyxy

    Declaration
    public int4 yyxy { get; }
    Property Value
    Type Description
    int4

    yyxz

    Declaration
    public int4 yyxz { get; }
    Property Value
    Type Description
    int4

    yyy

    Declaration
    public int3 yyy { get; }
    Property Value
    Type Description
    int3

    yyyw

    Declaration
    public int4 yyyw { get; }
    Property Value
    Type Description
    int4

    yyyx

    Declaration
    public int4 yyyx { get; }
    Property Value
    Type Description
    int4

    yyyy

    Declaration
    public int4 yyyy { get; }
    Property Value
    Type Description
    int4

    yyyz

    Declaration
    public int4 yyyz { get; }
    Property Value
    Type Description
    int4

    yyz

    Declaration
    public int3 yyz { get; }
    Property Value
    Type Description
    int3

    yyzw

    Declaration
    public int4 yyzw { get; }
    Property Value
    Type Description
    int4

    yyzx

    Declaration
    public int4 yyzx { get; }
    Property Value
    Type Description
    int4

    yyzy

    Declaration
    public int4 yyzy { get; }
    Property Value
    Type Description
    int4

    yyzz

    Declaration
    public int4 yyzz { get; }
    Property Value
    Type Description
    int4

    yz

    Declaration
    public int2 yz { get; set; }
    Property Value
    Type Description
    int2

    yzw

    Declaration
    public int3 yzw { get; set; }
    Property Value
    Type Description
    int3

    yzww

    Declaration
    public int4 yzww { get; }
    Property Value
    Type Description
    int4

    yzwx

    Declaration
    public int4 yzwx { get; set; }
    Property Value
    Type Description
    int4

    yzwy

    Declaration
    public int4 yzwy { get; }
    Property Value
    Type Description
    int4

    yzwz

    Declaration
    public int4 yzwz { get; }
    Property Value
    Type Description
    int4

    yzx

    Declaration
    public int3 yzx { get; set; }
    Property Value
    Type Description
    int3

    yzxw

    Declaration
    public int4 yzxw { get; set; }
    Property Value
    Type Description
    int4

    yzxx

    Declaration
    public int4 yzxx { get; }
    Property Value
    Type Description
    int4

    yzxy

    Declaration
    public int4 yzxy { get; }
    Property Value
    Type Description
    int4

    yzxz

    Declaration
    public int4 yzxz { get; }
    Property Value
    Type Description
    int4

    yzy

    Declaration
    public int3 yzy { get; }
    Property Value
    Type Description
    int3

    yzyw

    Declaration
    public int4 yzyw { get; }
    Property Value
    Type Description
    int4

    yzyx

    Declaration
    public int4 yzyx { get; }
    Property Value
    Type Description
    int4

    yzyy

    Declaration
    public int4 yzyy { get; }
    Property Value
    Type Description
    int4

    yzyz

    Declaration
    public int4 yzyz { get; }
    Property Value
    Type Description
    int4

    yzz

    Declaration
    public int3 yzz { get; }
    Property Value
    Type Description
    int3

    yzzw

    Declaration
    public int4 yzzw { get; }
    Property Value
    Type Description
    int4

    yzzx

    Declaration
    public int4 yzzx { get; }
    Property Value
    Type Description
    int4

    yzzy

    Declaration
    public int4 yzzy { get; }
    Property Value
    Type Description
    int4

    yzzz

    Declaration
    public int4 yzzz { get; }
    Property Value
    Type Description
    int4

    zw

    Declaration
    public int2 zw { get; set; }
    Property Value
    Type Description
    int2

    zww

    Declaration
    public int3 zww { get; }
    Property Value
    Type Description
    int3

    zwww

    Declaration
    public int4 zwww { get; }
    Property Value
    Type Description
    int4

    zwwx

    Declaration
    public int4 zwwx { get; }
    Property Value
    Type Description
    int4

    zwwy

    Declaration
    public int4 zwwy { get; }
    Property Value
    Type Description
    int4

    zwwz

    Declaration
    public int4 zwwz { get; }
    Property Value
    Type Description
    int4

    zwx

    Declaration
    public int3 zwx { get; set; }
    Property Value
    Type Description
    int3

    zwxw

    Declaration
    public int4 zwxw { get; }
    Property Value
    Type Description
    int4

    zwxx

    Declaration
    public int4 zwxx { get; }
    Property Value
    Type Description
    int4

    zwxy

    Declaration
    public int4 zwxy { get; set; }
    Property Value
    Type Description
    int4

    zwxz

    Declaration
    public int4 zwxz { get; }
    Property Value
    Type Description
    int4

    zwy

    Declaration
    public int3 zwy { get; set; }
    Property Value
    Type Description
    int3

    zwyw

    Declaration
    public int4 zwyw { get; }
    Property Value
    Type Description
    int4

    zwyx

    Declaration
    public int4 zwyx { get; set; }
    Property Value
    Type Description
    int4

    zwyy

    Declaration
    public int4 zwyy { get; }
    Property Value
    Type Description
    int4

    zwyz

    Declaration
    public int4 zwyz { get; }
    Property Value
    Type Description
    int4

    zwz

    Declaration
    public int3 zwz { get; }
    Property Value
    Type Description
    int3

    zwzw

    Declaration
    public int4 zwzw { get; }
    Property Value
    Type Description
    int4

    zwzx

    Declaration
    public int4 zwzx { get; }
    Property Value
    Type Description
    int4

    zwzy

    Declaration
    public int4 zwzy { get; }
    Property Value
    Type Description
    int4

    zwzz

    Declaration
    public int4 zwzz { get; }
    Property Value
    Type Description
    int4

    zx

    Declaration
    public int2 zx { get; set; }
    Property Value
    Type Description
    int2

    zxw

    Declaration
    public int3 zxw { get; set; }
    Property Value
    Type Description
    int3

    zxww

    Declaration
    public int4 zxww { get; }
    Property Value
    Type Description
    int4

    zxwx

    Declaration
    public int4 zxwx { get; }
    Property Value
    Type Description
    int4

    zxwy

    Declaration
    public int4 zxwy { get; set; }
    Property Value
    Type Description
    int4

    zxwz

    Declaration
    public int4 zxwz { get; }
    Property Value
    Type Description
    int4

    zxx

    Declaration
    public int3 zxx { get; }
    Property Value
    Type Description
    int3

    zxxw

    Declaration
    public int4 zxxw { get; }
    Property Value
    Type Description
    int4

    zxxx

    Declaration
    public int4 zxxx { get; }
    Property Value
    Type Description
    int4

    zxxy

    Declaration
    public int4 zxxy { get; }
    Property Value
    Type Description
    int4

    zxxz

    Declaration
    public int4 zxxz { get; }
    Property Value
    Type Description
    int4

    zxy

    Declaration
    public int3 zxy { get; set; }
    Property Value
    Type Description
    int3

    zxyw

    Declaration
    public int4 zxyw { get; set; }
    Property Value
    Type Description
    int4

    zxyx

    Declaration
    public int4 zxyx { get; }
    Property Value
    Type Description
    int4

    zxyy

    Declaration
    public int4 zxyy { get; }
    Property Value
    Type Description
    int4

    zxyz

    Declaration
    public int4 zxyz { get; }
    Property Value
    Type Description
    int4

    zxz

    Declaration
    public int3 zxz { get; }
    Property Value
    Type Description
    int3

    zxzw

    Declaration
    public int4 zxzw { get; }
    Property Value
    Type Description
    int4

    zxzx

    Declaration
    public int4 zxzx { get; }
    Property Value
    Type Description
    int4

    zxzy

    Declaration
    public int4 zxzy { get; }
    Property Value
    Type Description
    int4

    zxzz

    Declaration
    public int4 zxzz { get; }
    Property Value
    Type Description
    int4

    zy

    Declaration
    public int2 zy { get; set; }
    Property Value
    Type Description
    int2

    zyw

    Declaration
    public int3 zyw { get; set; }
    Property Value
    Type Description
    int3

    zyww

    Declaration
    public int4 zyww { get; }
    Property Value
    Type Description
    int4

    zywx

    Declaration
    public int4 zywx { get; set; }
    Property Value
    Type Description
    int4

    zywy

    Declaration
    public int4 zywy { get; }
    Property Value
    Type Description
    int4

    zywz

    Declaration
    public int4 zywz { get; }
    Property Value
    Type Description
    int4

    zyx

    Declaration
    public int3 zyx { get; set; }
    Property Value
    Type Description
    int3

    zyxw

    Declaration
    public int4 zyxw { get; set; }
    Property Value
    Type Description
    int4

    zyxx

    Declaration
    public int4 zyxx { get; }
    Property Value
    Type Description
    int4

    zyxy

    Declaration
    public int4 zyxy { get; }
    Property Value
    Type Description
    int4

    zyxz

    Declaration
    public int4 zyxz { get; }
    Property Value
    Type Description
    int4

    zyy

    Declaration
    public int3 zyy { get; }
    Property Value
    Type Description
    int3

    zyyw

    Declaration
    public int4 zyyw { get; }
    Property Value
    Type Description
    int4

    zyyx

    Declaration
    public int4 zyyx { get; }
    Property Value
    Type Description
    int4

    zyyy

    Declaration
    public int4 zyyy { get; }
    Property Value
    Type Description
    int4

    zyyz

    Declaration
    public int4 zyyz { get; }
    Property Value
    Type Description
    int4

    zyz

    Declaration
    public int3 zyz { get; }
    Property Value
    Type Description
    int3

    zyzw

    Declaration
    public int4 zyzw { get; }
    Property Value
    Type Description
    int4

    zyzx

    Declaration
    public int4 zyzx { get; }
    Property Value
    Type Description
    int4

    zyzy

    Declaration
    public int4 zyzy { get; }
    Property Value
    Type Description
    int4

    zyzz

    Declaration
    public int4 zyzz { get; }
    Property Value
    Type Description
    int4

    zz

    Declaration
    public int2 zz { get; }
    Property Value
    Type Description
    int2

    zzw

    Declaration
    public int3 zzw { get; }
    Property Value
    Type Description
    int3

    zzww

    Declaration
    public int4 zzww { get; }
    Property Value
    Type Description
    int4

    zzwx

    Declaration
    public int4 zzwx { get; }
    Property Value
    Type Description
    int4

    zzwy

    Declaration
    public int4 zzwy { get; }
    Property Value
    Type Description
    int4

    zzwz

    Declaration
    public int4 zzwz { get; }
    Property Value
    Type Description
    int4

    zzx

    Declaration
    public int3 zzx { get; }
    Property Value
    Type Description
    int3

    zzxw

    Declaration
    public int4 zzxw { get; }
    Property Value
    Type Description
    int4

    zzxx

    Declaration
    public int4 zzxx { get; }
    Property Value
    Type Description
    int4

    zzxy

    Declaration
    public int4 zzxy { get; }
    Property Value
    Type Description
    int4

    zzxz

    Declaration
    public int4 zzxz { get; }
    Property Value
    Type Description
    int4

    zzy

    Declaration
    public int3 zzy { get; }
    Property Value
    Type Description
    int3

    zzyw

    Declaration
    public int4 zzyw { get; }
    Property Value
    Type Description
    int4

    zzyx

    Declaration
    public int4 zzyx { get; }
    Property Value
    Type Description
    int4

    zzyy

    Declaration
    public int4 zzyy { get; }
    Property Value
    Type Description
    int4

    zzyz

    Declaration
    public int4 zzyz { get; }
    Property Value
    Type Description
    int4

    zzz

    Declaration
    public int3 zzz { get; }
    Property Value
    Type Description
    int3

    zzzw

    Declaration
    public int4 zzzw { get; }
    Property Value
    Type Description
    int4

    zzzx

    Declaration
    public int4 zzzx { get; }
    Property Value
    Type Description
    int4

    zzzy

    Declaration
    public int4 zzzy { get; }
    Property Value
    Type Description
    int4

    zzzz

    Declaration
    public int4 zzzz { get; }
    Property Value
    Type Description
    int4

    Methods

    Equals(Object)

    Returns true if the int4 is equal to a given int4, false otherwise.

    Declaration
    public override bool Equals(object o)
    Parameters
    Type Name Description
    System.Object o
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    Equals(int4)

    Returns true if the int4 is equal to a given int4, false otherwise.

    Declaration
    public bool Equals(int4 rhs)
    Parameters
    Type Name Description
    int4 rhs
    Returns
    Type Description
    System.Boolean

    GetHashCode()

    Returns a hash code for the int4.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()

    ToString()

    Returns a string representation of the int4.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.ValueType.ToString()

    ToString(String, IFormatProvider)

    Returns a string representation of the int4 using a specified format and culture-specific format information.

    Declaration
    public string ToString(string format, IFormatProvider formatProvider)
    Parameters
    Type Name Description
    System.String format
    System.IFormatProvider formatProvider
    Returns
    Type Description
    System.String

    Operators

    Addition(Int32, int4)

    Returns the result of a componentwise addition operation on an int value and an int4 vector.

    Declaration
    public static int4 operator +(int lhs, int4 rhs)
    Parameters
    Type Name Description
    System.Int32 lhs
    int4 rhs
    Returns
    Type Description
    int4

    Addition(int4, Int32)

    Returns the result of a componentwise addition operation on an int4 vector and an int value.

    Declaration
    public static int4 operator +(int4 lhs, int rhs)
    Parameters
    Type Name Description
    int4 lhs
    System.Int32 rhs
    Returns
    Type Description
    int4

    Addition(int4, int4)

    Returns the result of a componentwise addition operation on two int4 vectors.

    Declaration
    public static int4 operator +(int4 lhs, int4 rhs)
    Parameters
    Type Name Description
    int4 lhs
    int4 rhs
    Returns
    Type Description
    int4

    BitwiseAnd(Int32, int4)

    Returns the result of a componentwise bitwise and operation on an int value and an int4 vector.

    Declaration
    public static int4 operator &(int lhs, int4 rhs)
    Parameters
    Type Name Description
    System.Int32 lhs
    int4 rhs
    Returns
    Type Description
    int4

    BitwiseAnd(int4, Int32)

    Returns the result of a componentwise bitwise and operation on an int4 vector and an int value.

    Declaration
    public static int4 operator &(int4 lhs, int rhs)
    Parameters
    Type Name Description
    int4 lhs
    System.Int32 rhs
    Returns
    Type Description
    int4

    BitwiseAnd(int4, int4)

    Returns the result of a componentwise bitwise and operation on two int4 vectors.

    Declaration
    public static int4 operator &(int4 lhs, int4 rhs)
    Parameters
    Type Name Description
    int4 lhs
    int4 rhs
    Returns
    Type Description
    int4

    BitwiseOr(Int32, int4)

    Returns the result of a componentwise bitwise or operation on an int value and an int4 vector.

    Declaration
    public static int4 operator |(int lhs, int4 rhs)
    Parameters
    Type Name Description
    System.Int32 lhs
    int4 rhs
    Returns
    Type Description
    int4

    BitwiseOr(int4, Int32)

    Returns the result of a componentwise bitwise or operation on an int4 vector and an int value.

    Declaration
    public static int4 operator |(int4 lhs, int rhs)
    Parameters
    Type Name Description
    int4 lhs
    System.Int32 rhs
    Returns
    Type Description
    int4

    BitwiseOr(int4, int4)

    Returns the result of a componentwise bitwise or operation on two int4 vectors.

    Declaration
    public static int4 operator |(int4 lhs, int4 rhs)
    Parameters
    Type Name Description
    int4 lhs
    int4 rhs
    Returns
    Type Description
    int4

    Decrement(int4)

    Returns the result of a componentwise decrement operation on an int4 vector.

    Declaration
    public static int4 operator --(int4 val)
    Parameters
    Type Name Description
    int4 val
    Returns
    Type Description
    int4

    Division(Int32, int4)

    Returns the result of a componentwise division operation on an int value and an int4 vector.

    Declaration
    public static int4 operator /(int lhs, int4 rhs)
    Parameters
    Type Name Description
    System.Int32 lhs
    int4 rhs
    Returns
    Type Description
    int4

    Division(int4, Int32)

    Returns the result of a componentwise division operation on an int4 vector and an int value.

    Declaration
    public static int4 operator /(int4 lhs, int rhs)
    Parameters
    Type Name Description
    int4 lhs
    System.Int32 rhs
    Returns
    Type Description
    int4

    Division(int4, int4)

    Returns the result of a componentwise division operation on two int4 vectors.

    Declaration
    public static int4 operator /(int4 lhs, int4 rhs)
    Parameters
    Type Name Description
    int4 lhs
    int4 rhs
    Returns
    Type Description
    int4

    Equality(Int32, int4)

    Returns the result of a componentwise equality operation on an int value and an int4 vector.

    Declaration
    public static bool4 operator ==(int lhs, int4 rhs)
    Parameters
    Type Name Description
    System.Int32 lhs
    int4 rhs
    Returns
    Type Description
    bool4

    Equality(int4, Int32)

    Returns the result of a componentwise equality operation on an int4 vector and an int value.

    Declaration
    public static bool4 operator ==(int4 lhs, int rhs)
    Parameters
    Type Name Description
    int4 lhs
    System.Int32 rhs
    Returns
    Type Description
    bool4

    Equality(int4, int4)

    Returns the result of a componentwise equality operation on two int4 vectors.

    Declaration
    public static bool4 operator ==(int4 lhs, int4 rhs)
    Parameters
    Type Name Description
    int4 lhs
    int4 rhs
    Returns
    Type Description
    bool4

    ExclusiveOr(Int32, int4)

    Returns the result of a componentwise bitwise exclusive or operation on an int value and an int4 vector.

    Declaration
    public static int4 operator ^(int lhs, int4 rhs)
    Parameters
    Type Name Description
    System.Int32 lhs
    int4 rhs
    Returns
    Type Description
    int4

    ExclusiveOr(int4, Int32)

    Returns the result of a componentwise bitwise exclusive or operation on an int4 vector and an int value.

    Declaration
    public static int4 operator ^(int4 lhs, int rhs)
    Parameters
    Type Name Description
    int4 lhs
    System.Int32 rhs
    Returns
    Type Description
    int4

    ExclusiveOr(int4, int4)

    Returns the result of a componentwise bitwise exclusive or operation on two int4 vectors.

    Declaration
    public static int4 operator ^(int4 lhs, int4 rhs)
    Parameters
    Type Name Description
    int4 lhs
    int4 rhs
    Returns
    Type Description
    int4

    Explicit(Boolean to int4)

    Explicitly converts a single bool value to a int4 vector by converting it to int and assigning it to every component.

    Declaration
    public static explicit operator int4(bool v)
    Parameters
    Type Name Description
    System.Boolean v
    Returns
    Type Description
    int4

    Explicit(Double to int4)

    Explicitly converts a single double value to a int4 vector by converting it to int and assigning it to every component.

    Declaration
    public static explicit operator int4(double v)
    Parameters
    Type Name Description
    System.Double v
    Returns
    Type Description
    int4

    Explicit(Single to int4)

    Explicitly converts a single float value to a int4 vector by converting it to int and assigning it to every component.

    Declaration
    public static explicit operator int4(float v)
    Parameters
    Type Name Description
    System.Single v
    Returns
    Type Description
    int4

    Explicit(UInt32 to int4)

    Explicitly converts a single uint value to a int4 vector by converting it to int and assigning it to every component.

    Declaration
    public static explicit operator int4(uint v)
    Parameters
    Type Name Description
    System.UInt32 v
    Returns
    Type Description
    int4

    Explicit(bool4 to int4)

    Explicitly converts a bool4 vector to a int4 vector by componentwise conversion.

    Declaration
    public static explicit operator int4(bool4 v)
    Parameters
    Type Name Description
    bool4 v
    Returns
    Type Description
    int4

    Explicit(double4 to int4)

    Explicitly converts a double4 vector to a int4 vector by componentwise conversion.

    Declaration
    public static explicit operator int4(double4 v)
    Parameters
    Type Name Description
    double4 v
    Returns
    Type Description
    int4

    Explicit(float4 to int4)

    Explicitly converts a float4 vector to a int4 vector by componentwise conversion.

    Declaration
    public static explicit operator int4(float4 v)
    Parameters
    Type Name Description
    float4 v
    Returns
    Type Description
    int4

    Explicit(uint4 to int4)

    Explicitly converts a uint4 vector to a int4 vector by componentwise conversion.

    Declaration
    public static explicit operator int4(uint4 v)
    Parameters
    Type Name Description
    uint4 v
    Returns
    Type Description
    int4

    GreaterThan(Int32, int4)

    Returns the result of a componentwise greater than operation on an int value and an int4 vector.

    Declaration
    public static bool4 operator>(int lhs, int4 rhs)
    Parameters
    Type Name Description
    System.Int32 lhs
    int4 rhs
    Returns
    Type Description
    bool4

    GreaterThan(int4, Int32)

    Returns the result of a componentwise greater than operation on an int4 vector and an int value.

    Declaration
    public static bool4 operator>(int4 lhs, int rhs)
    Parameters
    Type Name Description
    int4 lhs
    System.Int32 rhs
    Returns
    Type Description
    bool4

    GreaterThan(int4, int4)

    Returns the result of a componentwise greater than operation on two int4 vectors.

    Declaration
    public static bool4 operator>(int4 lhs, int4 rhs)
    Parameters
    Type Name Description
    int4 lhs
    int4 rhs
    Returns
    Type Description
    bool4

    GreaterThanOrEqual(Int32, int4)

    Returns the result of a componentwise greater or equal operation on an int value and an int4 vector.

    Declaration
    public static bool4 operator >=(int lhs, int4 rhs)
    Parameters
    Type Name Description
    System.Int32 lhs
    int4 rhs
    Returns
    Type Description
    bool4

    GreaterThanOrEqual(int4, Int32)

    Returns the result of a componentwise greater or equal operation on an int4 vector and an int value.

    Declaration
    public static bool4 operator >=(int4 lhs, int rhs)
    Parameters
    Type Name Description
    int4 lhs
    System.Int32 rhs
    Returns
    Type Description
    bool4

    GreaterThanOrEqual(int4, int4)

    Returns the result of a componentwise greater or equal operation on two int4 vectors.

    Declaration
    public static bool4 operator >=(int4 lhs, int4 rhs)
    Parameters
    Type Name Description
    int4 lhs
    int4 rhs
    Returns
    Type Description
    bool4

    Implicit(Int32 to int4)

    Implicitly converts a single int value to a int4 vector by assigning it to every component.

    Declaration
    public static implicit operator int4(int v)
    Parameters
    Type Name Description
    System.Int32 v
    Returns
    Type Description
    int4

    Increment(int4)

    Returns the result of a componentwise increment operation on an int4 vector.

    Declaration
    public static int4 operator ++(int4 val)
    Parameters
    Type Name Description
    int4 val
    Returns
    Type Description
    int4

    Inequality(Int32, int4)

    Returns the result of a componentwise not equal operation on an int value and an int4 vector.

    Declaration
    public static bool4 operator !=(int lhs, int4 rhs)
    Parameters
    Type Name Description
    System.Int32 lhs
    int4 rhs
    Returns
    Type Description
    bool4

    Inequality(int4, Int32)

    Returns the result of a componentwise not equal operation on an int4 vector and an int value.

    Declaration
    public static bool4 operator !=(int4 lhs, int rhs)
    Parameters
    Type Name Description
    int4 lhs
    System.Int32 rhs
    Returns
    Type Description
    bool4

    Inequality(int4, int4)

    Returns the result of a componentwise not equal operation on two int4 vectors.

    Declaration
    public static bool4 operator !=(int4 lhs, int4 rhs)
    Parameters
    Type Name Description
    int4 lhs
    int4 rhs
    Returns
    Type Description
    bool4

    LeftShift(int4, Int32)

    Returns the result of a componentwise left shift operation on an int4 vector by a number of bits specified by a single int.

    Declaration
    public static int4 operator <<(int4 x, int n)
    Parameters
    Type Name Description
    int4 x
    System.Int32 n
    Returns
    Type Description
    int4

    LessThan(Int32, int4)

    Returns the result of a componentwise less than operation on an int value and an int4 vector.

    Declaration
    public static bool4 operator <(int lhs, int4 rhs)
    Parameters
    Type Name Description
    System.Int32 lhs
    int4 rhs
    Returns
    Type Description
    bool4

    LessThan(int4, Int32)

    Returns the result of a componentwise less than operation on an int4 vector and an int value.

    Declaration
    public static bool4 operator <(int4 lhs, int rhs)
    Parameters
    Type Name Description
    int4 lhs
    System.Int32 rhs
    Returns
    Type Description
    bool4

    LessThan(int4, int4)

    Returns the result of a componentwise less than operation on two int4 vectors.

    Declaration
    public static bool4 operator <(int4 lhs, int4 rhs)
    Parameters
    Type Name Description
    int4 lhs
    int4 rhs
    Returns
    Type Description
    bool4

    LessThanOrEqual(Int32, int4)

    Returns the result of a componentwise less or equal operation on an int value and an int4 vector.

    Declaration
    public static bool4 operator <=(int lhs, int4 rhs)
    Parameters
    Type Name Description
    System.Int32 lhs
    int4 rhs
    Returns
    Type Description
    bool4

    LessThanOrEqual(int4, Int32)

    Returns the result of a componentwise less or equal operation on an int4 vector and an int value.

    Declaration
    public static bool4 operator <=(int4 lhs, int rhs)
    Parameters
    Type Name Description
    int4 lhs
    System.Int32 rhs
    Returns
    Type Description
    bool4

    LessThanOrEqual(int4, int4)

    Returns the result of a componentwise less or equal operation on two int4 vectors.

    Declaration
    public static bool4 operator <=(int4 lhs, int4 rhs)
    Parameters
    Type Name Description
    int4 lhs
    int4 rhs
    Returns
    Type Description
    bool4

    Modulus(Int32, int4)

    Returns the result of a componentwise modulus operation on an int value and an int4 vector.

    Declaration
    public static int4 operator %(int lhs, int4 rhs)
    Parameters
    Type Name Description
    System.Int32 lhs
    int4 rhs
    Returns
    Type Description
    int4

    Modulus(int4, Int32)

    Returns the result of a componentwise modulus operation on an int4 vector and an int value.

    Declaration
    public static int4 operator %(int4 lhs, int rhs)
    Parameters
    Type Name Description
    int4 lhs
    System.Int32 rhs
    Returns
    Type Description
    int4

    Modulus(int4, int4)

    Returns the result of a componentwise modulus operation on two int4 vectors.

    Declaration
    public static int4 operator %(int4 lhs, int4 rhs)
    Parameters
    Type Name Description
    int4 lhs
    int4 rhs
    Returns
    Type Description
    int4

    Multiply(Int32, int4)

    Returns the result of a componentwise multiplication operation on an int value and an int4 vector.

    Declaration
    public static int4 operator *(int lhs, int4 rhs)
    Parameters
    Type Name Description
    System.Int32 lhs
    int4 rhs
    Returns
    Type Description
    int4

    Multiply(int4, Int32)

    Returns the result of a componentwise multiplication operation on an int4 vector and an int value.

    Declaration
    public static int4 operator *(int4 lhs, int rhs)
    Parameters
    Type Name Description
    int4 lhs
    System.Int32 rhs
    Returns
    Type Description
    int4

    Multiply(int4, int4)

    Returns the result of a componentwise multiplication operation on two int4 vectors.

    Declaration
    public static int4 operator *(int4 lhs, int4 rhs)
    Parameters
    Type Name Description
    int4 lhs
    int4 rhs
    Returns
    Type Description
    int4

    OnesComplement(int4)

    Returns the result of a componentwise bitwise not operation on an int4 vector.

    Declaration
    public static int4 operator ~(int4 val)
    Parameters
    Type Name Description
    int4 val
    Returns
    Type Description
    int4

    RightShift(int4, Int32)

    Returns the result of a componentwise right shift operation on an int4 vector by a number of bits specified by a single int.

    Declaration
    public static int4 operator >>(int4 x, int n)
    Parameters
    Type Name Description
    int4 x
    System.Int32 n
    Returns
    Type Description
    int4

    Subtraction(Int32, int4)

    Returns the result of a componentwise subtraction operation on an int value and an int4 vector.

    Declaration
    public static int4 operator -(int lhs, int4 rhs)
    Parameters
    Type Name Description
    System.Int32 lhs
    int4 rhs
    Returns
    Type Description
    int4

    Subtraction(int4, Int32)

    Returns the result of a componentwise subtraction operation on an int4 vector and an int value.

    Declaration
    public static int4 operator -(int4 lhs, int rhs)
    Parameters
    Type Name Description
    int4 lhs
    System.Int32 rhs
    Returns
    Type Description
    int4

    Subtraction(int4, int4)

    Returns the result of a componentwise subtraction operation on two int4 vectors.

    Declaration
    public static int4 operator -(int4 lhs, int4 rhs)
    Parameters
    Type Name Description
    int4 lhs
    int4 rhs
    Returns
    Type Description
    int4

    UnaryNegation(int4)

    Returns the result of a componentwise unary minus operation on an int4 vector.

    Declaration
    public static int4 operator -(int4 val)
    Parameters
    Type Name Description
    int4 val
    Returns
    Type Description
    int4

    UnaryPlus(int4)

    Returns the result of a componentwise unary plus operation on an int4 vector.

    Declaration
    public static int4 operator +(int4 val)
    Parameters
    Type Name Description
    int4 val
    Returns
    Type Description
    int4
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX