Table of Contents

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

v bool3

float3(double3)

public float3(double3 v)

Parameters

v double3

float3(float2, float)

public float3(float2 xy, float z)

Parameters

xy float2
z float

float3(float3)

public float3(float3 xyz)

Parameters

xyz float3

float3(int3)

public float3(int3 v)

Parameters

v int3

float3(uint3)

public float3(uint3 v)

Parameters

v uint3

float3(double)

public float3(double v)

Parameters

v double

float3(int)

public float3(int v)

Parameters

v int

float3(ReadOnlySpan<float>)

public float3(ReadOnlySpan<float> values)

Parameters

values ReadOnlySpan<float>

float3(float)

public float3(float value)

Parameters

value float

float3(float, float2)

public float3(float x, float2 yz)

Parameters

x float
yz float2

float3(float, float, float)

public float3(float x, float y, float z)

Parameters

x float
y float
z float

float3(uint)

public float3(uint v)

Parameters

v uint

Fields

x

public float x

Field Value

float

y

public float y

Field Value

float

z

public float z

Field Value

float

Properties

this[int]

public ref float this[int index] { get; }

Parameters

index int

Property Value

float

one

public static float3 one { get; }

Property Value

float3

unitX

public static float3 unitX { get; }

Property Value

float3

unitY

public static float3 unitY { get; }

Property Value

float3

unitZ

public static float3 unitZ { get; }

Property Value

float3

xx

[JsonIgnore]
public readonly float2 xx { get; }

Property Value

float2

xxx

[JsonIgnore]
public readonly float3 xxx { get; }

Property Value

float3

xxxx

[JsonIgnore]
public readonly float4 xxxx { get; }

Property Value

float4

xxxy

[JsonIgnore]
public readonly float4 xxxy { get; }

Property Value

float4

xxxz

[JsonIgnore]
public readonly float4 xxxz { get; }

Property Value

float4

xxy

[JsonIgnore]
public readonly float3 xxy { get; }

Property Value

float3

xxyx

[JsonIgnore]
public readonly float4 xxyx { get; }

Property Value

float4

xxyy

[JsonIgnore]
public readonly float4 xxyy { get; }

Property Value

float4

xxyz

[JsonIgnore]
public readonly float4 xxyz { get; }

Property Value

float4

xxz

[JsonIgnore]
public readonly float3 xxz { get; }

Property Value

float3

xxzx

[JsonIgnore]
public readonly float4 xxzx { get; }

Property Value

float4

xxzy

[JsonIgnore]
public readonly float4 xxzy { get; }

Property Value

float4

xxzz

[JsonIgnore]
public readonly float4 xxzz { get; }

Property Value

float4

xy

[JsonIgnore]
public float2 xy { get; set; }

Property Value

float2

xyx

[JsonIgnore]
public readonly float3 xyx { get; }

Property Value

float3

xyxx

[JsonIgnore]
public readonly float4 xyxx { get; }

Property Value

float4

xyxy

[JsonIgnore]
public readonly float4 xyxy { get; }

Property Value

float4

xyxz

[JsonIgnore]
public readonly float4 xyxz { get; }

Property Value

float4

xyy

[JsonIgnore]
public readonly float3 xyy { get; }

Property Value

float3

xyyx

[JsonIgnore]
public readonly float4 xyyx { get; }

Property Value

float4

xyyy

[JsonIgnore]
public readonly float4 xyyy { get; }

Property Value

float4

xyyz

[JsonIgnore]
public readonly float4 xyyz { get; }

Property Value

float4

xyz

[JsonIgnore]
public float3 xyz { get; set; }

Property Value

float3

xyzx

[JsonIgnore]
public readonly float4 xyzx { get; }

Property Value

float4

xyzy

[JsonIgnore]
public readonly float4 xyzy { get; }

Property Value

float4

xyzz

[JsonIgnore]
public readonly float4 xyzz { get; }

Property Value

float4

xz

[JsonIgnore]
public float2 xz { get; set; }

Property Value

float2

xzx

[JsonIgnore]
public readonly float3 xzx { get; }

Property Value

float3

xzxx

[JsonIgnore]
public readonly float4 xzxx { get; }

Property Value

float4

xzxy

[JsonIgnore]
public readonly float4 xzxy { get; }

Property Value

float4

xzxz

[JsonIgnore]
public readonly float4 xzxz { get; }

Property Value

float4

xzy

