Struct float4
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Syntax
[Serializable]
public struct float4 : IEquatable<float4>, IFormattable
Constructors
float4(Boolean)
Constructs a float4 vector from a single bool value by converting it to float and assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
float4(Double)
Constructs a float4 vector from a single double value by converting it to float and assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.Double |
v |
|
float4(Int32)
Constructs a float4 vector from a single int value by converting it to float and assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
float4(Single)
Constructs a float4 vector from a single float value by assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.Single |
v |
|
float4(Single, Single, Single, Single)
Constructs a float4 vector from four float values.
Declaration
public float4(float x, float y, float z, float w)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
System.Single |
z |
|
System.Single |
w |
|
float4(Single, Single, float2)
Constructs a float4 vector from two float values and a float2 vector.
Declaration
public float4(float x, float y, float2 zw)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
float2 |
zw |
|
float4(Single, float2, Single)
Constructs a float4 vector from a float value, a float2 vector and a float value.
Declaration
public float4(float x, float2 yz, float w)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
float2 |
yz |
|
System.Single |
w |
|
float4(Single, float3)
Constructs a float4 vector from a float value and a float3 vector.
Declaration
public float4(float x, float3 yzw)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
float3 |
yzw |
|
float4(UInt32)
Constructs a float4 vector from a single uint value by converting it to float and assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
float4(bool4)
Constructs a float4 vector from a bool4 vector by componentwise conversion.
Declaration
Parameters
Type |
Name |
Description |
bool4 |
v |
|
float4(double4)
Constructs a float4 vector from a double4 vector by componentwise conversion.
Declaration
Parameters
float4(float2, Single, Single)
Constructs a float4 vector from a float2 vector and two float values.
Declaration
public float4(float2 xy, float z, float w)
Parameters
Type |
Name |
Description |
float2 |
xy |
|
System.Single |
z |
|
System.Single |
w |
|
float4(float2, float2)
Constructs a float4 vector from two float2 vectors.
Declaration
public float4(float2 xy, float2 zw)
Parameters
float4(float3, Single)
Constructs a float4 vector from a float3 vector and a float value.
Declaration
public float4(float3 xyz, float w)
Parameters
Type |
Name |
Description |
float3 |
xyz |
|
System.Single |
w |
|
float4(float4)
Constructs a float4 vector from a float4 vector.
Declaration
public float4(float4 xyzw)
Parameters
Type |
Name |
Description |
float4 |
xyzw |
|
float4(int4)
Constructs a float4 vector from a int4 vector by componentwise conversion.
Declaration
Parameters
Type |
Name |
Description |
int4 |
v |
|
float4(uint4)
Constructs a float4 vector from a uint4 vector by componentwise conversion.
Declaration
Parameters
Type |
Name |
Description |
uint4 |
v |
|
Fields
w
Declaration
Field Value
Type |
Description |
System.Single |
|
x
Declaration
Field Value
Type |
Description |
System.Single |
|
y
Declaration
Field Value
Type |
Description |
System.Single |
|
z
Declaration
Field Value
Type |
Description |
System.Single |
|
zero
Declaration
public static readonly float4 zero
Field Value
Properties
Item[Int32]
Returns the float element at a specified index.
Declaration
public float this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Type |
Description |
System.Single |
|
ww
Declaration
public float2 ww { get; }
Property Value
www
Declaration
public float3 www { get; }
Property Value
wwww
Declaration
public float4 wwww { get; }
Property Value
wwwx
Declaration
public float4 wwwx { get; }
Property Value
wwwy
Declaration
public float4 wwwy { get; }
Property Value
wwwz
Declaration
public float4 wwwz { get; }
Property Value
wwx
Declaration
public float3 wwx { get; }
Property Value
wwxw
Declaration
public float4 wwxw { get; }
Property Value
wwxx
Declaration
public float4 wwxx { get; }
Property Value
wwxy
Declaration
public float4 wwxy { get; }
Property Value
wwxz
Declaration
public float4 wwxz { get; }
Property Value
wwy
Declaration
public float3 wwy { get; }
Property Value
wwyw
Declaration
public float4 wwyw { get; }
Property Value
wwyx
Declaration
public float4 wwyx { get; }
Property Value
wwyy
Declaration
public float4 wwyy { get; }
Property Value
wwyz
Declaration
public float4 wwyz { get; }
Property Value
wwz
Declaration
public float3 wwz { get; }
Property Value
wwzw
Declaration
public float4 wwzw { get; }
Property Value
wwzx
Declaration
public float4 wwzx { get; }
Property Value
wwzy
Declaration
public float4 wwzy { get; }
Property Value
wwzz
Declaration
public float4 wwzz { get; }
Property Value
wx
Declaration
public float2 wx { get; set; }
Property Value
wxw
Declaration
public float3 wxw { get; }
Property Value
wxww
Declaration
public float4 wxww { get; }
Property Value
wxwx
Declaration
public float4 wxwx { get; }
Property Value
wxwy
Declaration
public float4 wxwy { get; }
Property Value
wxwz
Declaration
public float4 wxwz { get; }
Property Value
wxx
Declaration
public float3 wxx { get; }
Property Value
wxxw
Declaration
public float4 wxxw { get; }
Property Value
wxxx
Declaration
public float4 wxxx { get; }
Property Value
wxxy
Declaration
public float4 wxxy { get; }
Property Value
wxxz
Declaration
public float4 wxxz { get; }
Property Value
wxy
Declaration
public float3 wxy { get; set; }
Property Value
wxyw
Declaration
public float4 wxyw { get; }
Property Value
wxyx
Declaration
public float4 wxyx { get; }
Property Value
wxyy
Declaration
public float4 wxyy { get; }
Property Value
wxyz
Declaration
public float4 wxyz { get; set; }
Property Value
wxz
Declaration
public float3 wxz { get; set; }
Property Value
wxzw
Declaration
public float4 wxzw { get; }
Property Value
wxzx
Declaration
public float4 wxzx { get; }
Property Value
wxzy
Declaration
public float4 wxzy { get; set; }
Property Value
wxzz
Declaration
public float4 wxzz { get; }
Property Value
wy
Declaration
public float2 wy { get; set; }
Property Value
wyw
Declaration
public float3 wyw { get; }
Property Value
wyww
Declaration
public float4 wyww { get; }
Property Value
wywx
Declaration
public float4 wywx { get; }
Property Value
wywy
Declaration
public float4 wywy { get; }
Property Value
wywz
Declaration
public float4 wywz { get; }
Property Value
wyx
Declaration
public float3 wyx { get; set; }
Property Value
wyxw
Declaration
public float4 wyxw { get; }
Property Value
wyxx
Declaration
public float4 wyxx { get; }
Property Value
wyxy
Declaration
public float4 wyxy { get; }
Property Value
wyxz
Declaration
public float4 wyxz { get; set; }
Property Value
wyy
Declaration
public float3 wyy { get; }
Property Value
wyyw
Declaration
public float4 wyyw { get; }
Property Value
wyyx
Declaration
public float4 wyyx { get; }
Property Value
wyyy
Declaration
public float4 wyyy { get; }
Property Value
wyyz
Declaration
public float4 wyyz { get; }
Property Value
wyz
Declaration
public float3 wyz { get; set; }
Property Value
wyzw
Declaration
public float4 wyzw { get; }
Property Value
wyzx
Declaration
public float4 wyzx { get; set; }
Property Value
wyzy
Declaration
public float4 wyzy { get; }
Property Value
wyzz
Declaration
public float4 wyzz { get; }
Property Value
wz
Declaration
public float2 wz { get; set; }
Property Value
wzw
Declaration
public float3 wzw { get; }
Property Value
wzww
Declaration
public float4 wzww { get; }
Property Value
wzwx
Declaration
public float4 wzwx { get; }
Property Value
wzwy
Declaration
public float4 wzwy { get; }
Property Value
wzwz
Declaration
public float4 wzwz { get; }
Property Value
wzx
Declaration
public float3 wzx { get; set; }
Property Value
wzxw
Declaration
public float4 wzxw { get; }
Property Value
wzxx
Declaration
public float4 wzxx { get; }
Property Value
wzxy
Declaration
public float4 wzxy { get; set; }
Property Value
wzxz
Declaration
public float4 wzxz { get; }
Property Value
wzy
Declaration
public float3 wzy { get; set; }
Property Value
wzyw
Declaration
public float4 wzyw { get; }
Property Value
wzyx
Declaration
public float4 wzyx { get; set; }
Property Value
wzyy
Declaration
public float4 wzyy { get; }
Property Value
wzyz
Declaration
public float4 wzyz { get; }
Property Value
wzz
Declaration
public float3 wzz { get; }
Property Value
wzzw
Declaration
public float4 wzzw { get; }
Property Value
wzzx
Declaration
public float4 wzzx { get; }
Property Value
wzzy
Declaration
public float4 wzzy { get; }
Property Value
wzzz
Declaration
public float4 wzzz { get; }
Property Value
xw
Declaration
public float2 xw { get; set; }
Property Value
xww
Declaration
public float3 xww { get; }
Property Value
xwww
Declaration
public float4 xwww { get; }
Property Value
xwwx
Declaration
public float4 xwwx { get; }
Property Value
xwwy
Declaration
public float4 xwwy { get; }
Property Value
xwwz
Declaration
public float4 xwwz { get; }
Property Value
xwx
Declaration
public float3 xwx { get; }
Property Value
xwxw
Declaration
public float4 xwxw { get; }
Property Value
xwxx
Declaration
public float4 xwxx { get; }
Property Value
xwxy
Declaration
public float4 xwxy { get; }
Property Value
xwxz
Declaration
public float4 xwxz { get; }
Property Value
xwy
Declaration
public float3 xwy { get; set; }
Property Value
xwyw
Declaration
public float4 xwyw { get; }
Property Value
xwyx
Declaration
public float4 xwyx { get; }
Property Value
xwyy
Declaration
public float4 xwyy { get; }
Property Value
xwyz
Declaration
public float4 xwyz { get; set; }
Property Value
xwz
Declaration
public float3 xwz { get; set; }
Property Value
xwzw
Declaration
public float4 xwzw { get; }
Property Value
xwzx
Declaration
public float4 xwzx { get; }
Property Value
xwzy
Declaration
public float4 xwzy { get; set; }
Property Value
xwzz
Declaration
public float4 xwzz { get; }
Property Value
xx
Declaration
public float2 xx { get; }
Property Value
xxw
Declaration
public float3 xxw { get; }
Property Value
xxww
Declaration
public float4 xxww { get; }
Property Value
xxwx
Declaration
public float4 xxwx { get; }
Property Value
xxwy
Declaration
public float4 xxwy { get; }
Property Value
xxwz
Declaration
public float4 xxwz { get; }
Property Value
xxx
Declaration
public float3 xxx { get; }
Property Value
xxxw
Declaration
public float4 xxxw { get; }
Property Value
xxxx
Declaration
public float4 xxxx { get; }
Property Value
xxxy
Declaration
public float4 xxxy { get; }
Property Value
xxxz
Declaration
public float4 xxxz { get; }
Property Value
xxy
Declaration
public float3 xxy { get; }
Property Value
xxyw
Declaration
public float4 xxyw { get; }
Property Value
xxyx
Declaration
public float4 xxyx { get; }
Property Value
xxyy
Declaration
public float4 xxyy { get; }
Property Value
xxyz
Declaration
public float4 xxyz { get; }
Property Value
xxz
Declaration
public float3 xxz { get; }
Property Value
xxzw
Declaration
public float4 xxzw { get; }
Property Value
xxzx
Declaration
public float4 xxzx { get; }
Property Value
xxzy
Declaration
public float4 xxzy { get; }
Property Value
xxzz
Declaration
public float4 xxzz { get; }
Property Value
xy
Declaration
public float2 xy { get; set; }
Property Value
xyw
Declaration
public float3 xyw { get; set; }
Property Value
xyww
Declaration
public float4 xyww { get; }
Property Value
xywx
Declaration
public float4 xywx { get; }
Property Value
xywy
Declaration
public float4 xywy { get; }
Property Value
xywz
Declaration
public float4 xywz { get; set; }
Property Value
xyx
Declaration
public float3 xyx { get; }
Property Value
xyxw
Declaration
public float4 xyxw { get; }
Property Value
xyxx
Declaration
public float4 xyxx { get; }
Property Value
xyxy
Declaration
public float4 xyxy { get; }
Property Value
xyxz
Declaration
public float4 xyxz { get; }
Property Value
xyy
Declaration
public float3 xyy { get; }
Property Value
xyyw
Declaration
public float4 xyyw { get; }
Property Value
xyyx
Declaration
public float4 xyyx { get; }
Property Value
xyyy
Declaration
public float4 xyyy { get; }
Property Value
xyyz
Declaration
public float4 xyyz { get; }
Property Value
xyz
Declaration
public float3 xyz { get; set; }
Property Value
xyzw
Declaration
public float4 xyzw { get; set; }
Property Value
xyzx
Declaration
public float4 xyzx { get; }
Property Value
xyzy
Declaration
public float4 xyzy { get; }
Property Value
xyzz
Declaration
public float4 xyzz { get; }
Property Value
xz
Declaration
public float2 xz { get; set; }
Property Value
xzw
Declaration
public float3 xzw { get; set; }
Property Value
xzww
Declaration
public float4 xzww { get; }
Property Value
xzwx
Declaration
public float4 xzwx { get; }
Property Value
xzwy
Declaration
public float4 xzwy { get; set; }
Property Value
xzwz
Declaration
public float4 xzwz { get; }
Property Value
xzx
Declaration
public float3 xzx { get; }
Property Value
xzxw
Declaration
public float4 xzxw { get; }
Property Value
xzxx
Declaration
public float4 xzxx { get; }
Property Value
xzxy
Declaration
public float4 xzxy { get; }
Property Value
xzxz
Declaration
public float4 xzxz { get; }
Property Value
xzy
Declaration
public float3 xzy { get; set; }
Property Value
xzyw
Declaration
public float4 xzyw { get; set; }
Property Value
xzyx
Declaration
public float4 xzyx { get; }
Property Value
xzyy
Declaration
public float4 xzyy { get; }
Property Value
xzyz
Declaration
public float4 xzyz { get; }
Property Value
xzz
Declaration
public float3 xzz { get; }
Property Value
xzzw
Declaration
public float4 xzzw { get; }
Property Value
xzzx
Declaration
public float4 xzzx { get; }
Property Value
xzzy
Declaration
public float4 xzzy { get; }
Property Value
xzzz
Declaration
public float4 xzzz { get; }
Property Value
yw
Declaration
public float2 yw { get; set; }
Property Value
yww
Declaration
public float3 yww { get; }
Property Value
ywww
Declaration
public float4 ywww { get; }
Property Value
ywwx
Declaration
public float4 ywwx { get; }
Property Value
ywwy
Declaration
public float4 ywwy { get; }
Property Value
ywwz
Declaration
public float4 ywwz { get; }
Property Value
ywx
Declaration
public float3 ywx { get; set; }
Property Value
ywxw
Declaration
public float4 ywxw { get; }
Property Value
ywxx
Declaration
public float4 ywxx { get; }
Property Value
ywxy
Declaration
public float4 ywxy { get; }
Property Value
ywxz
Declaration
public float4 ywxz { get; set; }
Property Value
ywy
Declaration
public float3 ywy { get; }
Property Value
ywyw
Declaration
public float4 ywyw { get; }
Property Value
ywyx
Declaration
public float4 ywyx { get; }
Property Value
ywyy
Declaration
public float4 ywyy { get; }
Property Value
ywyz
Declaration
public float4 ywyz { get; }
Property Value
ywz
Declaration
public float3 ywz { get; set; }
Property Value
ywzw
Declaration
public float4 ywzw { get; }
Property Value
ywzx
Declaration
public float4 ywzx { get; set; }
Property Value
ywzy
Declaration
public float4 ywzy { get; }
Property Value
ywzz
Declaration
public float4 ywzz { get; }
Property Value
yx
Declaration
public float2 yx { get; set; }
Property Value
yxw
Declaration
public float3 yxw { get; set; }
Property Value
yxww
Declaration
public float4 yxww { get; }
Property Value
yxwx
Declaration
public float4 yxwx { get; }
Property Value
yxwy
Declaration
public float4 yxwy { get; }
Property Value
yxwz
Declaration
public float4 yxwz { get; set; }
Property Value
yxx
Declaration
public float3 yxx { get; }
Property Value
yxxw
Declaration
public float4 yxxw { get; }
Property Value
yxxx
Declaration
public float4 yxxx { get; }
Property Value
yxxy
Declaration
public float4 yxxy { get; }
Property Value
yxxz
Declaration
public float4 yxxz { get; }
Property Value
yxy
Declaration
public float3 yxy { get; }
Property Value
yxyw
Declaration
public float4 yxyw { get; }
Property Value
yxyx
Declaration
public float4 yxyx { get; }
Property Value
yxyy
Declaration
public float4 yxyy { get; }
Property Value
yxyz
Declaration
public float4 yxyz { get; }
Property Value
yxz
Declaration
public float3 yxz { get; set; }
Property Value
yxzw
Declaration
public float4 yxzw { get; set; }
Property Value
yxzx
Declaration
public float4 yxzx { get; }
Property Value
yxzy
Declaration
public float4 yxzy { get; }
Property Value
yxzz
Declaration
public float4 yxzz { get; }
Property Value
yy
Declaration
public float2 yy { get; }
Property Value
yyw
Declaration
public float3 yyw { get; }
Property Value
yyww
Declaration
public float4 yyww { get; }
Property Value
yywx
Declaration
public float4 yywx { get; }
Property Value
yywy
Declaration
public float4 yywy { get; }
Property Value
yywz
Declaration
public float4 yywz { get; }
Property Value
yyx
Declaration
public float3 yyx { get; }
Property Value
yyxw
Declaration
public float4 yyxw { get; }
Property Value
yyxx
Declaration
public float4 yyxx { get; }
Property Value
yyxy
Declaration
public float4 yyxy { get; }
Property Value
yyxz
Declaration
public float4 yyxz { get; }
Property Value
yyy
Declaration
public float3 yyy { get; }
Property Value
yyyw
Declaration
public float4 yyyw { get; }
Property Value
yyyx
Declaration
public float4 yyyx { get; }
Property Value
yyyy
Declaration
public float4 yyyy { get; }
Property Value
yyyz
Declaration
public float4 yyyz { get; }
Property Value
yyz
Declaration
public float3 yyz { get; }
Property Value
yyzw
Declaration
public float4 yyzw { get; }
Property Value
yyzx
Declaration
public float4 yyzx { get; }
Property Value
yyzy
Declaration
public float4 yyzy { get; }
Property Value
yyzz
Declaration
public float4 yyzz { get; }
Property Value
yz
Declaration
public float2 yz { get; set; }
Property Value
yzw
Declaration
public float3 yzw { get; set; }
Property Value
yzww
Declaration
public float4 yzww { get; }
Property Value
yzwx
Declaration
public float4 yzwx { get; set; }
Property Value
yzwy
Declaration
public float4 yzwy { get; }
Property Value
yzwz
Declaration
public float4 yzwz { get; }
Property Value
yzx
Declaration
public float3 yzx { get; set; }
Property Value
yzxw
Declaration
public float4 yzxw { get; set; }
Property Value
yzxx
Declaration
public float4 yzxx { get; }
Property Value
yzxy
Declaration
public float4 yzxy { get; }
Property Value
yzxz
Declaration
public float4 yzxz { get; }
Property Value
yzy
Declaration
public float3 yzy { get; }
Property Value
yzyw
Declaration
public float4 yzyw { get; }
Property Value
yzyx
Declaration
public float4 yzyx { get; }
Property Value
yzyy
Declaration
public float4 yzyy { get; }
Property Value
yzyz
Declaration
public float4 yzyz { get; }
Property Value
yzz
Declaration
public float3 yzz { get; }
Property Value
yzzw
Declaration
public float4 yzzw { get; }
Property Value
yzzx
Declaration
public float4 yzzx { get; }
Property Value
yzzy
Declaration
public float4 yzzy { get; }
Property Value
yzzz
Declaration
public float4 yzzz { get; }
Property Value
zw
Declaration
public float2 zw { get; set; }
Property Value
zww
Declaration
public float3 zww { get; }
Property Value
zwww
Declaration
public float4 zwww { get; }
Property Value
zwwx
Declaration
public float4 zwwx { get; }
Property Value
zwwy
Declaration
public float4 zwwy { get; }
Property Value
zwwz
Declaration
public float4 zwwz { get; }
Property Value
zwx
Declaration
public float3 zwx { get; set; }
Property Value
zwxw
Declaration
public float4 zwxw { get; }
Property Value
zwxx
Declaration
public float4 zwxx { get; }
Property Value
zwxy
Declaration
public float4 zwxy { get; set; }
Property Value
zwxz
Declaration
public float4 zwxz { get; }
Property Value
zwy
Declaration
public float3 zwy { get; set; }
Property Value
zwyw
Declaration
public float4 zwyw { get; }
Property Value
zwyx
Declaration
public float4 zwyx { get; set; }
Property Value
zwyy
Declaration
public float4 zwyy { get; }
Property Value
zwyz
Declaration
public float4 zwyz { get; }
Property Value
zwz
Declaration
public float3 zwz { get; }
Property Value
zwzw
Declaration
public float4 zwzw { get; }
Property Value
zwzx
Declaration
public float4 zwzx { get; }
Property Value
zwzy
Declaration
public float4 zwzy { get; }
Property Value
zwzz
Declaration
public float4 zwzz { get; }
Property Value
zx
Declaration
public float2 zx { get; set; }
Property Value
zxw
Declaration
public float3 zxw { get; set; }
Property Value
zxww
Declaration
public float4 zxww { get; }
Property Value
zxwx
Declaration
public float4 zxwx { get; }
Property Value
zxwy
Declaration
public float4 zxwy { get; set; }
Property Value
zxwz
Declaration
public float4 zxwz { get; }
Property Value
zxx
Declaration
public float3 zxx { get; }
Property Value
zxxw
Declaration
public float4 zxxw { get; }
Property Value
zxxx
Declaration
public float4 zxxx { get; }
Property Value
zxxy
Declaration
public float4 zxxy { get; }
Property Value
zxxz
Declaration
public float4 zxxz { get; }
Property Value
zxy
Declaration
public float3 zxy { get; set; }
Property Value
zxyw
Declaration
public float4 zxyw { get; set; }
Property Value
zxyx
Declaration
public float4 zxyx { get; }
Property Value
zxyy
Declaration
public float4 zxyy { get; }
Property Value
zxyz
Declaration
public float4 zxyz { get; }
Property Value
zxz
Declaration
public float3 zxz { get; }
Property Value
zxzw
Declaration
public float4 zxzw { get; }
Property Value
zxzx
Declaration
public float4 zxzx { get; }
Property Value
zxzy
Declaration
public float4 zxzy { get; }
Property Value
zxzz
Declaration
public float4 zxzz { get; }
Property Value
zy
Declaration
public float2 zy { get; set; }
Property Value
zyw
Declaration
public float3 zyw { get; set; }
Property Value
zyww
Declaration
public float4 zyww { get; }
Property Value
zywx
Declaration
public float4 zywx { get; set; }
Property Value
zywy
Declaration
public float4 zywy { get; }
Property Value
zywz
Declaration
public float4 zywz { get; }
Property Value
zyx
Declaration
public float3 zyx { get; set; }
Property Value
zyxw
Declaration
public float4 zyxw { get; set; }
Property Value
zyxx
Declaration
public float4 zyxx { get; }
Property Value
zyxy
Declaration
public float4 zyxy { get; }
Property Value
zyxz
Declaration
public float4 zyxz { get; }
Property Value
zyy
Declaration
public float3 zyy { get; }
Property Value
zyyw
Declaration
public float4 zyyw { get; }
Property Value
zyyx
Declaration
public float4 zyyx { get; }
Property Value
zyyy
Declaration
public float4 zyyy { get; }
Property Value
zyyz
Declaration
public float4 zyyz { get; }
Property Value
zyz
Declaration
public float3 zyz { get; }
Property Value
zyzw
Declaration
public float4 zyzw { get; }
Property Value
zyzx
Declaration
public float4 zyzx { get; }
Property Value
zyzy
Declaration
public float4 zyzy { get; }
Property Value
zyzz
Declaration
public float4 zyzz { get; }
Property Value
zz
Declaration
public float2 zz { get; }
Property Value
zzw
Declaration
public float3 zzw { get; }
Property Value
zzww
Declaration
public float4 zzww { get; }
Property Value
zzwx
Declaration
public float4 zzwx { get; }
Property Value
zzwy
Declaration
public float4 zzwy { get; }
Property Value
zzwz
Declaration
public float4 zzwz { get; }
Property Value
zzx
Declaration
public float3 zzx { get; }
Property Value
zzxw
Declaration
public float4 zzxw { get; }
Property Value
zzxx
Declaration
public float4 zzxx { get; }
Property Value
zzxy
Declaration
public float4 zzxy { get; }
Property Value
zzxz
Declaration
public float4 zzxz { get; }
Property Value
zzy
Declaration
public float3 zzy { get; }
Property Value
zzyw
Declaration
public float4 zzyw { get; }
Property Value
zzyx
Declaration
public float4 zzyx { get; }
Property Value
zzyy
Declaration
public float4 zzyy { get; }
Property Value
zzyz
Declaration
public float4 zzyz { get; }
Property Value
zzz
Declaration
public float3 zzz { get; }
Property Value
zzzw
Declaration
public float4 zzzw { get; }
Property Value
zzzx
Declaration
public float4 zzzx { get; }
Property Value
zzzy
Declaration
public float4 zzzy { get; }
Property Value
zzzz
Declaration
public float4 zzzz { get; }
Property Value
Methods
Equals(Object)
Returns true if the float4 is equal to a given float4, 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(float4)
Returns true if the float4 is equal to a given float4, false otherwise.
Declaration
public bool Equals(float4 rhs)
Parameters
Type |
Name |
Description |
float4 |
rhs |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
GetHashCode()
Returns a hash code for the float4.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
ToString()
Returns a string representation of the float4.
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Returns a string representation of the float4 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 |
|
Implements
System.IFormattable.ToString(System.String, System.IFormatProvider)
Operators
Addition(Single, float4)
Returns the result of a componentwise addition operation on a float value and a float4 vector.
Declaration
public static float4 operator +(float lhs, float4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4 |
rhs |
|
Returns
Addition(float4, Single)
Returns the result of a componentwise addition operation on a float4 vector and a float value.
Declaration
public static float4 operator +(float4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4 |
lhs |
|
System.Single |
rhs |
|
Returns
Addition(float4, float4)
Returns the result of a componentwise addition operation on two float4 vectors.
Declaration
public static float4 operator +(float4 lhs, float4 rhs)
Parameters
Returns
Decrement(float4)
Returns the result of a componentwise decrement operation on a float4 vector.
Declaration
public static float4 operator --(float4 val)
Parameters
Type |
Name |
Description |
float4 |
val |
|
Returns
Division(Single, float4)
Returns the result of a componentwise division operation on a float value and a float4 vector.
Declaration
public static float4 operator /(float lhs, float4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4 |
rhs |
|
Returns
Division(float4, Single)
Returns the result of a componentwise division operation on a float4 vector and a float value.
Declaration
public static float4 operator /(float4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4 |
lhs |
|
System.Single |
rhs |
|
Returns
Division(float4, float4)
Returns the result of a componentwise division operation on two float4 vectors.
Declaration
public static float4 operator /(float4 lhs, float4 rhs)
Parameters
Returns
Equality(Single, float4)
Returns the result of a componentwise equality operation on a float value and a float4 vector.
Declaration
public static bool4 operator ==(float lhs, float4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4 |
rhs |
|
Returns
Equality(float4, Single)
Returns the result of a componentwise equality operation on a float4 vector and a float value.
Declaration
public static bool4 operator ==(float4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4 |
lhs |
|
System.Single |
rhs |
|
Returns
Equality(float4, float4)
Returns the result of a componentwise equality operation on two float4 vectors.
Declaration
public static bool4 operator ==(float4 lhs, float4 rhs)
Parameters
Returns
Explicit(Boolean to float4)
Explicitly converts a single bool value to a float4 vector by converting it to float and assigning it to every component.
Declaration
public static explicit operator float4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
Explicit(Double to float4)
Explicitly converts a single double value to a float4 vector by converting it to float and assigning it to every component.
Declaration
public static explicit operator float4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
Explicit(bool4 to float4)
Explicitly converts a bool4 vector to a float4 vector by componentwise conversion.
Declaration
public static explicit operator float4(bool4 v)
Parameters
Type |
Name |
Description |
bool4 |
v |
|
Returns
Explicit(double4 to float4)
Explicitly converts a double4 vector to a float4 vector by componentwise conversion.
Declaration
public static explicit operator float4(double4 v)
Parameters
Returns
GreaterThan(Single, float4)
Returns the result of a componentwise greater than operation on a float value and a float4 vector.
Declaration
public static bool4 operator>(float lhs, float4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4 |
rhs |
|
Returns
GreaterThan(float4, Single)
Returns the result of a componentwise greater than operation on a float4 vector and a float value.
Declaration
public static bool4 operator>(float4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4 |
lhs |
|
System.Single |
rhs |
|
Returns
GreaterThan(float4, float4)
Returns the result of a componentwise greater than operation on two float4 vectors.
Declaration
public static bool4 operator>(float4 lhs, float4 rhs)
Parameters
Returns
GreaterThanOrEqual(Single, float4)
Returns the result of a componentwise greater or equal operation on a float value and a float4 vector.
Declaration
public static bool4 operator >=(float lhs, float4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4 |
rhs |
|
Returns
GreaterThanOrEqual(float4, Single)
Returns the result of a componentwise greater or equal operation on a float4 vector and a float value.
Declaration
public static bool4 operator >=(float4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4 |
lhs |
|
System.Single |
rhs |
|
Returns
GreaterThanOrEqual(float4, float4)
Returns the result of a componentwise greater or equal operation on two float4 vectors.
Declaration
public static bool4 operator >=(float4 lhs, float4 rhs)
Parameters
Returns
Implicit(Int32 to float4)
Implicitly converts a single int value to a float4 vector by converting it to float and assigning it to every component.
Declaration
public static implicit operator float4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
Implicit(Single to float4)
Implicitly converts a single float value to a float4 vector by assigning it to every component.
Declaration
public static implicit operator float4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
Implicit(UInt32 to float4)
Implicitly converts a single uint value to a float4 vector by converting it to float and assigning it to every component.
Declaration
public static implicit operator float4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
Implicit(float4 to Vector4)
Declaration
public static implicit operator Vector4(float4 v)
Parameters
Type |
Name |
Description |
float4 |
v |
|
Returns
Implicit(int4 to float4)
Implicitly converts a int4 vector to a float4 vector by componentwise conversion.
Declaration
public static implicit operator float4(int4 v)
Parameters
Type |
Name |
Description |
int4 |
v |
|
Returns
Implicit(uint4 to float4)
Implicitly converts a uint4 vector to a float4 vector by componentwise conversion.
Declaration
public static implicit operator float4(uint4 v)
Parameters
Type |
Name |
Description |
uint4 |
v |
|
Returns
Implicit(Vector4 to float4)
Declaration
public static implicit operator float4(Vector4 v)
Parameters
Type |
Name |
Description |
Vector4 |
v |
|
Returns
Increment(float4)
Returns the result of a componentwise increment operation on a float4 vector.
Declaration
public static float4 operator ++(float4 val)
Parameters
Type |
Name |
Description |
float4 |
val |
|
Returns
Inequality(Single, float4)
Returns the result of a componentwise not equal operation on a float value and a float4 vector.
Declaration
public static bool4 operator !=(float lhs, float4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4 |
rhs |
|
Returns
Inequality(float4, Single)
Returns the result of a componentwise not equal operation on a float4 vector and a float value.
Declaration
public static bool4 operator !=(float4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4 |
lhs |
|
System.Single |
rhs |
|
Returns
Inequality(float4, float4)
Returns the result of a componentwise not equal operation on two float4 vectors.
Declaration
public static bool4 operator !=(float4 lhs, float4 rhs)
Parameters
Returns
LessThan(Single, float4)
Returns the result of a componentwise less than operation on a float value and a float4 vector.
Declaration
public static bool4 operator <(float lhs, float4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4 |
rhs |
|
Returns
LessThan(float4, Single)
Returns the result of a componentwise less than operation on a float4 vector and a float value.
Declaration
public static bool4 operator <(float4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4 |
lhs |
|
System.Single |
rhs |
|
Returns
LessThan(float4, float4)
Returns the result of a componentwise less than operation on two float4 vectors.
Declaration
public static bool4 operator <(float4 lhs, float4 rhs)
Parameters
Returns
LessThanOrEqual(Single, float4)
Returns the result of a componentwise less or equal operation on a float value and a float4 vector.
Declaration
public static bool4 operator <=(float lhs, float4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4 |
rhs |
|
Returns
LessThanOrEqual(float4, Single)
Returns the result of a componentwise less or equal operation on a float4 vector and a float value.
Declaration
public static bool4 operator <=(float4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4 |
lhs |
|
System.Single |
rhs |
|
Returns
LessThanOrEqual(float4, float4)
Returns the result of a componentwise less or equal operation on two float4 vectors.
Declaration
public static bool4 operator <=(float4 lhs, float4 rhs)
Parameters
Returns
Modulus(Single, float4)
Returns the result of a componentwise modulus operation on a float value and a float4 vector.
Declaration
public static float4 operator %(float lhs, float4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4 |
rhs |
|
Returns
Modulus(float4, Single)
Returns the result of a componentwise modulus operation on a float4 vector and a float value.
Declaration
public static float4 operator %(float4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4 |
lhs |
|
System.Single |
rhs |
|
Returns
Modulus(float4, float4)
Returns the result of a componentwise modulus operation on two float4 vectors.
Declaration
public static float4 operator %(float4 lhs, float4 rhs)
Parameters
Returns
Multiply(Single, float4)
Returns the result of a componentwise multiplication operation on a float value and a float4 vector.
Declaration
public static float4 operator *(float lhs, float4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4 |
rhs |
|
Returns
Multiply(float4, Single)
Returns the result of a componentwise multiplication operation on a float4 vector and a float value.
Declaration
public static float4 operator *(float4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4 |
lhs |
|
System.Single |
rhs |
|
Returns
Multiply(float4, float4)
Returns the result of a componentwise multiplication operation on two float4 vectors.
Declaration
public static float4 operator *(float4 lhs, float4 rhs)
Parameters
Returns
Subtraction(Single, float4)
Returns the result of a componentwise subtraction operation on a float value and a float4 vector.
Declaration
public static float4 operator -(float lhs, float4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4 |
rhs |
|
Returns
Subtraction(float4, Single)
Returns the result of a componentwise subtraction operation on a float4 vector and a float value.
Declaration
public static float4 operator -(float4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4 |
lhs |
|
System.Single |
rhs |
|
Returns
Subtraction(float4, float4)
Returns the result of a componentwise subtraction operation on two float4 vectors.
Declaration
public static float4 operator -(float4 lhs, float4 rhs)
Parameters
Returns
UnaryNegation(float4)
Returns the result of a componentwise unary minus operation on a float4 vector.
Declaration
public static float4 operator -(float4 val)
Parameters
Type |
Name |
Description |
float4 |
val |
|
Returns
UnaryPlus(float4)
Returns the result of a componentwise unary plus operation on a float4 vector.
Declaration
public static float4 operator +(float4 val)
Parameters
Type |
Name |
Description |
float4 |
val |
|
Returns