Scripting API

float4

struct in Unity.Mathematics · Unity.Mathematics

362 of 362 of Unity's members

Constructors 1

float4(float x, float y, float z, float w)
float4(float x, float y, float2 zw)
float4(float x, float2 yz, float w)
float4(float x, float3 yzw)
float4(float2 xy, float z, float w)
float4(float2 xy, float2 zw)
float4(float3 xyz, float w)
float4(float4 xyzw)
float4(float v)
float4(bool v)
float4(bool4 v)
float4(int v)
float4(int4 v)
float4(uint v)
float4(uint4 v)
float4(half v)
float4(half4 v)
float4(double v)
float4(double4 v)

Fields 5

float w
float x
float y
float z
static readonly float4 zero

Properties 337

float this[int index] { get; set; }
readonly float2 ww { get; }
readonly float3 www { get; }
readonly float4 wwww { get; }
readonly float4 wwwx { get; }
readonly float4 wwwy { get; }
readonly float4 wwwz { get; }
readonly float3 wwx { get; }
readonly float4 wwxw { get; }
readonly float4 wwxx { get; }
readonly float4 wwxy { get; }
readonly float4 wwxz { get; }
readonly float3 wwy { get; }
readonly float4 wwyw { get; }
readonly float4 wwyx { get; }
readonly float4 wwyy { get; }
readonly float4 wwyz { get; }
readonly float3 wwz { get; }
readonly float4 wwzw { get; }
readonly float4 wwzx { get; }
readonly float4 wwzy { get; }
readonly float4 wwzz { get; }
float2 wx { get; set; }
readonly float3 wxw { get; }
readonly float4 wxww { get; }
readonly float4 wxwx { get; }
readonly float4 wxwy { get; }
readonly float4 wxwz { get; }
readonly float3 wxx { get; }
readonly float4 wxxw { get; }
readonly float4 wxxx { get; }
readonly float4 wxxy { get; }
readonly float4 wxxz { get; }
float3 wxy { get; set; }
readonly float4 wxyw { get; }
readonly float4 wxyx { get; }
readonly float4 wxyy { get; }
float4 wxyz { get; set; }
float3 wxz { get; set; }
readonly float4 wxzw { get; }
readonly float4 wxzx { get; }
float4 wxzy { get; set; }
readonly float4 wxzz { get; }
float2 wy { get; set; }
readonly float3 wyw { get; }
readonly float4 wyww { get; }
readonly float4 wywx { get; }
readonly float4 wywy { get; }
readonly float4 wywz { get; }
float3 wyx { get; set; }
readonly float4 wyxw { get; }
readonly float4 wyxx { get; }
readonly float4 wyxy { get; }
float4 wyxz { get; set; }
readonly float3 wyy { get; }
readonly float4 wyyw { get; }
readonly float4 wyyx { get; }
readonly float4 wyyy { get; }
readonly float4 wyyz { get; }
float3 wyz { get; set; }
readonly float4 wyzw { get; }
float4 wyzx { get; set; }
readonly float4 wyzy { get; }
readonly float4 wyzz { get; }
float2 wz { get; set; }
readonly float3 wzw { get; }
readonly float4 wzww { get; }
readonly float4 wzwx { get; }
readonly float4 wzwy { get; }
readonly float4 wzwz { get; }
float3 wzx { get; set; }
readonly float4 wzxw { get; }
readonly float4 wzxx { get; }
float4 wzxy { get; set; }
readonly float4 wzxz { get; }
float3 wzy { get; set; }
readonly float4 wzyw { get; }
float4 wzyx { get; set; }
readonly float4 wzyy { get; }
readonly float4 wzyz { get; }
readonly float3 wzz { get; }
readonly float4 wzzw { get; }
readonly float4 wzzx { get; }
readonly float4 wzzy { get; }
readonly float4 wzzz { get; }
float2 xw { get; set; }
readonly float3 xww { get; }
readonly float4 xwww { get; }
readonly float4 xwwx { get; }
readonly float4 xwwy { get; }
readonly float4 xwwz { get; }
readonly float3 xwx { get; }
readonly float4 xwxw { get; }
readonly float4 xwxx { get; }
readonly float4 xwxy { get; }
readonly float4 xwxz { get; }
float3 xwy { get; set; }
readonly float4 xwyw { get; }
readonly float4 xwyx { get; }
readonly float4 xwyy { get; }
float4 xwyz { get; set; }
float3 xwz { get; set; }
readonly float4 xwzw { get; }
readonly float4 xwzx { get; }
float4 xwzy { get; set; }
readonly float4 xwzz { get; }
readonly float2 xx { get; }
readonly float3 xxw { get; }
readonly float4 xxww { get; }
readonly float4 xxwx { get; }
readonly float4 xxwy { get; }
readonly float4 xxwz { get; }
readonly float3 xxx { get; }
readonly float4 xxxw { get; }
readonly float4 xxxx { get; }
readonly float4 xxxy { get; }
readonly float4 xxxz { get; }
readonly float3 xxy { get; }
readonly float4 xxyw { get; }
readonly float4 xxyx { get; }
readonly float4 xxyy { get; }
readonly float4 xxyz { get; }
readonly float3 xxz { get; }
readonly float4 xxzw { get; }
readonly float4 xxzx { get; }
readonly float4 xxzy { get; }
readonly float4 xxzz { get; }
float2 xy { get; set; }
float3 xyw { get; set; }
readonly float4 xyww { get; }
readonly float4 xywx { get; }
readonly float4 xywy { get; }
float4 xywz { get; set; }
readonly float3 xyx { get; }
readonly float4 xyxw { get; }
readonly float4 xyxx { get; }
readonly float4 xyxy { get; }
readonly float4 xyxz { get; }
readonly float3 xyy { get; }
readonly float4 xyyw { get; }
readonly float4 xyyx { get; }
readonly float4 xyyy { get; }
readonly float4 xyyz { get; }
float3 xyz { get; set; }
float4 xyzw { get; set; }
readonly float4 xyzx { get; }
readonly float4 xyzy { get; }
readonly float4 xyzz { get; }
float2 xz { get; set; }
float3 xzw { get; set; }
readonly float4 xzww { get; }
readonly float4 xzwx { get; }
float4 xzwy { get; set; }
readonly float4 xzwz { get; }
readonly float3 xzx { get; }
readonly float4 xzxw { get; }
readonly float4 xzxx { get; }
readonly float4 xzxy { get; }
readonly float4 xzxz { get; }
float3 xzy { get; set; }
float4 xzyw { get; set; }
readonly float4 xzyx { get; }
readonly float4 xzyy { get; }
readonly float4 xzyz { get; }
readonly float3 xzz { get; }
readonly float4 xzzw { get; }
readonly float4 xzzx { get; }
readonly float4 xzzy { get; }
readonly float4 xzzz { get; }
float2 yw { get; set; }
readonly float3 yww { get; }
readonly float4 ywww { get; }
readonly float4 ywwx { get; }
readonly float4 ywwy { get; }
readonly float4 ywwz { get; }
float3 ywx { get; set; }
readonly float4 ywxw { get; }
readonly float4 ywxx { get; }
readonly float4 ywxy { get; }
float4 ywxz { get; set; }
readonly float3 ywy { get; }
readonly float4 ywyw { get; }
readonly float4 ywyx { get; }
readonly float4 ywyy { get; }
readonly float4 ywyz { get; }
float3 ywz { get; set; }
readonly float4 ywzw { get; }
float4 ywzx { get; set; }
readonly float4 ywzy { get; }
readonly float4 ywzz { get; }
float2 yx { get; set; }
float3 yxw { get; set; }
readonly float4 yxww { get; }
readonly float4 yxwx { get; }
readonly float4 yxwy { get; }
float4 yxwz { get; set; }
readonly float3 yxx { get; }
readonly float4 yxxw { get; }
readonly float4 yxxx { get; }
readonly float4 yxxy { get; }
readonly float4 yxxz { get; }
readonly float3 yxy { get; }
readonly float4 yxyw { get; }
readonly float4 yxyx { get; }
readonly float4 yxyy { get; }
readonly float4 yxyz { get; }
float3 yxz { get; set; }
float4 yxzw { get; set; }
readonly float4 yxzx { get; }
readonly float4 yxzy { get; }
readonly float4 yxzz { get; }
readonly float2 yy { get; }
readonly float3 yyw { get; }
readonly float4 yyww { get; }
readonly float4 yywx { get; }
readonly float4 yywy { get; }
readonly float4 yywz { get; }
readonly float3 yyx { get; }
readonly float4 yyxw { get; }
readonly float4 yyxx { get; }
readonly float4 yyxy { get; }
readonly float4 yyxz { get; }
readonly float3 yyy { get; }
readonly float4 yyyw { get; }
readonly float4 yyyx { get; }
readonly float4 yyyy { get; }
readonly float4 yyyz { get; }
readonly float3 yyz { get; }
readonly float4 yyzw { get; }
readonly float4 yyzx { get; }
readonly float4 yyzy { get; }
readonly float4 yyzz { get; }
float2 yz { get; set; }
float3 yzw { get; set; }
readonly float4 yzww { get; }
float4 yzwx { get; set; }
readonly float4 yzwy { get; }
readonly float4 yzwz { get; }
float3 yzx { get; set; }
float4 yzxw { get; set; }
readonly float4 yzxx { get; }
readonly float4 yzxy { get; }
readonly float4 yzxz { get; }
readonly float3 yzy { get; }
readonly float4 yzyw { get; }
readonly float4 yzyx { get; }
readonly float4 yzyy { get; }
readonly float4 yzyz { get; }
readonly float3 yzz { get; }
readonly float4 yzzw { get; }
readonly float4 yzzx { get; }
readonly float4 yzzy { get; }
readonly float4 yzzz { get; }
float2 zw { get; set; }
readonly float3 zww { get; }
readonly float4 zwww { get; }
readonly float4 zwwx { get; }
readonly float4 zwwy { get; }
readonly float4 zwwz { get; }
float3 zwx { get; set; }
readonly float4 zwxw { get; }
readonly float4 zwxx { get; }
float4 zwxy { get; set; }
readonly float4 zwxz { get; }
float3 zwy { get; set; }
readonly float4 zwyw { get; }
float4 zwyx { get; set; }
readonly float4 zwyy { get; }
readonly float4 zwyz { get; }
readonly float3 zwz { get; }
readonly float4 zwzw { get; }
readonly float4 zwzx { get; }
readonly float4 zwzy { get; }
readonly float4 zwzz { get; }
float2 zx { get; set; }
float3 zxw { get; set; }
readonly float4 zxww { get; }
readonly float4 zxwx { get; }
float4 zxwy { get; set; }
readonly float4 zxwz { get; }
readonly float3 zxx { get; }
readonly float4 zxxw { get; }
readonly float4 zxxx { get; }
readonly float4 zxxy { get; }
readonly float4 zxxz { get; }
float3 zxy { get; set; }
float4 zxyw { get; set; }
readonly float4 zxyx { get; }
readonly float4 zxyy { get; }
readonly float4 zxyz { get; }
readonly float3 zxz { get; }
readonly float4 zxzw { get; }
readonly float4 zxzx { get; }
readonly float4 zxzy { get; }
readonly float4 zxzz { get; }
float2 zy { get; set; }
float3 zyw { get; set; }
readonly float4 zyww { get; }
float4 zywx { get; set; }
readonly float4 zywy { get; }
readonly float4 zywz { get; }
float3 zyx { get; set; }
float4 zyxw { get; set; }
readonly float4 zyxx { get; }
readonly float4 zyxy { get; }
readonly float4 zyxz { get; }
readonly float3 zyy { get; }
readonly float4 zyyw { get; }
readonly float4 zyyx { get; }
readonly float4 zyyy { get; }
readonly float4 zyyz { get; }
readonly float3 zyz { get; }
readonly float4 zyzw { get; }
readonly float4 zyzx { get; }
readonly float4 zyzy { get; }
readonly float4 zyzz { get; }
readonly float2 zz { get; }
readonly float3 zzw { get; }
readonly float4 zzww { get; }
readonly float4 zzwx { get; }
readonly float4 zzwy { get; }
readonly float4 zzwz { get; }
readonly float3 zzx { get; }
readonly float4 zzxw { get; }
readonly float4 zzxx { get; }
readonly float4 zzxy { get; }
readonly float4 zzxz { get; }
readonly float3 zzy { get; }
readonly float4 zzyw { get; }
readonly float4 zzyx { get; }
readonly float4 zzyy { get; }
readonly float4 zzyz { get; }
readonly float3 zzz { get; }
readonly float4 zzzw { get; }
readonly float4 zzzx { get; }
readonly float4 zzzy { get; }
readonly float4 zzzz { get; }