[JsonIgnore]
public float3 xzy { get; set; }

Property Value

float3

xzyx

[JsonIgnore]
public readonly float4 xzyx { get; }

Property Value

float4

xzyy

[JsonIgnore]
public readonly float4 xzyy { get; }

Property Value

float4

xzyz

[JsonIgnore]
public readonly float4 xzyz { get; }

Property Value

float4

xzz

[JsonIgnore]
public readonly float3 xzz { get; }

Property Value

float3

xzzx

[JsonIgnore]
public readonly float4 xzzx { get; }

Property Value

float4

xzzy

[JsonIgnore]
public readonly float4 xzzy { get; }

Property Value

float4

xzzz

[JsonIgnore]
public readonly float4 xzzz { get; }

Property Value

float4

yx

[JsonIgnore]
public float2 yx { get; set; }

Property Value

float2

yxx

[JsonIgnore]
public readonly float3 yxx { get; }

Property Value

float3

yxxx

[JsonIgnore]
public readonly float4 yxxx { get; }

Property Value

float4

yxxy

[JsonIgnore]
public readonly float4 yxxy { get; }

Property Value

float4

yxxz

[JsonIgnore]
public readonly float4 yxxz { get; }

Property Value

float4

yxy

[JsonIgnore]
public readonly float3 yxy { get; }

Property Value

float3

yxyx

[JsonIgnore]
public readonly float4 yxyx { get; }

Property Value

float4

yxyy

[JsonIgnore]
public readonly float4 yxyy { get; }

Property Value

float4

yxyz

[JsonIgnore]
public readonly float4 yxyz { get; }

Property Value

float4

yxz

[JsonIgnore]
public float3 yxz { get; set; }

Property Value

float3

yxzx

[JsonIgnore]
public readonly float4 yxzx { get; }

Property Value

float4

yxzy

[JsonIgnore]
public readonly float4 yxzy { get; }

Property Value

float4

yxzz

[JsonIgnore]
public readonly float4 yxzz { get; }

Property Value

float4

yy

[JsonIgnore]
public readonly float2 yy { get; }

Property Value

float2

yyx

[JsonIgnore]
public readonly float3 yyx { get; }

Property Value

float3

yyxx

[JsonIgnore]
public readonly float4 yyxx { get; }

Property Value

float4

yyxy

[JsonIgnore]
public readonly float4 yyxy { get; }

Property Value

float4

yyxz

[JsonIgnore]
public readonly float4 yyxz { get; }

Property Value

float4

yyy

[JsonIgnore]
public readonly float3 yyy { get; }

Property Value

float3

yyyx

[JsonIgnore]
public readonly float4 yyyx { get; }

Property Value

float4

yyyy

[JsonIgnore]
public readonly float4 yyyy { get; }

Property Value

float4

yyyz

[JsonIgnore]
public readonly float4 yyyz { get; }

Property Value

float4

yyz

[JsonIgnore]
public readonly float3 yyz { get; }

Property Value

float3

yyzx

[JsonIgnore]
public readonly float4 yyzx { get; }

Property Value

float4

yyzy

[JsonIgnore]
public readonly float4 yyzy { get; }

Property Value

float4

yyzz

[JsonIgnore]
public readonly float4 yyzz { get; }

Property Value

float4

yz

[JsonIgnore]
public float2 yz { get; set; }

Property Value

float2

yzx

[JsonIgnore]
public float3 yzx { get; set; }

Property Value

float3

yzxx

[JsonIgnore]
public readonly float4 yzxx { get; }

Property Value

float4

yzxy

[JsonIgnore]
public readonly float4 yzxy { get; }

Property Value

float4

yzxz

[JsonIgnore]
public readonly float4 yzxz { get; }

Property Value

float4

yzy

[JsonIgnore]
public readonly float3 yzy { get; }

Property Value

float3

yzyx

[JsonIgnore]
public readonly float4 yzyx { get; }

Property Value

float4

yzyy

[JsonIgnore]
public readonly float4 yzyy { get; }

Property Value

float4

yzyz

[JsonIgnore]
public readonly float4 yzyz { get; }

Property Value

float4

yzz

[JsonIgnore]
public readonly float3 yzz { get; }

Property Value

float3

yzzx

[JsonIgnore]
public readonly float4 yzzx { get; }

Property Value

float4

yzzy

[JsonIgnore]
public readonly float4 yzzy { get; }

Property Value

float4

yzzz

