Struct float3
- Namespace
- Misaki.HighPerformance.Mathematics
- Assembly
- Misaki.HighPerformance.Mathematics.dll
[NumericType(typeof(float), 4, 3, 1, "global::Misaki.HighPerformance.Mathematics.float", true, true, null, null)]
[NumericConvertable("(float){v}.{c}", new Type[] { typeof(int3), typeof(uint3), typeof(double3), typeof(bool3) })]
[NumericConvertable("(float){v}", new Type[] { typeof(int), typeof(uint), typeof(double) })]
public struct float3 : IEquatable<float3>
- Implements
- Inherited Members
- Extension Methods
Constructors
float3(bool3)
public float3(bool3 v)
Parameters
vbool3
float3(double3)
public float3(double3 v)
Parameters
vdouble3
float3(float2, float)
public float3(float2 xy, float z)
Parameters
float3(float3)
public float3(float3 xyz)
Parameters
xyzfloat3
float3(int3)
public float3(int3 v)
Parameters
vint3
float3(uint3)
public float3(uint3 v)
Parameters
vuint3
float3(double)
public float3(double v)
Parameters
vdouble
float3(int)
public float3(int v)
Parameters
vint
float3(ReadOnlySpan<float>)
public float3(ReadOnlySpan<float> values)
Parameters
valuesReadOnlySpan<float>
float3(float)
public float3(float value)
Parameters
valuefloat
float3(float, float2)
public float3(float x, float2 yz)
Parameters
float3(float, float, float)
public float3(float x, float y, float z)
Parameters
float3(uint)
public float3(uint v)
Parameters
vuint
Fields
x
public float x
Field Value
y
public float y
Field Value
z
public float z
Field Value
Properties
this[int]
public ref float this[int index] { get; }
Parameters
indexint
Property Value
one
public static float3 one { get; }
Property Value
unitX
public static float3 unitX { get; }
Property Value
unitY
public static float3 unitY { get; }
Property Value
unitZ
public static float3 unitZ { get; }
Property Value
xx
[JsonIgnore]
public readonly float2 xx { get; }
Property Value
xxx
[JsonIgnore]
public readonly float3 xxx { get; }
Property Value
xxxx
[JsonIgnore]
public readonly float4 xxxx { get; }
Property Value
xxxy
[JsonIgnore]
public readonly float4 xxxy { get; }
Property Value
xxxz
[JsonIgnore]
public readonly float4 xxxz { get; }
Property Value
xxy
[JsonIgnore]
public readonly float3 xxy { get; }
Property Value
xxyx
[JsonIgnore]
public readonly float4 xxyx { get; }
Property Value
xxyy
[JsonIgnore]
public readonly float4 xxyy { get; }
Property Value
xxyz
[JsonIgnore]
public readonly float4 xxyz { get; }
Property Value
xxz
[JsonIgnore]
public readonly float3 xxz { get; }
Property Value
xxzx
[JsonIgnore]
public readonly float4 xxzx { get; }
Property Value
xxzy
[JsonIgnore]
public readonly float4 xxzy { get; }
Property Value
xxzz
[JsonIgnore]
public readonly float4 xxzz { get; }
Property Value
xy
[JsonIgnore]
public float2 xy { get; set; }
Property Value
xyx
[JsonIgnore]
public readonly float3 xyx { get; }
Property Value
xyxx
[JsonIgnore]
public readonly float4 xyxx { get; }
Property Value
xyxy
[JsonIgnore]
public readonly float4 xyxy { get; }
Property Value
xyxz
[JsonIgnore]
public readonly float4 xyxz { get; }
Property Value
xyy
[JsonIgnore]
public readonly float3 xyy { get; }
Property Value
xyyx
[JsonIgnore]
public readonly float4 xyyx { get; }
Property Value
xyyy
[JsonIgnore]
public readonly float4 xyyy { get; }
Property Value
xyyz
[JsonIgnore]
public readonly float4 xyyz { get; }
Property Value
xyz
[JsonIgnore]
public float3 xyz { get; set; }
Property Value
xyzx
[JsonIgnore]
public readonly float4 xyzx { get; }
Property Value
xyzy
[JsonIgnore]
public readonly float4 xyzy { get; }
Property Value
xyzz
[JsonIgnore]
public readonly float4 xyzz { get; }
Property Value
xz
[JsonIgnore]
public float2 xz { get; set; }
Property Value
xzx
[JsonIgnore]
public readonly float3 xzx { get; }
Property Value
xzxx
[JsonIgnore]
public readonly float4 xzxx { get; }
Property Value
xzxy
[JsonIgnore]
public readonly float4 xzxy { get; }
Property Value
xzxz
[JsonIgnore]
public readonly float4 xzxz { get; }
Property Value
xzy
[JsonIgnore]
public float3 xzy { get; set; }
Property Value
xzyx
[JsonIgnore]
public readonly float4 xzyx { get; }
Property Value
xzyy
[JsonIgnore]
public readonly float4 xzyy { get; }
Property Value
xzyz
[JsonIgnore]
public readonly float4 xzyz { get; }
Property Value
xzz
[JsonIgnore]
public readonly float3 xzz { get; }
Property Value
xzzx
[JsonIgnore]
public readonly float4 xzzx { get; }
Property Value
xzzy
[JsonIgnore]
public readonly float4 xzzy { get; }
Property Value
xzzz
[JsonIgnore]
public readonly float4 xzzz { get; }
Property Value
yx
[JsonIgnore]
public float2 yx { get; set; }
Property Value
yxx
[JsonIgnore]
public readonly float3 yxx { get; }
Property Value
yxxx
[JsonIgnore]
public readonly float4 yxxx { get; }
Property Value
yxxy
[JsonIgnore]
public readonly float4 yxxy { get; }
Property Value
yxxz
[JsonIgnore]
public readonly float4 yxxz { get; }
Property Value
yxy
[JsonIgnore]
public readonly float3 yxy { get; }
Property Value
yxyx
[JsonIgnore]
public readonly float4 yxyx { get; }
Property Value
yxyy
[JsonIgnore]
public readonly float4 yxyy { get; }
Property Value
yxyz
[JsonIgnore]
public readonly float4 yxyz { get; }
Property Value
yxz
[JsonIgnore]
public float3 yxz { get; set; }
Property Value
yxzx
[JsonIgnore]
public readonly float4 yxzx { get; }
Property Value
yxzy
[JsonIgnore]
public readonly float4 yxzy { get; }
Property Value
yxzz
[JsonIgnore]
public readonly float4 yxzz { get; }
Property Value
yy
[JsonIgnore]
public readonly float2 yy { get; }
Property Value
yyx
[JsonIgnore]
public readonly float3 yyx { get; }
Property Value
yyxx
[JsonIgnore]
public readonly float4 yyxx { get; }
Property Value
yyxy
[JsonIgnore]
public readonly float4 yyxy { get; }
Property Value
yyxz
[JsonIgnore]
public readonly float4 yyxz { get; }
Property Value
yyy
[JsonIgnore]
public readonly float3 yyy { get; }
Property Value
yyyx
[JsonIgnore]
public readonly float4 yyyx { get; }
Property Value
yyyy
[JsonIgnore]
public readonly float4 yyyy { get; }
Property Value
yyyz
[JsonIgnore]
public readonly float4 yyyz { get; }
Property Value
yyz
[JsonIgnore]
public readonly float3 yyz { get; }
Property Value
yyzx
[JsonIgnore]
public readonly float4 yyzx { get; }
Property Value
yyzy
[JsonIgnore]
public readonly float4 yyzy { get; }
Property Value
yyzz
[JsonIgnore]
public readonly float4 yyzz { get; }
Property Value
yz
[JsonIgnore]
public float2 yz { get; set; }
Property Value
yzx
[JsonIgnore]
public float3 yzx { get; set; }
Property Value
yzxx
[JsonIgnore]
public readonly float4 yzxx { get; }
Property Value
yzxy
[JsonIgnore]
public readonly float4 yzxy { get; }
Property Value
yzxz
[JsonIgnore]
public readonly float4 yzxz { get; }
Property Value
yzy
[JsonIgnore]
public readonly float3 yzy { get; }
Property Value
yzyx
[JsonIgnore]
public readonly float4 yzyx { get; }
Property Value
yzyy
[JsonIgnore]
public readonly float4 yzyy { get; }
Property Value
yzyz
[JsonIgnore]
public readonly float4 yzyz { get; }
Property Value
yzz
[JsonIgnore]
public readonly float3 yzz { get; }
Property Value
yzzx
[JsonIgnore]
public readonly float4 yzzx { get; }
Property Value
yzzy
[JsonIgnore]
public readonly float4 yzzy { get; }
Property Value
yzzz
[JsonIgnore]
public readonly float4 yzzz { get; }
Property Value
zero
public static float3 zero { get; }
Property Value
zx
[JsonIgnore]
public float2 zx { get; set; }
Property Value
zxx
[JsonIgnore]
public readonly float3 zxx { get; }
Property Value
zxxx
[JsonIgnore]
public readonly float4 zxxx { get; }
Property Value
zxxy
[JsonIgnore]
public readonly float4 zxxy { get; }
Property Value
zxxz
[JsonIgnore]
public readonly float4 zxxz { get; }
Property Value
zxy
[JsonIgnore]
public float3 zxy { get; set; }
Property Value
zxyx
[JsonIgnore]
public readonly float4 zxyx { get; }
Property Value
zxyy
[JsonIgnore]
public readonly float4 zxyy { get; }
Property Value
zxyz
[JsonIgnore]
public readonly float4 zxyz { get; }
Property Value
zxz
[JsonIgnore]
public readonly float3 zxz { get; }
Property Value
zxzx
[JsonIgnore]
public readonly float4 zxzx { get; }
Property Value
zxzy
[JsonIgnore]
public readonly float4 zxzy { get; }
Property Value
zxzz
[JsonIgnore]
public readonly float4 zxzz { get; }
Property Value
zy
[JsonIgnore]
public float2 zy { get; set; }
Property Value
zyx
[JsonIgnore]
public float3 zyx { get; set; }
Property Value
zyxx
[JsonIgnore]
public readonly float4 zyxx { get; }
Property Value
zyxy
[JsonIgnore]
public readonly float4 zyxy { get; }
Property Value
zyxz
[JsonIgnore]
public readonly float4 zyxz { get; }
Property Value
zyy
[JsonIgnore]
public readonly float3 zyy { get; }
Property Value
zyyx
[JsonIgnore]
public readonly float4 zyyx { get; }
Property Value
zyyy
[JsonIgnore]
public readonly float4 zyyy { get; }
Property Value
zyyz
[JsonIgnore]
public readonly float4 zyyz { get; }
Property Value
zyz
[JsonIgnore]
public readonly float3 zyz { get; }
Property Value
zyzx
[JsonIgnore]
public readonly float4 zyzx { get; }
Property Value
zyzy
[JsonIgnore]
public readonly float4 zyzy { get; }
Property Value
zyzz
[JsonIgnore]
public readonly float4 zyzz { get; }
Property Value
zz
[JsonIgnore]
public readonly float2 zz { get; }
Property Value
zzx
[JsonIgnore]
public readonly float3 zzx { get; }
Property Value
zzxx
[JsonIgnore]
public readonly float4 zzxx { get; }
Property Value
zzxy
[JsonIgnore]
public readonly float4 zzxy { get; }
Property Value
zzxz
[JsonIgnore]
public readonly float4 zzxz { get; }
Property Value
zzy
[JsonIgnore]
public readonly float3 zzy { get; }
Property Value
zzyx
[JsonIgnore]
public readonly float4 zzyx { get; }
Property Value
zzyy
[JsonIgnore]
public readonly float4 zzyy { get; }
Property Value
zzyz
[JsonIgnore]
public readonly float4 zzyz { get; }
Property Value
zzz
[JsonIgnore]
public readonly float3 zzz { get; }
Property Value
zzzx
[JsonIgnore]
public readonly float4 zzzx { get; }
Property Value
zzzy
[JsonIgnore]
public readonly float4 zzzy { get; }
Property Value
zzzz
[JsonIgnore]
public readonly float4 zzzz { get; }
Property Value
Methods
Equals(float3)
Indicates whether the current object is equal to another object of the same type.
public readonly bool Equals(float3 other)
Parameters
otherfloat3An object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override readonly bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override readonly int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override readonly string ToString()
Returns
- string
The fully qualified type name.
Operators
operator +(float3, float3)
public static float3 operator +(float3 lhs, float3 rhs)
Parameters
Returns
operator +(float3, float)
public static float3 operator +(float3 lhs, float rhs)
Parameters
Returns
operator +(float, float3)
public static float3 operator +(float lhs, float3 rhs)
Parameters
Returns
operator +=(float3)
public void operator +=(float3 other)
Parameters
otherfloat3
operator --(float3)
public static float3 operator --(float3 value)
Parameters
valuefloat3
Returns
operator /(float3, float3)
public static float3 operator /(float3 lhs, float3 rhs)
Parameters
Returns
operator /(float3, float)
public static float3 operator /(float3 lhs, float rhs)
Parameters
Returns
operator /(float, float3)
public static float3 operator /(float lhs, float3 rhs)
Parameters
Returns
operator /=(float3)
public void operator /=(float3 other)
Parameters
otherfloat3
operator ==(float3, float3)
public static bool3 operator ==(float3 lhs, float3 rhs)
Parameters
Returns
operator >(float3, float3)
public static bool3 operator >(float3 lhs, float3 rhs)
Parameters
Returns
operator >=(float3, float3)
public static bool3 operator >=(float3 lhs, float3 rhs)
Parameters
Returns
implicit operator float3(bool3)
public static implicit operator float3(bool3 v)
Parameters
vbool3
Returns
implicit operator float3(double3)
public static implicit operator float3(double3 v)
Parameters
vdouble3
Returns
implicit operator float3(int3)
public static implicit operator float3(int3 v)
Parameters
vint3
Returns
implicit operator float3(uint3)
public static implicit operator float3(uint3 v)
Parameters
vuint3
Returns
implicit operator float3(double)
public static implicit operator float3(double v)
Parameters
vdouble
Returns
implicit operator float3(int)
public static implicit operator float3(int v)
Parameters
vint
Returns
implicit operator float3(ReadOnlySpan<float>)
public static implicit operator float3(ReadOnlySpan<float> value)
Parameters
valueReadOnlySpan<float>
Returns
implicit operator float3(float)
public static implicit operator float3(float value)
Parameters
valuefloat
Returns
implicit operator float3(uint)
public static implicit operator float3(uint v)
Parameters
vuint
Returns
operator ++(float3)
public static float3 operator ++(float3 value)
Parameters
valuefloat3
Returns
operator !=(float3, float3)
public static bool3 operator !=(float3 lhs, float3 rhs)
Parameters
Returns
operator <(float3, float3)
public static bool3 operator <(float3 lhs, float3 rhs)
Parameters
Returns
operator <=(float3, float3)
public static bool3 operator <=(float3 lhs, float3 rhs)
Parameters
Returns
operator %(float3, float3)
public static float3 operator %(float3 lhs, float3 rhs)
Parameters
Returns
operator %(float3, float)
public static float3 operator %(float3 lhs, float rhs)
Parameters
Returns
operator %(float, float3)
public static float3 operator %(float lhs, float3 rhs)
Parameters
Returns
operator %=(float3)
public void operator %=(float3 other)
Parameters
otherfloat3
operator *=(float3)
public void operator *=(float3 other)
Parameters
otherfloat3
operator *(float3, float3)
public static float3 operator *(float3 lhs, float3 rhs)
Parameters
Returns
operator *(float3, float)
public static float3 operator *(float3 lhs, float rhs)
Parameters
Returns
operator *(float, float3)
public static float3 operator *(float lhs, float3 rhs)
Parameters
Returns
operator -(float3, float3)
public static float3 operator -(float3 lhs, float3 rhs)
Parameters
Returns
operator -(float3, float)
public static float3 operator -(float3 lhs, float rhs)
Parameters
Returns
operator -(float, float3)
public static float3 operator -(float lhs, float3 rhs)
Parameters
Returns
operator -=(float3)
public void operator -=(float3 other)
Parameters
otherfloat3
operator -(float3)
public static float3 operator -(float3 value)
Parameters
valuefloat3
Returns
operator +(float3)
public static float3 operator +(float3 value)
Parameters
valuefloat3