Struct Float3
Assembly: JeremyAnsel.LibNoiseShader.dll
Syntax
public struct Float3 : IEquatable<Float3>
Constructors
|
Edit this page
View Source
Float3(float, float, float)
Declaration
public Float3(float x, float y, float z)
Parameters
Fields
|
Edit this page
View Source
X
Declaration
Field Value
|
Edit this page
View Source
Y
Declaration
Field Value
|
Edit this page
View Source
Z
Declaration
Field Value
Methods
|
Edit this page
View Source
Add(Float3, Float3)
Declaration
public static Float3 Add(Float3 left, Float3 right)
Parameters
Returns
|
Edit this page
View Source
Dot(Float3, Float3)
Declaration
public static float Dot(Float3 x, Float3 y)
Parameters
Returns
|
Edit this page
View Source
Equals(Float3)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(Float3 other)
Parameters
Type |
Name |
Description |
Float3 |
other |
An object to compare with this object.
|
Returns
Type |
Description |
bool |
true if the current object is equal to the other parameter; otherwise, false.
|
|
Edit this page
View Source
Equals(object?)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
The object to compare with the current instance.
|
Returns
Type |
Description |
bool |
true if obj and this instance are the same type and represent the same value; otherwise, false.
|
Overrides
|
Edit this page
View Source
Floor(Float3)
Declaration
public static Float3 Floor(Float3 x)
Parameters
Type |
Name |
Description |
Float3 |
x |
|
Returns
|
Edit this page
View Source
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A 32-bit signed integer that is the hash code for this instance.
|
Overrides
|
Edit this page
View Source
Max(Float3, float)
Declaration
public static Float3 Max(Float3 x, float y)
Parameters
Returns
|
Edit this page
View Source
Min(Float3, float)
Declaration
public static Float3 Min(Float3 x, float y)
Parameters
Returns
|
Edit this page
View Source
Multiply(Float3, Float3)
Declaration
public static Float3 Multiply(Float3 left, Float3 right)
Parameters
Returns
|
Edit this page
View Source
Step(Float3, Float3)
Declaration
public static Float3 Step(Float3 y, Float3 x)
Parameters
Returns
|
Edit this page
View Source
Subtract(Float3, Float3)
Declaration
public static Float3 Subtract(Float3 left, Float3 right)
Parameters
Returns
|
Edit this page
View Source
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
The fully qualified type name.
|
Overrides
Operators
|
Edit this page
View Source
operator +(Float3, Float3)
Declaration
public static Float3 operator +(Float3 x, Float3 y)
Parameters
Returns
|
Edit this page
View Source
operator +(Float3, float)
Declaration
public static Float3 operator +(Float3 x, float y)
Parameters
Returns
|
Edit this page
View Source
operator +(float, Float3)
Declaration
public static Float3 operator +(float y, Float3 x)
Parameters
Returns
|
Edit this page
View Source
operator ==(Float3, Float3)
Declaration
public static bool operator ==(Float3 left, Float3 right)
Parameters
Returns
|
Edit this page
View Source
operator !=(Float3, Float3)
Declaration
public static bool operator !=(Float3 left, Float3 right)
Parameters
Returns
|
Edit this page
View Source
operator *(Float3, Float3)
Declaration
public static Float3 operator *(Float3 x, Float3 y)
Parameters
Returns
|
Edit this page
View Source
operator *(Float3, float)
Declaration
public static Float3 operator *(Float3 x, float y)
Parameters
Returns
|
Edit this page
View Source
operator *(float, Float3)
Declaration
public static Float3 operator *(float y, Float3 x)
Parameters
Returns
|
Edit this page
View Source
operator -(Float3, Float3)
Declaration
public static Float3 operator -(Float3 x, Float3 y)
Parameters
Returns
|
Edit this page
View Source
operator -(Float3, float)
Declaration
public static Float3 operator -(Float3 x, float y)
Parameters
Returns
|
Edit this page
View Source
operator -(float, Float3)
Declaration
public static Float3 operator -(float y, Float3 x)
Parameters
Returns
Implements