[JsonIgnore]
public readonly float4 yzzz { get; }

Property Value

float4

zero

public static float3 zero { get; }

Property Value

float3

zx

[JsonIgnore]
public float2 zx { get; set; }

Property Value

float2

zxx

[JsonIgnore]
public readonly float3 zxx { get; }

Property Value

float3

zxxx

[JsonIgnore]
public readonly float4 zxxx { get; }

Property Value

float4

zxxy

[JsonIgnore]
public readonly float4 zxxy { get; }

Property Value

float4

zxxz

[JsonIgnore]
public readonly float4 zxxz { get; }

Property Value

float4

zxy

[JsonIgnore]
public float3 zxy { get; set; }

Property Value

float3

zxyx

[JsonIgnore]
public readonly float4 zxyx { get; }

Property Value

float4

zxyy

[JsonIgnore]
public readonly float4 zxyy { get; }

Property Value

float4

zxyz

[JsonIgnore]
public readonly float4 zxyz { get; }

Property Value

float4

zxz

[JsonIgnore]
public readonly float3 zxz { get; }

Property Value

float3

zxzx

[JsonIgnore]
public readonly float4 zxzx { get; }

Property Value

float4

zxzy

[JsonIgnore]
public readonly float4 zxzy { get; }

Property Value

float4

zxzz

[JsonIgnore]
public readonly float4 zxzz { get; }

Property Value

float4

zy

[JsonIgnore]
public float2 zy { get; set; }

Property Value

float2

zyx

[JsonIgnore]
public float3 zyx { get; set; }

Property Value

float3

zyxx

[JsonIgnore]
public readonly float4 zyxx { get; }

Property Value

float4

zyxy

[JsonIgnore]
public readonly float4 zyxy { get; }

Property Value

float4

zyxz

[JsonIgnore]
public readonly float4 zyxz { get; }

Property Value

float4

zyy

[JsonIgnore]
public readonly float3 zyy { get; }

Property Value

float3

zyyx

[JsonIgnore]
public readonly float4 zyyx { get; }

Property Value

float4

zyyy

[JsonIgnore]
public readonly float4 zyyy { get; }

Property Value

float4

zyyz

[JsonIgnore]
public readonly float4 zyyz { get; }

Property Value

float4

zyz

[JsonIgnore]
public readonly float3 zyz { get; }

Property Value

float3

zyzx

[JsonIgnore]
public readonly float4 zyzx { get; }

Property Value

float4

zyzy

[JsonIgnore]
public readonly float4 zyzy { get; }

Property Value

float4

zyzz

[JsonIgnore]
public readonly float4 zyzz { get; }

Property Value

float4

zz

[JsonIgnore]
public readonly float2 zz { get; }

Property Value

float2

zzx

[JsonIgnore]
public readonly float3 zzx { get; }

Property Value

float3

zzxx

[JsonIgnore]
public readonly float4 zzxx { get; }

Property Value

float4

zzxy

[JsonIgnore]
public readonly float4 zzxy { get; }

Property Value

float4

zzxz

[JsonIgnore]
public readonly float4 zzxz { get; }

Property Value

float4

zzy

[JsonIgnore]
public readonly float3 zzy { get; }

Property Value

float3

zzyx

[JsonIgnore]
public readonly float4 zzyx { get; }

Property Value

float4

zzyy

[JsonIgnore]
public readonly float4 zzyy { get; }

Property Value

float4

zzyz

[JsonIgnore]
public readonly float4 zzyz { get; }

Property Value

float4

zzz

[JsonIgnore]
public readonly float3 zzz { get; }

Property Value

float3

zzzx

[JsonIgnore]
public readonly float4 zzzx { get; }

Property Value

float4

zzzy

[JsonIgnore]
public readonly float4 zzzy { get; }

Property Value

float4

zzzz

[JsonIgnore]
public readonly float4 zzzz { get; }

Property Value

float4

Methods

Equals(float3)

Indicates whether the current object is equal to another object of the same type.

public readonly bool Equals(float3 other)

Parameters

other float3

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override readonly bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and 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

lhs float3
rhs float3

Returns

float3

operator +(float3, float)

public static float3 operator +(float3 lhs, float rhs)

Parameters

lhs float3
rhs float

Returns

float3

operator +(float, float3)

public static float3 operator +(float lhs, float3 rhs)

Parameters

lhs float
rhs float3

Returns

float3

operator +=(float3)

public void operator +=(float3 other)

