Struct Float4
Assembly: JeremyAnsel.LibNoiseShader.dll
Syntax
public struct Float4 : IEquatable<Float4>
Constructors
|
Edit this page
View Source
Float4(float, float, float, float)
Declaration
public Float4(float x, float y, float z, float w)
Parameters
Fields
|
Edit this page
View Source
W
Declaration
Field Value
|
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(Float4, Float4)
Declaration
public static Float4 Add(Float4 left, Float4 right)
Parameters
Returns
|
Edit this page
View Source
Dot(Float4, Float4)
Declaration
public static float Dot(Float4 x, Float4 y)
Parameters
Returns
|
Edit this page
View Source
Equals(Float4)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(Float4 other)
Parameters
Type |
Name |
Description |
Float4 |
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(Float4)
Declaration
public static Float4 Floor(Float4 x)
Parameters
Type |
Name |
Description |
Float4 |
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(Float4, float)
Declaration
public static Float4 Max(Float4 x, float y)
Parameters
Returns
|
Edit this page
View Source
Min(Float4, float)
Declaration
public static Float4 Min(Float4 x, float y)
Parameters
Returns
|
Edit this page
View Source
Multiply(Float4, Float4)
Declaration
public static Float4 Multiply(Float4 left, Float4 right)
Parameters
Returns
|
Edit this page
View Source
Step(Float4, Float4)
Declaration
public static Float4 Step(Float4 y, Float4 x)
Parameters
Returns
|
Edit this page
View Source
Subtract(Float4, Float4)
Declaration
public static Float4 Subtract(Float4 left, Float4 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 +(Float4, Float4)
Declaration
public static Float4 operator +(Float4 x, Float4 y)
Parameters
Returns
|
Edit this page
View Source
operator +(Float4, float)
Declaration
public static Float4 operator +(Float4 x, float y)
Parameters
Returns
|
Edit this page
View Source
operator +(float, Float4)
Declaration
public static Float4 operator +(float y, Float4 x)
Parameters
Returns
|
Edit this page
View Source
operator ==(Float4, Float4)
Declaration
public static bool operator ==(Float4 left, Float4 right)
Parameters
Returns
|
Edit this page
View Source
operator !=(Float4, Float4)
Declaration
public static bool operator !=(Float4 left, Float4 right)
Parameters
Returns
|
Edit this page
View Source
operator *(Float4, Float4)
Declaration
public static Float4 operator *(Float4 x, Float4 y)
Parameters
Returns
|
Edit this page
View Source
operator *(Float4, float)
Declaration
public static Float4 operator *(Float4 x, float y)
Parameters
Returns
|
Edit this page
View Source
operator *(float, Float4)
Declaration
public static Float4 operator *(float y, Float4 x)
Parameters
Returns
|
Edit this page
View Source
operator -(Float4, Float4)
Declaration
public static Float4 operator -(Float4 x, Float4 y)
Parameters
Returns
|
Edit this page
View Source
operator -(Float4, float)
Declaration
public static Float4 operator -(Float4 x, float y)
Parameters
Returns
|
Edit this page
View Source
operator -(float, Float4)
Declaration
public static Float4 operator -(float y, Float4 x)
Parameters
Returns
Implements