Methods 3

readonly bool Equals(float4 rhs)
readonly bool Equals(object? o)
readonly int GetHashCode()
readonly string ToString()
readonly string ToString(string? format, IFormatProvider? formatProvider)

Operators 15

static explicit operator float4(bool v)
static explicit operator float4(bool4 v)
static explicit operator float4(double v)
static explicit operator float4(double4 v)
static implicit operator float4(float v)
static implicit operator float4(int v)
static implicit operator float4(int4 v)
static implicit operator float4(uint v)
static implicit operator float4(uint4 v)
static implicit operator float4(half v)
static implicit operator float4(half4 v)
static implicit operator Vector4(float4 v)
static implicit operator float4(Vector4 v)
static bool4 operator !=(float4 lhs, float4 rhs)
static bool4 operator !=(float4 lhs, float rhs)
static bool4 operator !=(float lhs, float4 rhs)
static float4 operator %(float4 lhs, float4 rhs)
static float4 operator %(float4 lhs, float rhs)
static float4 operator %(float lhs, float4 rhs)
static float4 operator *(float4 lhs, float4 rhs)
static float4 operator *(float4 lhs, float rhs)
static float4 operator *(float lhs, float4 rhs)
static float4 operator +(float4 lhs, float4 rhs)
static float4 operator +(float4 lhs, float rhs)
static float4 operator +(float lhs, float4 rhs)
static float4 operator +(float4 val)
static float4 operator ++(float4 val)
static float4 operator -(float4 lhs, float4 rhs)
static float4 operator -(float4 lhs, float rhs)
static float4 operator -(float lhs, float4 rhs)
static float4 operator -(float4 val)
static float4 operator --(float4 val)
static float4 operator /(float4 lhs, float4 rhs)
static float4 operator /(float4 lhs, float rhs)
static float4 operator /(float lhs, float4 rhs)
static bool4 operator <(float4 lhs, float4 rhs)
static bool4 operator <(float4 lhs, float rhs)
static bool4 operator <(float lhs, float4 rhs)
static bool4 operator <=(float4 lhs, float4 rhs)
static bool4 operator <=(float4 lhs, float rhs)
static bool4 operator <=(float lhs, float4 rhs)
static bool4 operator ==(float4 lhs, float4 rhs)
static bool4 operator ==(float4 lhs, float rhs)
static bool4 operator ==(float lhs, float4 rhs)
static bool4 operator >(float4 lhs, float4 rhs)
static bool4 operator >(float4 lhs, float rhs)
static bool4 operator >(float lhs, float4 rhs)
static bool4 operator >=(float4 lhs, float4 rhs)
static bool4 operator >=(float4 lhs, float rhs)
static bool4 operator >=(float lhs, float4 rhs)