Parameters

other float3

operator --(float3)

public static float3 operator --(float3 value)

Parameters

value float3

Returns

float3

operator /(float3, float3)

public static float3 operator /(float3 lhs, float3 rhs)

Parameters

lhs float3
rhs float3

Returns

float3

operator /(float3, float)

public static float3 operator /(float3 lhs, float rhs)

Parameters

lhs float3
rhs float

Returns

float3

operator /(float, float3)

public static float3 operator /(float lhs, float3 rhs)

Parameters

lhs float
rhs float3

Returns

float3

operator /=(float3)

public void operator /=(float3 other)

Parameters

other float3

operator ==(float3, float3)

public static bool3 operator ==(float3 lhs, float3 rhs)

Parameters

lhs float3
rhs float3

Returns

bool3

operator >(float3, float3)

public static bool3 operator >(float3 lhs, float3 rhs)

Parameters

lhs float3
rhs float3

Returns

bool3

operator >=(float3, float3)

public static bool3 operator >=(float3 lhs, float3 rhs)

Parameters

lhs float3
rhs float3

Returns

bool3

implicit operator float3(bool3)

public static implicit operator float3(bool3 v)

Parameters

v bool3

Returns

float3

implicit operator float3(double3)

public static implicit operator float3(double3 v)

Parameters

v double3

Returns

float3

implicit operator float3(int3)

public static implicit operator float3(int3 v)

Parameters

v int3

Returns

float3

implicit operator float3(uint3)

public static implicit operator float3(uint3 v)

Parameters

v uint3

Returns

float3

implicit operator float3(double)

public static implicit operator float3(double v)

Parameters

v double

Returns

float3

implicit operator float3(int)

public static implicit operator float3(int v)

Parameters

v int

Returns

float3

implicit operator float3(ReadOnlySpan<float>)

public static implicit operator float3(ReadOnlySpan<float> value)

Parameters

value ReadOnlySpan<float>

Returns

float3

implicit operator float3(float)

public static implicit operator float3(float value)

Parameters

value float

Returns

float3

implicit operator float3(uint)

public static implicit operator float3(uint v)

Parameters

v uint

Returns

float3

operator ++(float3)

public static float3 operator ++(float3 value)

Parameters

value float3

Returns

float3

operator !=(float3, float3)

public static bool3 operator !=(float3 lhs, float3 rhs)

Parameters

lhs float3
rhs float3

Returns

bool3

operator <(float3, float3)

public static bool3 operator <(float3 lhs, float3 rhs)

Parameters

lhs float3
rhs float3

Returns

bool3

operator <=(float3, float3)

public static bool3 operator <=(float3 lhs, float3 rhs)

Parameters

lhs float3
rhs float3

Returns

bool3

operator %(float3, float3)

public static float3 operator %(float3 lhs, float3 rhs)

Parameters

lhs float3
rhs float3

Returns

float3

operator %(float3, float)

public static float3 operator %(float3 lhs, float rhs)

Parameters

lhs float3
rhs float

Returns

float3

operator %(float, float3)

public static float3 operator %(float lhs, float3 rhs)

Parameters

lhs float
rhs float3

Returns

float3

operator %=(float3)

public void operator %=(float3 other)

Parameters

other float3

operator *=(float3)

public void operator *=(float3 other)

Parameters

other float3

operator *(float3, float3)

public static float3 operator *(float3 lhs, float3 rhs)

Parameters

lhs float3
rhs float3

Returns

float3

operator *(float3, float)

public static float3 operator *(float3 lhs, float rhs)

Parameters

lhs float3
rhs float

Returns

float3

operator *(float, float3)

public static float3 operator *(float lhs, float3 rhs)

Parameters

lhs float
rhs float3

Returns

float3

operator -(float3, float3)

public static float3 operator -(float3 lhs, float3 rhs)

Parameters

lhs float3
rhs float3

Returns

float3

operator -(float3, float)

public static float3 operator -(float3 lhs, float rhs)

Parameters

lhs float3
rhs float

Returns

float3

operator -(float, float3)

public static float3 operator -(float lhs, float3 rhs)

Parameters

lhs float
rhs float3

Returns

float3

operator -=(float3)

public void operator -=(float3 other)

Parameters

other float3

operator -(float3)

public static float3 operator -(float3 value)

Parameters

value float3

Returns

float3

operator +(float3)

public static float3 operator +(float3 value)

Parameters

value float3

Returns

float3