Class math
Inheritance
System.Object
math
Syntax
Fields
DBL_MIN_NORMAL
The smallest positive normal number representable in a double. This is a f64/double precision constant.
Declaration
public const double DBL_MIN_NORMAL = 2.2250738585072014E-308
Field Value
Type |
Description |
System.Double |
|
E
The mathematical constant e also known as Euler's number. Approximately 2.72.
Declaration
public const float E = 2.71828175F
Field Value
Type |
Description |
System.Single |
|
E_DBL
The mathematical constant e also known as Euler's number. Approximately 2.72. This is a f64/double precision constant.
Declaration
public const double E_DBL = 2.7182818284590451
Field Value
Type |
Description |
System.Double |
|
FLT_MIN_NORMAL
The smallest positive normal number representable in a float.
Declaration
public const float FLT_MIN_NORMAL = 1.17549435E-38F
Field Value
Type |
Description |
System.Single |
|
LN10
The natural logarithm of 10. Approximately 2.30.
Declaration
public const float LN10 = 2.30258512F
Field Value
Type |
Description |
System.Single |
|
LN10_DBL
The natural logarithm of 10. Approximately 2.30. This is a f64/double precision constant.
Declaration
public const double LN10_DBL = 2.3025850929940459
Field Value
Type |
Description |
System.Double |
|
LN2
The natural logarithm of 2. Approximately 0.69.
Declaration
public const float LN2 = 0.6931472F
Field Value
Type |
Description |
System.Single |
|
LN2_DBL
The natural logarithm of 2. Approximately 0.69. This is a f64/double precision constant.
Declaration
public const double LN2_DBL = 0.69314718055994529
Field Value
Type |
Description |
System.Double |
|
LOG10E
The base 10 logarithm of e. Approximately 0.43.
Declaration
public const float LOG10E = 0.4342945F
Field Value
Type |
Description |
System.Single |
|
LOG10E_DBL
The base 10 logarithm of e. Approximately 0.43. This is a f64/double precision constant.
Declaration
public const double LOG10E_DBL = 0.43429448190325182
Field Value
Type |
Description |
System.Double |
|
LOG2E
The base 2 logarithm of e. Approximately 1.44.
Declaration
public const float LOG2E = 1.442695F
Field Value
Type |
Description |
System.Single |
|
LOG2E_DBL
The base 2 logarithm of e. Approximately 1.44. This is a f64/double precision constant.
Declaration
public const double LOG2E_DBL = 1.4426950408889634
Field Value
Type |
Description |
System.Double |
|
PI
The mathematical constant pi. Approximately 3.14.
Declaration
public const float PI = 3.14159274F
Field Value
Type |
Description |
System.Single |
|
PI_DBL
The mathematical constant pi. Approximately 3.14. This is a f64/double precision constant.
Declaration
public const double PI_DBL = 3.1415926535897931
Field Value
Type |
Description |
System.Double |
|
SQRT2
The square root 2. Approximately 1.41.
Declaration
public const float SQRT2 = 1.41421354F
Field Value
Type |
Description |
System.Single |
|
SQRT2_DBL
The square root 2. Approximately 1.41. This is a f64/double precision constant.
Declaration
public const double SQRT2_DBL = 1.4142135623730951
Field Value
Type |
Description |
System.Double |
|
Methods
abs(Double)
Returns the absolute value of a double value.
Declaration
public static double abs(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
abs(Int32)
Returns the absolute value of a int value.
Declaration
public static int abs(int x)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
abs(Int64)
Returns the absolute value of a long value.
Declaration
public static long abs(long x)
Parameters
Type |
Name |
Description |
System.Int64 |
x |
|
Returns
Type |
Description |
System.Int64 |
|
abs(Single)
Returns the absolute value of a float value.
Declaration
public static float abs(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
abs(double2)
Returns the componentwise absolute value of a double2 vector.
Declaration
public static double2 abs(double2 x)
Parameters
Returns
abs(double3)
Returns the componentwise absolute value of a double3 vector.
Declaration
public static double3 abs(double3 x)
Parameters
Returns
abs(double4)
Returns the componentwise absolute value of a double4 vector.
Declaration
public static double4 abs(double4 x)
Parameters
Returns
abs(float2)
Returns the componentwise absolute value of a float2 vector.
Declaration
public static float2 abs(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
abs(float3)
Returns the componentwise absolute value of a float3 vector.
Declaration
public static float3 abs(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
abs(float4)
Returns the componentwise absolute value of a float4 vector.
Declaration
public static float4 abs(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
abs(int2)
Returns the componentwise absolute value of a int2 vector.
Declaration
public static int2 abs(int2 x)
Parameters
Type |
Name |
Description |
int2 |
x |
|
Returns
abs(int3)
Returns the componentwise absolute value of a int3 vector.
Declaration
public static int3 abs(int3 x)
Parameters
Type |
Name |
Description |
int3 |
x |
|
Returns
abs(int4)
Returns the componentwise absolute value of a int4 vector.
Declaration
public static int4 abs(int4 x)
Parameters
Type |
Name |
Description |
int4 |
x |
|
Returns
acos(Double)
Returns the arccosine of a double value.
Declaration
public static double acos(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
acos(Single)
Returns the arccosine of a float value.
Declaration
public static float acos(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
acos(double2)
Returns the componentwise arccosine of a double2 vector.
Declaration
public static double2 acos(double2 x)
Parameters
Returns
acos(double3)
Returns the componentwise arccosine of a double3 vector.
Declaration
public static double3 acos(double3 x)
Parameters
Returns
acos(double4)
Returns the componentwise arccosine of a double4 vector.
Declaration
public static double4 acos(double4 x)
Parameters
Returns
acos(float2)
Returns the componentwise arccosine of a float2 vector.
Declaration
public static float2 acos(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
acos(float3)
Returns the componentwise arccosine of a float3 vector.
Declaration
public static float3 acos(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
acos(float4)
Returns the componentwise arccosine of a float4 vector.
Declaration
public static float4 acos(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
all(bool2)
Returns true if all components of the input bool2 vector are true, false otherwise.
Declaration
public static bool all(bool2 x)
Parameters
Type |
Name |
Description |
bool2 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
all(bool3)
Returns true if all components of the input bool3 vector are true, false otherwise.
Declaration
public static bool all(bool3 x)
Parameters
Type |
Name |
Description |
bool3 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
all(bool4)
Returns true if all components of the input bool4 vector are true, false otherwise.
Declaration
public static bool all(bool4 x)
Parameters
Type |
Name |
Description |
bool4 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
all(double2)
Returns true if all components of the input double2 vector are non-zero, false otherwise.
Declaration
public static bool all(double2 x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
all(double3)
Returns true if all components of the input double3 vector are non-zero, false otherwise.
Declaration
public static bool all(double3 x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
all(double4)
Returns true if all components of the input double4 vector are non-zero, false otherwise.
Declaration
public static bool all(double4 x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
all(float2)
Returns true if all components of the input float2 vector are non-zero, false otherwise.
Declaration
public static bool all(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
all(float3)
Returns true if all components of the input float3 vector are non-zero, false otherwise.
Declaration
public static bool all(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
all(float4)
Returns true if all components of the input float4 vector are non-zero, false otherwise.
Declaration
public static bool all(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
all(int2)
Returns true if all components of the input int2 vector are non-zero, false otherwise.
Declaration
public static bool all(int2 x)
Parameters
Type |
Name |
Description |
int2 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
all(int3)
Returns true if all components of the input int3 vector are non-zero, false otherwise.
Declaration
public static bool all(int3 x)
Parameters
Type |
Name |
Description |
int3 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
all(int4)
Returns true if all components of the input int4 vector are non-zero, false otherwise.
Declaration
public static bool all(int4 x)
Parameters
Type |
Name |
Description |
int4 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
all(uint2)
Returns true if all components of the input uint2 vector are non-zero, false otherwise.
Declaration
public static bool all(uint2 x)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
all(uint3)
Returns true if all components of the input uint3 vector are non-zero, false otherwise.
Declaration
public static bool all(uint3 x)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
all(uint4)
Returns true if all components of the input uint4 vector are non-zero, false otherwise.
Declaration
public static bool all(uint4 x)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
any(bool2)
Returns true if any component of the input bool2 vector is true, false otherwise.
Declaration
public static bool any(bool2 x)
Parameters
Type |
Name |
Description |
bool2 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
any(bool3)
Returns true if any component of the input bool3 vector is true, false otherwise.
Declaration
public static bool any(bool3 x)
Parameters
Type |
Name |
Description |
bool3 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
any(bool4)
Returns true if any components of the input bool4 vector is true, false otherwise.
Declaration
public static bool any(bool4 x)
Parameters
Type |
Name |
Description |
bool4 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
any(double2)
Returns true if any component of the input double2 vector is non-zero, false otherwise.
Declaration
public static bool any(double2 x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
any(double3)
Returns true if any component of the input double3 vector is non-zero, false otherwise.
Declaration
public static bool any(double3 x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
any(double4)
Returns true if any component of the input double4 vector is non-zero, false otherwise.
Declaration
public static bool any(double4 x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
any(float2)
Returns true if any component of the input float2 vector is non-zero, false otherwise.
Declaration
public static bool any(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
any(float3)
Returns true if any component of the input float3 vector is non-zero, false otherwise.
Declaration
public static bool any(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
any(float4)
Returns true if any component of the input float4 vector is non-zero, false otherwise.
Declaration
public static bool any(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
any(int2)
Returns true if any component of the input int2 vector is non-zero, false otherwise.
Declaration
public static bool any(int2 x)
Parameters
Type |
Name |
Description |
int2 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
any(int3)
Returns true if any component of the input int3 vector is non-zero, false otherwise.
Declaration
public static bool any(int3 x)
Parameters
Type |
Name |
Description |
int3 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
any(int4)
Returns true if any components of the input int4 vector is non-zero, false otherwise.
Declaration
public static bool any(int4 x)
Parameters
Type |
Name |
Description |
int4 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
any(uint2)
Returns true if any component of the input uint2 vector is non-zero, false otherwise.
Declaration
public static bool any(uint2 x)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
any(uint3)
Returns true if any component of the input uint3 vector is non-zero, false otherwise.
Declaration
public static bool any(uint3 x)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
any(uint4)
Returns true if any components of the input uint4 vector is non-zero, false otherwise.
Declaration
public static bool any(uint4 x)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
Returns
Type |
Description |
System.Boolean |
|
asdouble(Int64)
Returns the bit pattern of a long as a double.
Declaration
public static double asdouble(long x)
Parameters
Type |
Name |
Description |
System.Int64 |
x |
|
Returns
Type |
Description |
System.Double |
|
asdouble(UInt64)
Returns the bit pattern of a ulong as a double.
Declaration
public static double asdouble(ulong x)
Parameters
Type |
Name |
Description |
System.UInt64 |
x |
|
Returns
Type |
Description |
System.Double |
|
asfloat(Int32)
Returns the bit pattern of an int as a float.
Declaration
public static float asfloat(int x)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
Returns
Type |
Description |
System.Single |
|
asfloat(UInt32)
Returns the bit pattern of a uint as a float.
Declaration
public static float asfloat(uint x)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
Returns
Type |
Description |
System.Single |
|
asfloat(int2)
Returns the bit pattern of an int2 as a float2.
Declaration
public static float2 asfloat(int2 x)
Parameters
Type |
Name |
Description |
int2 |
x |
|
Returns
asfloat(int3)
Returns the bit pattern of an int3 as a float3.
Declaration
public static float3 asfloat(int3 x)
Parameters
Type |
Name |
Description |
int3 |
x |
|
Returns
asfloat(int4)
Returns the bit pattern of an int4 as a float4.
Declaration
public static float4 asfloat(int4 x)
Parameters
Type |
Name |
Description |
int4 |
x |
|
Returns
asfloat(uint2)
Returns the bit pattern of a uint2 as a float2.
Declaration
public static float2 asfloat(uint2 x)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
Returns
asfloat(uint3)
Returns the bit pattern of a uint3 as a float3.
Declaration
public static float3 asfloat(uint3 x)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
Returns
asfloat(uint4)
Returns the bit pattern of a uint4 as a float4.
Declaration
public static float4 asfloat(uint4 x)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
Returns
asin(Double)
Returns the arcsine of a double value.
Declaration
public static double asin(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
asin(Single)
Returns the arcsine of a float value.
Declaration
public static float asin(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
asin(double2)
Returns the componentwise arcsine of a double2 vector.
Declaration
public static double2 asin(double2 x)
Parameters
Returns
asin(double3)
Returns the componentwise arcsine of a double3 vector.
Declaration
public static double3 asin(double3 x)
Parameters
Returns
asin(double4)
Returns the componentwise arcsine of a double4 vector.
Declaration
public static double4 asin(double4 x)
Parameters
Returns
asin(float2)
Returns the componentwise arcsine of a float2 vector.
Declaration
public static float2 asin(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
asin(float3)
Returns the componentwise arcsine of a float3 vector.
Declaration
public static float3 asin(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
asin(float4)
Returns the componentwise arcsine of a float4 vector.
Declaration
public static float4 asin(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
asint(Single)
Returns the bit pattern of a float as an int.
Declaration
public static int asint(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Int32 |
|
asint(UInt32)
Returns the bit pattern of a uint as an int.
Declaration
public static int asint(uint x)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
asint(float2)
Returns the bit pattern of a float2 as an int2.
Declaration
public static int2 asint(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
asint(float3)
Returns the bit pattern of a float3 as an int3.
Declaration
public static int3 asint(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
asint(float4)
Returns the bit pattern of a float4 as an int4.
Declaration
public static int4 asint(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
asint(uint2)
Returns the bit pattern of a uint2 as an int2.
Declaration
public static int2 asint(uint2 x)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
Returns
asint(uint3)
Returns the bit pattern of a uint3 as an int3.
Declaration
public static int3 asint(uint3 x)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
Returns
asint(uint4)
Returns the bit pattern of a uint4 as an int4.
Declaration
public static int4 asint(uint4 x)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
Returns
aslong(Double)
Returns the bit pattern of a double as a long.
Declaration
public static long aslong(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Int64 |
|
aslong(UInt64)
Returns the bit pattern of a ulong as a long.
Declaration
public static long aslong(ulong x)
Parameters
Type |
Name |
Description |
System.UInt64 |
x |
|
Returns
Type |
Description |
System.Int64 |
|
asuint(Int32)
Returns the bit pattern of an int as a uint.
Declaration
public static uint asuint(int x)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
Returns
Type |
Description |
System.UInt32 |
|
asuint(Single)
Returns the bit pattern of a float as a uint.
Declaration
public static uint asuint(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.UInt32 |
|
asuint(float2)
Returns the bit pattern of a float2 as a uint2.
Declaration
public static uint2 asuint(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
asuint(float3)
Returns the bit pattern of a float3 as a uint3.
Declaration
public static uint3 asuint(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
asuint(float4)
Returns the bit pattern of a float4 as a uint4.
Declaration
public static uint4 asuint(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
asuint(int2)
Returns the bit pattern of an int2 as a uint2.
Declaration
public static uint2 asuint(int2 x)
Parameters
Type |
Name |
Description |
int2 |
x |
|
Returns
asuint(int3)
Returns the bit pattern of an int3 as a uint3.
Declaration
public static uint3 asuint(int3 x)
Parameters
Type |
Name |
Description |
int3 |
x |
|
Returns
asuint(int4)
Returns the bit pattern of an int4 as a uint4.
Declaration
public static uint4 asuint(int4 x)
Parameters
Type |
Name |
Description |
int4 |
x |
|
Returns
asulong(Double)
Returns the bit pattern of a double as a ulong.
Declaration
public static ulong asulong(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.UInt64 |
|
asulong(Int64)
Returns the bit pattern of a long as a ulong.
Declaration
public static ulong asulong(long x)
Parameters
Type |
Name |
Description |
System.Int64 |
x |
|
Returns
Type |
Description |
System.UInt64 |
|
atan(Double)
Returns the arctangent of a double value.
Declaration
public static double atan(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
atan(Single)
Returns the arctangent of a float value.
Declaration
public static float atan(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
atan(double2)
Returns the componentwise arctangent of a double2 vector.
Declaration
public static double2 atan(double2 x)
Parameters
Returns
atan(double3)
Returns the componentwise arctangent of a double3 vector.
Declaration
public static double3 atan(double3 x)
Parameters
Returns
atan(double4)
Returns the componentwise arctangent of a double4 vector.
Declaration
public static double4 atan(double4 x)
Parameters
Returns
atan(float2)
Returns the componentwise arctangent of a float2 vector.
Declaration
public static float2 atan(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
atan(float3)
Returns the componentwise arctangent of a float3 vector.
Declaration
public static float3 atan(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
atan(float4)
Returns the componentwise arctangent of a float4 vector.
Declaration
public static float4 atan(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
atan2(Double, Double)
Returns the 2-argument arctangent of a pair of double values.
Declaration
public static double atan2(double y, double x)
Parameters
Type |
Name |
Description |
System.Double |
y |
|
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
atan2(Single, Single)
Returns the 2-argument arctangent of a pair of float values.
Declaration
public static float atan2(float y, float x)
Parameters
Type |
Name |
Description |
System.Single |
y |
|
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
atan2(double2, double2)
Returns the 2-argument arctangent of a pair of double2 vectors.
Declaration
public static double2 atan2(double2 y, double2 x)
Parameters
Returns
atan2(double3, double3)
Returns the 2-argument arctangent of a pair of double3 vectors.
Declaration
public static double3 atan2(double3 y, double3 x)
Parameters
Returns
atan2(double4, double4)
Returns the 2-argument arctangent of a pair of double4 vectors.
Declaration
public static double4 atan2(double4 y, double4 x)
Parameters
Returns
atan2(float2, float2)
Returns the componentwise 2-argument arctangent of a pair of floats2 vectors.
Declaration
public static float2 atan2(float2 y, float2 x)
Parameters
Returns
atan2(float3, float3)
Returns the componentwise 2-argument arctangent of a pair of floats3 vectors.
Declaration
public static float3 atan2(float3 y, float3 x)
Parameters
Returns
atan2(float4, float4)
Returns the componentwise 2-argument arctangent of a pair of floats4 vectors.
Declaration
public static float4 atan2(float4 y, float4 x)
Parameters
Returns
bool2(Boolean)
Returns a bool2 vector constructed from a single bool value by assigning it to every component.
Declaration
public static bool2 bool2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
bool2(Boolean, Boolean)
Returns a bool2 vector constructed from two bool values.
Declaration
public static bool2 bool2(bool x, bool y)
Parameters
Type |
Name |
Description |
System.Boolean |
x |
|
System.Boolean |
y |
|
Returns
bool2(bool2)
Returns a bool2 vector constructed from a bool2 vector.
Declaration
public static bool2 bool2(bool2 xy)
Parameters
Type |
Name |
Description |
bool2 |
xy |
|
Returns
bool2x2(Boolean)
Returns a bool2x2 matrix constructed from a single bool value by assigning it to every component.
Declaration
public static bool2x2 bool2x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
bool2x2(Boolean, Boolean, Boolean, Boolean)
Returns a bool2x2 matrix constructed from from 4 bool values given in row-major order.
Declaration
public static bool2x2 bool2x2(bool m00, bool m01, bool m10, bool m11)
Parameters
Type |
Name |
Description |
System.Boolean |
m00 |
|
System.Boolean |
m01 |
|
System.Boolean |
m10 |
|
System.Boolean |
m11 |
|
Returns
bool2x2(bool2, bool2)
Returns a bool2x2 matrix constructed from two bool2 vectors.
Declaration
public static bool2x2 bool2x2(bool2 c0, bool2 c1)
Parameters
Returns
bool2x3(Boolean)
Returns a bool2x3 matrix constructed from a single bool value by assigning it to every component.
Declaration
public static bool2x3 bool2x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
bool2x3(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Returns a bool2x3 matrix constructed from from 6 bool values given in row-major order.
Declaration
public static bool2x3 bool2x3(bool m00, bool m01, bool m02, bool m10, bool m11, bool m12)
Parameters
Type |
Name |
Description |
System.Boolean |
m00 |
|
System.Boolean |
m01 |
|
System.Boolean |
m02 |
|
System.Boolean |
m10 |
|
System.Boolean |
m11 |
|
System.Boolean |
m12 |
|
Returns
bool2x3(bool2, bool2, bool2)
Returns a bool2x3 matrix constructed from three bool2 vectors.
Declaration
public static bool2x3 bool2x3(bool2 c0, bool2 c1, bool2 c2)
Parameters
Returns
bool2x4(Boolean)
Returns a bool2x4 matrix constructed from a single bool value by assigning it to every component.
Declaration
public static bool2x4 bool2x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
bool2x4(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Returns a bool2x4 matrix constructed from from 8 bool values given in row-major order.
Declaration
public static bool2x4 bool2x4(bool m00, bool m01, bool m02, bool m03, bool m10, bool m11, bool m12, bool m13)
Parameters
Type |
Name |
Description |
System.Boolean |
m00 |
|
System.Boolean |
m01 |
|
System.Boolean |
m02 |
|
System.Boolean |
m03 |
|
System.Boolean |
m10 |
|
System.Boolean |
m11 |
|
System.Boolean |
m12 |
|
System.Boolean |
m13 |
|
Returns
bool2x4(bool2, bool2, bool2, bool2)
Returns a bool2x4 matrix constructed from four bool2 vectors.
Declaration
public static bool2x4 bool2x4(bool2 c0, bool2 c1, bool2 c2, bool2 c3)
Parameters
Returns
bool3(Boolean)
Returns a bool3 vector constructed from a single bool value by assigning it to every component.
Declaration
public static bool3 bool3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
bool3(Boolean, Boolean, Boolean)
Returns a bool3 vector constructed from three bool values.
Declaration
public static bool3 bool3(bool x, bool y, bool z)
Parameters
Type |
Name |
Description |
System.Boolean |
x |
|
System.Boolean |
y |
|
System.Boolean |
z |
|
Returns
bool3(Boolean, bool2)
Returns a bool3 vector constructed from a bool value and a bool2 vector.
Declaration
public static bool3 bool3(bool x, bool2 yz)
Parameters
Type |
Name |
Description |
System.Boolean |
x |
|
bool2 |
yz |
|
Returns
bool3(bool2, Boolean)
Returns a bool3 vector constructed from a bool2 vector and a bool value.
Declaration
public static bool3 bool3(bool2 xy, bool z)
Parameters
Type |
Name |
Description |
bool2 |
xy |
|
System.Boolean |
z |
|
Returns
bool3(bool3)
Returns a bool3 vector constructed from a bool3 vector.
Declaration
public static bool3 bool3(bool3 xyz)
Parameters
Type |
Name |
Description |
bool3 |
xyz |
|
Returns
bool3x2(Boolean)
Returns a bool3x2 matrix constructed from a single bool value by assigning it to every component.
Declaration
public static bool3x2 bool3x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
bool3x2(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Returns a bool3x2 matrix constructed from from 6 bool values given in row-major order.
Declaration
public static bool3x2 bool3x2(bool m00, bool m01, bool m10, bool m11, bool m20, bool m21)
Parameters
Type |
Name |
Description |
System.Boolean |
m00 |
|
System.Boolean |
m01 |
|
System.Boolean |
m10 |
|
System.Boolean |
m11 |
|
System.Boolean |
m20 |
|
System.Boolean |
m21 |
|
Returns
bool3x2(bool3, bool3)
Returns a bool3x2 matrix constructed from two bool3 vectors.
Declaration
public static bool3x2 bool3x2(bool3 c0, bool3 c1)
Parameters
Returns
bool3x3(Boolean)
Returns a bool3x3 matrix constructed from a single bool value by assigning it to every component.
Declaration
public static bool3x3 bool3x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
bool3x3(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Returns a bool3x3 matrix constructed from from 9 bool values given in row-major order.
Declaration
public static bool3x3 bool3x3(bool m00, bool m01, bool m02, bool m10, bool m11, bool m12, bool m20, bool m21, bool m22)
Parameters
Type |
Name |
Description |
System.Boolean |
m00 |
|
System.Boolean |
m01 |
|
System.Boolean |
m02 |
|
System.Boolean |
m10 |
|
System.Boolean |
m11 |
|
System.Boolean |
m12 |
|
System.Boolean |
m20 |
|
System.Boolean |
m21 |
|
System.Boolean |
m22 |
|
Returns
bool3x3(bool3, bool3, bool3)
Returns a bool3x3 matrix constructed from three bool3 vectors.
Declaration
public static bool3x3 bool3x3(bool3 c0, bool3 c1, bool3 c2)
Parameters
Returns
bool3x4(Boolean)
Returns a bool3x4 matrix constructed from a single bool value by assigning it to every component.
Declaration
public static bool3x4 bool3x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
bool3x4(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Returns a bool3x4 matrix constructed from from 12 bool values given in row-major order.
Declaration
public static bool3x4 bool3x4(bool m00, bool m01, bool m02, bool m03, bool m10, bool m11, bool m12, bool m13, bool m20, bool m21, bool m22, bool m23)
Parameters
Type |
Name |
Description |
System.Boolean |
m00 |
|
System.Boolean |
m01 |
|
System.Boolean |
m02 |
|
System.Boolean |
m03 |
|
System.Boolean |
m10 |
|
System.Boolean |
m11 |
|
System.Boolean |
m12 |
|
System.Boolean |
m13 |
|
System.Boolean |
m20 |
|
System.Boolean |
m21 |
|
System.Boolean |
m22 |
|
System.Boolean |
m23 |
|
Returns
bool3x4(bool3, bool3, bool3, bool3)
Returns a bool3x4 matrix constructed from four bool3 vectors.
Declaration
public static bool3x4 bool3x4(bool3 c0, bool3 c1, bool3 c2, bool3 c3)
Parameters
Returns
bool4(Boolean)
Returns a bool4 vector constructed from a single bool value by assigning it to every component.
Declaration
public static bool4 bool4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
bool4(Boolean, Boolean, Boolean, Boolean)
Returns a bool4 vector constructed from four bool values.
Declaration
public static bool4 bool4(bool x, bool y, bool z, bool w)
Parameters
Type |
Name |
Description |
System.Boolean |
x |
|
System.Boolean |
y |
|
System.Boolean |
z |
|
System.Boolean |
w |
|
Returns
bool4(Boolean, Boolean, bool2)
Returns a bool4 vector constructed from two bool values and a bool2 vector.
Declaration
public static bool4 bool4(bool x, bool y, bool2 zw)
Parameters
Type |
Name |
Description |
System.Boolean |
x |
|
System.Boolean |
y |
|
bool2 |
zw |
|
Returns
bool4(Boolean, bool2, Boolean)
Returns a bool4 vector constructed from a bool value, a bool2 vector and a bool value.
Declaration
public static bool4 bool4(bool x, bool2 yz, bool w)
Parameters
Type |
Name |
Description |
System.Boolean |
x |
|
bool2 |
yz |
|
System.Boolean |
w |
|
Returns
bool4(Boolean, bool3)
Returns a bool4 vector constructed from a bool value and a bool3 vector.
Declaration
public static bool4 bool4(bool x, bool3 yzw)
Parameters
Type |
Name |
Description |
System.Boolean |
x |
|
bool3 |
yzw |
|
Returns
bool4(bool2, Boolean, Boolean)
Returns a bool4 vector constructed from a bool2 vector and two bool values.
Declaration
public static bool4 bool4(bool2 xy, bool z, bool w)
Parameters
Type |
Name |
Description |
bool2 |
xy |
|
System.Boolean |
z |
|
System.Boolean |
w |
|
Returns
bool4(bool2, bool2)
Returns a bool4 vector constructed from two bool2 vectors.
Declaration
public static bool4 bool4(bool2 xy, bool2 zw)
Parameters
Returns
bool4(bool3, Boolean)
Returns a bool4 vector constructed from a bool3 vector and a bool value.
Declaration
public static bool4 bool4(bool3 xyz, bool w)
Parameters
Type |
Name |
Description |
bool3 |
xyz |
|
System.Boolean |
w |
|
Returns
bool4(bool4)
Returns a bool4 vector constructed from a bool4 vector.
Declaration
public static bool4 bool4(bool4 xyzw)
Parameters
Type |
Name |
Description |
bool4 |
xyzw |
|
Returns
bool4x2(Boolean)
Returns a bool4x2 matrix constructed from a single bool value by assigning it to every component.
Declaration
public static bool4x2 bool4x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
bool4x2(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Returns a bool4x2 matrix constructed from from 8 bool values given in row-major order.
Declaration
public static bool4x2 bool4x2(bool m00, bool m01, bool m10, bool m11, bool m20, bool m21, bool m30, bool m31)
Parameters
Type |
Name |
Description |
System.Boolean |
m00 |
|
System.Boolean |
m01 |
|
System.Boolean |
m10 |
|
System.Boolean |
m11 |
|
System.Boolean |
m20 |
|
System.Boolean |
m21 |
|
System.Boolean |
m30 |
|
System.Boolean |
m31 |
|
Returns
bool4x2(bool4, bool4)
Returns a bool4x2 matrix constructed from two bool4 vectors.
Declaration
public static bool4x2 bool4x2(bool4 c0, bool4 c1)
Parameters
Returns
bool4x3(Boolean)
Returns a bool4x3 matrix constructed from a single bool value by assigning it to every component.
Declaration
public static bool4x3 bool4x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
bool4x3(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Returns a bool4x3 matrix constructed from from 12 bool values given in row-major order.
Declaration
public static bool4x3 bool4x3(bool m00, bool m01, bool m02, bool m10, bool m11, bool m12, bool m20, bool m21, bool m22, bool m30, bool m31, bool m32)
Parameters
Type |
Name |
Description |
System.Boolean |
m00 |
|
System.Boolean |
m01 |
|
System.Boolean |
m02 |
|
System.Boolean |
m10 |
|
System.Boolean |
m11 |
|
System.Boolean |
m12 |
|
System.Boolean |
m20 |
|
System.Boolean |
m21 |
|
System.Boolean |
m22 |
|
System.Boolean |
m30 |
|
System.Boolean |
m31 |
|
System.Boolean |
m32 |
|
Returns
bool4x3(bool4, bool4, bool4)
Returns a bool4x3 matrix constructed from three bool4 vectors.
Declaration
public static bool4x3 bool4x3(bool4 c0, bool4 c1, bool4 c2)
Parameters
Returns
bool4x4(Boolean)
Returns a bool4x4 matrix constructed from a single bool value by assigning it to every component.
Declaration
public static bool4x4 bool4x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
bool4x4(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Returns a bool4x4 matrix constructed from from 16 bool values given in row-major order.
Declaration
public static bool4x4 bool4x4(bool m00, bool m01, bool m02, bool m03, bool m10, bool m11, bool m12, bool m13, bool m20, bool m21, bool m22, bool m23, bool m30, bool m31, bool m32, bool m33)
Parameters
Type |
Name |
Description |
System.Boolean |
m00 |
|
System.Boolean |
m01 |
|
System.Boolean |
m02 |
|
System.Boolean |
m03 |
|
System.Boolean |
m10 |
|
System.Boolean |
m11 |
|
System.Boolean |
m12 |
|
System.Boolean |
m13 |
|
System.Boolean |
m20 |
|
System.Boolean |
m21 |
|
System.Boolean |
m22 |
|
System.Boolean |
m23 |
|
System.Boolean |
m30 |
|
System.Boolean |
m31 |
|
System.Boolean |
m32 |
|
System.Boolean |
m33 |
|
Returns
bool4x4(bool4, bool4, bool4, bool4)
Returns a bool4x4 matrix constructed from four bool4 vectors.
Declaration
public static bool4x4 bool4x4(bool4 c0, bool4 c1, bool4 c2, bool4 c3)
Parameters
Returns
ceil(Double)
Returns the result of rounding a double value up to the nearest greater integral value greater or equal to the original value.
Declaration
public static double ceil(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
ceil(Single)
Returns the result of rounding a float value up to the nearest integral value greater or equal to the original value.
Declaration
public static float ceil(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
ceil(double2)
Returns the result of rounding each component of a double2 vector value up to the nearest integral value greater or equal to the original value.
Declaration
public static double2 ceil(double2 x)
Parameters
Returns
ceil(double3)
Returns the result of rounding each component of a double3 vector value up to the nearest integral value greater or equal to the original value..
Declaration
public static double3 ceil(double3 x)
Parameters
Returns
ceil(double4)
Returns the result of rounding each component of a double4 vector value up to the nearest integral value greater or equal to the original value.
Declaration
public static double4 ceil(double4 x)
Parameters
Returns
ceil(float2)
Returns the result of rounding each component of a float2 vector value up to the nearest value greater or equal to the original value.
Declaration
public static float2 ceil(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
ceil(float3)
Returns the result of rounding each component of a float3 vector value up to the nearest value greater or equal to the original value.
Declaration
public static float3 ceil(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
ceil(float4)
Returns the result of rounding each component of a float4 vector value up to the nearest value greater or equal to the original value.
Declaration
public static float4 ceil(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
ceilpow2(Int32)
Returns the smallest power of two greater than or equal to the input.
Declaration
public static int ceilpow2(int x)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
ceilpow2(Int64)
Returns the smallest power of two greater than or equal to the input.
Declaration
public static long ceilpow2(long x)
Parameters
Type |
Name |
Description |
System.Int64 |
x |
|
Returns
Type |
Description |
System.Int64 |
|
ceilpow2(UInt32)
Returns the smallest power of two greater than or equal to the input.
Declaration
public static uint ceilpow2(uint x)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
Returns
Type |
Description |
System.UInt32 |
|
ceilpow2(UInt64)
Returns the smallest power of two greater than or equal to the input.
Declaration
public static ulong ceilpow2(ulong x)
Parameters
Type |
Name |
Description |
System.UInt64 |
x |
|
Returns
Type |
Description |
System.UInt64 |
|
ceilpow2(int2)
Returns the result of a componentwise calculation of the smallest power of two greater than or equal to the input.
Declaration
public static int2 ceilpow2(int2 x)
Parameters
Type |
Name |
Description |
int2 |
x |
|
Returns
ceilpow2(int3)
Returns the result of a componentwise calculation of the smallest power of two greater than or equal to the input.
Declaration
public static int3 ceilpow2(int3 x)
Parameters
Type |
Name |
Description |
int3 |
x |
|
Returns
ceilpow2(int4)
Returns the result of a componentwise calculation of the smallest power of two greater than or equal to the input.
Declaration
public static int4 ceilpow2(int4 x)
Parameters
Type |
Name |
Description |
int4 |
x |
|
Returns
ceilpow2(uint2)
Returns the result of a componentwise calculation of the smallest power of two greater than or equal to the input.
Declaration
public static uint2 ceilpow2(uint2 x)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
Returns
ceilpow2(uint3)
Returns the result of a componentwise calculation of the smallest power of two greater than or equal to the input.
Declaration
public static uint3 ceilpow2(uint3 x)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
Returns
ceilpow2(uint4)
Returns the result of a componentwise calculation of the smallest power of two greater than or equal to the input.
Declaration
public static uint4 ceilpow2(uint4 x)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
Returns
clamp(Double, Double, Double)
Returns the result of clamping the value x into the interval [a, b], where x, a and b are double values.
Declaration
public static double clamp(double x, double a, double b)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
a |
|
System.Double |
b |
|
Returns
Type |
Description |
System.Double |
|
clamp(Int32, Int32, Int32)
Returns the result of clamping the value x into the interval [a, b], where x, a and b are int values.
Declaration
public static int clamp(int x, int a, int b)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
a |
|
System.Int32 |
b |
|
Returns
Type |
Description |
System.Int32 |
|
clamp(Int64, Int64, Int64)
Returns the result of clamping the value x into the interval [a, b], where x, a and b are long values.
Declaration
public static long clamp(long x, long a, long b)
Parameters
Type |
Name |
Description |
System.Int64 |
x |
|
System.Int64 |
a |
|
System.Int64 |
b |
|
Returns
Type |
Description |
System.Int64 |
|
clamp(Single, Single, Single)
Returns the result of clamping the value x into the interval [a, b], where x, a and b are float values.
Declaration
public static float clamp(float x, float a, float b)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
a |
|
System.Single |
b |
|
Returns
Type |
Description |
System.Single |
|
clamp(UInt32, UInt32, UInt32)
Returns the result of clamping the value x into the interval [a, b], where x, a and b are uint values.
Declaration
public static uint clamp(uint x, uint a, uint b)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
System.UInt32 |
a |
|
System.UInt32 |
b |
|
Returns
Type |
Description |
System.UInt32 |
|
clamp(UInt64, UInt64, UInt64)
Returns the result of clamping the value x into the interval [a, b], where x, a and b are ulong values.
Declaration
public static ulong clamp(ulong x, ulong a, ulong b)
Parameters
Type |
Name |
Description |
System.UInt64 |
x |
|
System.UInt64 |
a |
|
System.UInt64 |
b |
|
Returns
Type |
Description |
System.UInt64 |
|
clamp(double2, double2, double2)
Returns the result of a componentwise clamping of the value x into the interval [a, b], where x, a and b are double2 vectors.
Declaration
public static double2 clamp(double2 x, double2 a, double2 b)
Parameters
Returns
clamp(double3, double3, double3)
Returns the result of a componentwise clamping of the value x into the interval [a, b], where x, a and b are double3 vectors.
Declaration
public static double3 clamp(double3 x, double3 a, double3 b)
Parameters
Returns
clamp(double4, double4, double4)
Returns the result of a componentwise clamping of the value x into the interval [a, b], where x, a and b are double4 vectors.
Declaration
public static double4 clamp(double4 x, double4 a, double4 b)
Parameters
Returns
clamp(float2, float2, float2)
Returns the result of a componentwise clamping of the value x into the interval [a, b], where x, a and b are float2 vectors.
Declaration
public static float2 clamp(float2 x, float2 a, float2 b)
Parameters
Returns
clamp(float3, float3, float3)
Returns the result of a componentwise clamping of the value x into the interval [a, b], where x, a and b are float3 vectors.
Declaration
public static float3 clamp(float3 x, float3 a, float3 b)
Parameters
Returns
clamp(float4, float4, float4)
Returns the result of a componentwise clamping of the value x into the interval [a, b], where x, a and b are float4 vectors.
Declaration
public static float4 clamp(float4 x, float4 a, float4 b)
Parameters
Returns
clamp(int2, int2, int2)
Returns the result of a componentwise clamping of the int2 x into the interval [a, b], where a and b are int2 vectors.
Declaration
public static int2 clamp(int2 x, int2 a, int2 b)
Parameters
Returns
clamp(int3, int3, int3)
Returns the result of a componentwise clamping of the int3 x into the interval [a, b], where x, a and b are int3 vectors.
Declaration
public static int3 clamp(int3 x, int3 a, int3 b)
Parameters
Returns
clamp(int4, int4, int4)
Returns the result of a componentwise clamping of the value x into the interval [a, b], where x, a and b are int4 vectors.
Declaration
public static int4 clamp(int4 x, int4 a, int4 b)
Parameters
Returns
clamp(uint2, uint2, uint2)
Returns the result of a componentwise clamping of the value x into the interval [a, b], where x, a and b are uint2 vectors.
Declaration
public static uint2 clamp(uint2 x, uint2 a, uint2 b)
Parameters
Returns
clamp(uint3, uint3, uint3)
Returns the result of a componentwise clamping of the value x into the interval [a, b], where x, a and b are uint3 vectors.
Declaration
public static uint3 clamp(uint3 x, uint3 a, uint3 b)
Parameters
Returns
clamp(uint4, uint4, uint4)
Returns the result of a componentwise clamping of the value x into the interval [a, b], where x, a and b are uint4 vectors.
Declaration
public static uint4 clamp(uint4 x, uint4 a, uint4 b)
Parameters
Returns
cmax(double2)
Returns the maximum component of a double2 vector.
Declaration
public static double cmax(double2 x)
Parameters
Returns
Type |
Description |
System.Double |
|
cmax(double3)
Returns the maximum component of a double3 vector.
Declaration
public static double cmax(double3 x)
Parameters
Returns
Type |
Description |
System.Double |
|
cmax(double4)
Returns the maximum component of a double4 vector.
Declaration
public static double cmax(double4 x)
Parameters
Returns
Type |
Description |
System.Double |
|
cmax(float2)
Returns the maximum component of a float2 vector.
Declaration
public static float cmax(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
Type |
Description |
System.Single |
|
cmax(float3)
Returns the maximum component of a float3 vector.
Declaration
public static float cmax(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
Type |
Description |
System.Single |
|
cmax(float4)
Returns the maximum component of a float4 vector.
Declaration
public static float cmax(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
Type |
Description |
System.Single |
|
cmax(int2)
Returns the maximum component of an int2 vector.
Declaration
public static int cmax(int2 x)
Parameters
Type |
Name |
Description |
int2 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
cmax(int3)
Returns the maximum component of an int3 vector.
Declaration
public static int cmax(int3 x)
Parameters
Type |
Name |
Description |
int3 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
cmax(int4)
Returns the maximum component of an int4 vector.
Declaration
public static int cmax(int4 x)
Parameters
Type |
Name |
Description |
int4 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
cmax(uint2)
Returns the maximum component of a uint2 vector.
Declaration
public static uint cmax(uint2 x)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
Returns
Type |
Description |
System.UInt32 |
|
cmax(uint3)
Returns the maximum component of a uint3 vector.
Declaration
public static uint cmax(uint3 x)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
Returns
Type |
Description |
System.UInt32 |
|
cmax(uint4)
Returns the maximum component of a uint4 vector.
Declaration
public static uint cmax(uint4 x)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
Returns
Type |
Description |
System.UInt32 |
|
cmin(double2)
Returns the minimum component of a float2 vector.
Declaration
public static double cmin(double2 x)
Parameters
Returns
Type |
Description |
System.Double |
|
cmin(double3)
Returns the minimum component of a float3 vector.
Declaration
public static double cmin(double3 x)
Parameters
Returns
Type |
Description |
System.Double |
|
cmin(double4)
Returns the maximum component of a float3 vector.
Declaration
public static double cmin(double4 x)
Parameters
Returns
Type |
Description |
System.Double |
|
cmin(float2)
Returns the minimum component of a float2 vector.
Declaration
public static float cmin(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
Type |
Description |
System.Single |
|
cmin(float3)
Returns the minimum component of a float3 vector.
Declaration
public static float cmin(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
Type |
Description |
System.Single |
|
cmin(float4)
Returns the maximum component of a float3 vector.
Declaration
public static float cmin(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
Type |
Description |
System.Single |
|
cmin(int2)
Returns the minimum component of an int2 vector.
Declaration
public static int cmin(int2 x)
Parameters
Type |
Name |
Description |
int2 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
cmin(int3)
Returns the minimum component of an int3 vector.
Declaration
public static int cmin(int3 x)
Parameters
Type |
Name |
Description |
int3 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
cmin(int4)
Returns the minimum component of an int4 vector.
Declaration
public static int cmin(int4 x)
Parameters
Type |
Name |
Description |
int4 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
cmin(uint2)
Returns the minimum component of a uint2 vector.
Declaration
public static uint cmin(uint2 x)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
Returns
Type |
Description |
System.UInt32 |
|
cmin(uint3)
Returns the minimum component of a uint3 vector.
Declaration
public static uint cmin(uint3 x)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
Returns
Type |
Description |
System.UInt32 |
|
cmin(uint4)
Returns the minimum component of a uint4 vector.
Declaration
public static uint cmin(uint4 x)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
Returns
Type |
Description |
System.UInt32 |
|
compress(Int32*, Int32, int4, bool4)
Packs components with an enabled mask (LSB) to the left
The value of components after the last packed component are undefined.
Returns the number of enabled mask bits. (0 ... 4)
Declaration
public static int compress(int *output, int index, int4 val, bool4 mask)
Parameters
Type |
Name |
Description |
System.Int32* |
output |
|
System.Int32 |
index |
|
int4 |
val |
|
bool4 |
mask |
|
Returns
Type |
Description |
System.Int32 |
|
conjugate(quaternion)
Returns the conjugate of a quaternion value.
Declaration
public static quaternion conjugate(quaternion q)
Parameters
Returns
cos(Double)
Returns the cosine of a double value.
Declaration
public static double cos(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
cos(Single)
Returns the cosine of a float value.
Declaration
public static float cos(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
cos(double2)
Returns the componentwise cosine of a double2 vector.
Declaration
public static double2 cos(double2 x)
Parameters
Returns
cos(double3)
Returns the componentwise cosine of a double3 vector.
Declaration
public static double3 cos(double3 x)
Parameters
Returns
cos(double4)
Returns the componentwise cosine of a double4 vector.
Declaration
public static double4 cos(double4 x)
Parameters
Returns
cos(float2)
Returns the componentwise cosine of a float2 vector.
Declaration
public static float2 cos(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
cos(float3)
Returns the componentwise cosine of a float3 vector.
Declaration
public static float3 cos(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
cos(float4)
Returns the componentwise cosine of a float4 vector.
Declaration
public static float4 cos(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
cosh(Double)
Returns the hyperbolic cosine of a double value.
Declaration
public static double cosh(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
cosh(Single)
Returns the hyperbolic cosine of a float value.
Declaration
public static float cosh(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
cosh(double2)
Returns the componentwise hyperbolic cosine of a double2 vector.
Declaration
public static double2 cosh(double2 x)
Parameters
Returns
cosh(double3)
Returns the componentwise hyperbolic cosine of a double3 vector.
Declaration
public static double3 cosh(double3 x)
Parameters
Returns
cosh(double4)
Returns the componentwise hyperbolic cosine of a double4 vector.
Declaration
public static double4 cosh(double4 x)
Parameters
Returns
cosh(float2)
Returns the componentwise hyperbolic cosine of a float2 vector.
Declaration
public static float2 cosh(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
cosh(float3)
Returns the componentwise hyperbolic cosine of a float3 vector.
Declaration
public static float3 cosh(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
cosh(float4)
Returns the componentwise hyperbolic cosine of a float4 vector.
Declaration
public static float4 cosh(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
countbits(Int32)
Returns number of 1-bits in the binary representations of an int value.
Declaration
public static int countbits(int x)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
countbits(Int64)
Returns number of 1-bits in the binary representations of a long value.
Declaration
public static int countbits(long x)
Parameters
Type |
Name |
Description |
System.Int64 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
countbits(UInt32)
Returns number of 1-bits in the binary representations of a uint value.
Declaration
public static int countbits(uint x)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
countbits(UInt64)
Returns number of 1-bits in the binary representations of a ulong value.
Declaration
public static int countbits(ulong x)
Parameters
Type |
Name |
Description |
System.UInt64 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
countbits(int2)
Returns componentwise number of 1-bits in the binary representations of an int2 vector.
Declaration
public static int2 countbits(int2 x)
Parameters
Type |
Name |
Description |
int2 |
x |
|
Returns
countbits(int3)
Returns componentwise number of 1-bits in the binary representations of an int3 vector.
Declaration
public static int3 countbits(int3 x)
Parameters
Type |
Name |
Description |
int3 |
x |
|
Returns
countbits(int4)
Returns componentwise number of 1-bits in the binary representations of an int4 vector.
Declaration
public static int4 countbits(int4 x)
Parameters
Type |
Name |
Description |
int4 |
x |
|
Returns
countbits(uint2)
Returns componentwise number of 1-bits in the binary representations of a uint2 vector.
Declaration
public static int2 countbits(uint2 x)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
Returns
countbits(uint3)
Returns componentwise number of 1-bits in the binary representations of a uint3 vector.
Declaration
public static int3 countbits(uint3 x)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
Returns
countbits(uint4)
Returns componentwise number of 1-bits in the binary representations of a uint4 vector.
Declaration
public static int4 countbits(uint4 x)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
Returns
cross(double3, double3)
Returns the cross product of two double3 vectors.
Declaration
public static double3 cross(double3 x, double3 y)
Parameters
Returns
cross(float3, float3)
Returns the cross product of two float3 vectors.
Declaration
public static float3 cross(float3 x, float3 y)
Parameters
Returns
csum(double2)
Returns the horizontal sum of components of a double2 vector.
Declaration
public static double csum(double2 x)
Parameters
Returns
Type |
Description |
System.Double |
|
csum(double3)
Returns the horizontal sum of components of a double3 vector.
Declaration
public static double csum(double3 x)
Parameters
Returns
Type |
Description |
System.Double |
|
csum(double4)
Returns the horizontal sum of components of a double4 vector.
Declaration
public static double csum(double4 x)
Parameters
Returns
Type |
Description |
System.Double |
|
csum(float2)
Returns the horizontal sum of components of a float2 vector.
Declaration
public static float csum(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
Type |
Description |
System.Single |
|
csum(float3)
Returns the horizontal sum of components of a float3 vector.
Declaration
public static float csum(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
Type |
Description |
System.Single |
|
csum(float4)
Returns the horizontal sum of components of a float4 vector.
Declaration
public static float csum(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
Type |
Description |
System.Single |
|
csum(int2)
Returns the horizontal sum of components of an int2 vector.
Declaration
public static int csum(int2 x)
Parameters
Type |
Name |
Description |
int2 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
csum(int3)
Returns the horizontal sum of components of an int3 vector.
Declaration
public static int csum(int3 x)
Parameters
Type |
Name |
Description |
int3 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
csum(int4)
Returns the horizontal sum of components of an int4 vector.
Declaration
public static int csum(int4 x)
Parameters
Type |
Name |
Description |
int4 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
csum(uint2)
Returns the horizontal sum of components of a uint2 vector.
Declaration
public static uint csum(uint2 x)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
Returns
Type |
Description |
System.UInt32 |
|
csum(uint3)
Returns the horizontal sum of components of a uint3 vector.
Declaration
public static uint csum(uint3 x)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
Returns
Type |
Description |
System.UInt32 |
|
csum(uint4)
Returns the horizontal sum of components of a uint4 vector.
Declaration
public static uint csum(uint4 x)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
Returns
Type |
Description |
System.UInt32 |
|
degrees(Double)
Returns the result of converting a double value from radians to degrees.
Declaration
public static double degrees(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
degrees(Single)
Returns the result of converting a double value from radians to degrees.
Declaration
public static float degrees(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
degrees(double2)
Returns the result of a componentwise conversion of a double2 vector from radians to degrees.
Declaration
public static double2 degrees(double2 x)
Parameters
Returns
degrees(double3)
Returns the result of a componentwise conversion of a double3 vector from radians to degrees.
Declaration
public static double3 degrees(double3 x)
Parameters
Returns
degrees(double4)
Returns the result of a componentwise conversion of a double4 vector from radians to degrees.
Declaration
public static double4 degrees(double4 x)
Parameters
Returns
degrees(float2)
Returns the result of a componentwise conversion of a double2 vector from radians to degrees.
Declaration
public static float2 degrees(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
degrees(float3)
Returns the result of a componentwise conversion of a double3 vector from radians to degrees.
Declaration
public static float3 degrees(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
degrees(float4)
Returns the result of a componentwise conversion of a double4 vector from radians to degrees.
Declaration
public static float4 degrees(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
determinant(double2x2)
Returns the determinant of a double2x2 matrix.
Declaration
public static double determinant(double2x2 m)
Parameters
Returns
Type |
Description |
System.Double |
|
determinant(double3x3)
Returns the determinant of a double3x3 matrix.
Declaration
public static double determinant(double3x3 m)
Parameters
Returns
Type |
Description |
System.Double |
|
determinant(double4x4)
Returns the determinant of a double4x4 matrix.
Declaration
public static double determinant(double4x4 m)
Parameters
Returns
Type |
Description |
System.Double |
|
determinant(float2x2)
Returns the determinant of a float2x2 matrix.
Declaration
public static float determinant(float2x2 m)
Parameters
Returns
Type |
Description |
System.Single |
|
determinant(float3x3)
Returns the determinant of a float3x3 matrix.
Declaration
public static float determinant(float3x3 m)
Parameters
Returns
Type |
Description |
System.Single |
|
determinant(float4x4)
Returns the determinant of a float4x4 matrix.
Declaration
public static float determinant(float4x4 m)
Parameters
Returns
Type |
Description |
System.Single |
|
determinant(int2x2)
Returns the determinant of a int2x2 matrix.
Declaration
public static int determinant(int2x2 m)
Parameters
Type |
Name |
Description |
int2x2 |
m |
|
Returns
Type |
Description |
System.Int32 |
|
determinant(int3x3)
Returns the determinant of a int3x3 matrix.
Declaration
public static int determinant(int3x3 m)
Parameters
Type |
Name |
Description |
int3x3 |
m |
|
Returns
Type |
Description |
System.Int32 |
|
determinant(int4x4)
Returns the determinant of a int4x4 matrix.
Declaration
public static int determinant(int4x4 m)
Parameters
Type |
Name |
Description |
int4x4 |
m |
|
Returns
Type |
Description |
System.Int32 |
|
distance(Double, Double)
Returns the distance between two double values.
Declaration
public static double distance(double x, double y)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
Returns
Type |
Description |
System.Double |
|
distance(Single, Single)
Returns the distance between two float values.
Declaration
public static float distance(float x, float y)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
Returns
Type |
Description |
System.Single |
|
distance(double2, double2)
Returns the distance between two double2 vectors.
Declaration
public static double distance(double2 x, double2 y)
Parameters
Returns
Type |
Description |
System.Double |
|
distance(double3, double3)
Returns the distance between two double3 vectors.
Declaration
public static double distance(double3 x, double3 y)
Parameters
Returns
Type |
Description |
System.Double |
|
distance(double4, double4)
Returns the distance between two double4 vectors.
Declaration
public static double distance(double4 x, double4 y)
Parameters
Returns
Type |
Description |
System.Double |
|
distance(float2, float2)
Returns the distance between two float2 vectors.
Declaration
public static float distance(float2 x, float2 y)
Parameters
Returns
Type |
Description |
System.Single |
|
distance(float3, float3)
Returns the distance between two float3 vectors.
Declaration
public static float distance(float3 x, float3 y)
Parameters
Returns
Type |
Description |
System.Single |
|
distance(float4, float4)
Returns the distance between two float4 vectors.
Declaration
public static float distance(float4 x, float4 y)
Parameters
Returns
Type |
Description |
System.Single |
|
distancesq(Double, Double)
Returns the distance between two double values.
Declaration
public static double distancesq(double x, double y)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
Returns
Type |
Description |
System.Double |
|
distancesq(Single, Single)
Returns the distance between two float values.
Declaration
public static float distancesq(float x, float y)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
Returns
Type |
Description |
System.Single |
|
distancesq(double2, double2)
Returns the distance between two double2 vectors.
Declaration
public static double distancesq(double2 x, double2 y)
Parameters
Returns
Type |
Description |
System.Double |
|
distancesq(double3, double3)
Returns the distance between two double3 vectors.
Declaration
public static double distancesq(double3 x, double3 y)
Parameters
Returns
Type |
Description |
System.Double |
|
distancesq(double4, double4)
Returns the distance between two double4 vectors.
Declaration
public static double distancesq(double4 x, double4 y)
Parameters
Returns
Type |
Description |
System.Double |
|
distancesq(float2, float2)
Returns the distance between two float2 vectors.
Declaration
public static float distancesq(float2 x, float2 y)
Parameters
Returns
Type |
Description |
System.Single |
|
distancesq(float3, float3)
Returns the distance between two float3 vectors.
Declaration
public static float distancesq(float3 x, float3 y)
Parameters
Returns
Type |
Description |
System.Single |
|
distancesq(float4, float4)
Returns the distance between two float4 vectors.
Declaration
public static float distancesq(float4 x, float4 y)
Parameters
Returns
Type |
Description |
System.Single |
|
dot(Double, Double)
Returns the dot product of two double values. Equivalent to multiplication.
Declaration
public static double dot(double x, double y)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
Returns
Type |
Description |
System.Double |
|
dot(Int32, Int32)
Returns the dot product of two int values. Equivalent to multiplication.
Declaration
public static int dot(int x, int y)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
Returns
Type |
Description |
System.Int32 |
|
dot(Single, Single)
Returns the dot product of two float values. Equivalent to multiplication.
Declaration
public static float dot(float x, float y)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
Returns
Type |
Description |
System.Single |
|
dot(UInt32, UInt32)
Returns the dot product of two uint values. Equivalent to multiplication.
Declaration
public static uint dot(uint x, uint y)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
System.UInt32 |
y |
|
Returns
Type |
Description |
System.UInt32 |
|
dot(double2, double2)
Returns the dot product of two double2 vectors.
Declaration
public static double dot(double2 x, double2 y)
Parameters
Returns
Type |
Description |
System.Double |
|
dot(double3, double3)
Returns the dot product of two double3 vectors.
Declaration
public static double dot(double3 x, double3 y)
Parameters
Returns
Type |
Description |
System.Double |
|
dot(double4, double4)
Returns the dot product of two double4 vectors.
Declaration
public static double dot(double4 x, double4 y)
Parameters
Returns
Type |
Description |
System.Double |
|
dot(float2, float2)
Returns the dot product of two float2 vectors.
Declaration
public static float dot(float2 x, float2 y)
Parameters
Returns
Type |
Description |
System.Single |
|
dot(float3, float3)
Returns the dot product of two float3 vectors.
Declaration
public static float dot(float3 x, float3 y)
Parameters
Returns
Type |
Description |
System.Single |
|
dot(float4, float4)
Returns the dot product of two float4 vectors.
Declaration
public static float dot(float4 x, float4 y)
Parameters
Returns
Type |
Description |
System.Single |
|
dot(int2, int2)
Returns the dot product of two int2 vectors.
Declaration
public static int dot(int2 x, int2 y)
Parameters
Returns
Type |
Description |
System.Int32 |
|
dot(int3, int3)
Returns the dot product of two int3 vectors.
Declaration
public static int dot(int3 x, int3 y)
Parameters
Returns
Type |
Description |
System.Int32 |
|
dot(int4, int4)
Returns the dot product of two int4 vectors.
Declaration
public static int dot(int4 x, int4 y)
Parameters
Returns
Type |
Description |
System.Int32 |
|
dot(quaternion, quaternion)
Returns the dot product of two quaternions.
Declaration
public static float dot(quaternion a, quaternion b)
Parameters
Returns
Type |
Description |
System.Single |
|
dot(uint2, uint2)
Returns the dot product of two uint2 vectors.
Declaration
public static uint dot(uint2 x, uint2 y)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
dot(uint3, uint3)
Returns the dot product of two uint3 vectors.
Declaration
public static uint dot(uint3 x, uint3 y)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
dot(uint4, uint4)
Returns the dot product of two uint4 vectors.
Declaration
public static uint dot(uint4 x, uint4 y)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
double2(Boolean)
Returns a double2 vector constructed from a single bool value by converting it to double and assigning it to every component.
Declaration
public static double2 double2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
double2(Double)
Returns a double2 vector constructed from a single double value by assigning it to every component.
Declaration
public static double2 double2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
double2(Double, Double)
Returns a double2 vector constructed from two double values.
Declaration
public static double2 double2(double x, double y)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
Returns
double2(Int32)
Returns a double2 vector constructed from a single int value by converting it to double and assigning it to every component.
Declaration
public static double2 double2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
double2(Single)
Returns a double2 vector constructed from a single float value by converting it to double and assigning it to every component.
Declaration
public static double2 double2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
double2(UInt32)
Returns a double2 vector constructed from a single uint value by converting it to double and assigning it to every component.
Declaration
public static double2 double2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
double2(bool2)
Return a double2 vector constructed from a bool2 vector by componentwise conversion.
Declaration
public static double2 double2(bool2 v)
Parameters
Type |
Name |
Description |
bool2 |
v |
|
Returns
double2(double2)
Returns a double2 vector constructed from a double2 vector.
Declaration
public static double2 double2(double2 xy)
Parameters
Returns
double2(float2)
Return a double2 vector constructed from a float2 vector by componentwise conversion.
Declaration
public static double2 double2(float2 v)
Parameters
Type |
Name |
Description |
float2 |
v |
|
Returns
double2(half)
Returns a double2 vector constructed from a single half value by converting it to double and assigning it to every component.
Declaration
public static double2 double2(half v)
Parameters
Type |
Name |
Description |
half |
v |
|
Returns
double2(half2)
Return a double2 vector constructed from a half2 vector by componentwise conversion.
Declaration
public static double2 double2(half2 v)
Parameters
Type |
Name |
Description |
half2 |
v |
|
Returns
double2(int2)
Return a double2 vector constructed from a int2 vector by componentwise conversion.
Declaration
public static double2 double2(int2 v)
Parameters
Type |
Name |
Description |
int2 |
v |
|
Returns
double2(uint2)
Return a double2 vector constructed from a uint2 vector by componentwise conversion.
Declaration
public static double2 double2(uint2 v)
Parameters
Type |
Name |
Description |
uint2 |
v |
|
Returns
double2x2(Boolean)
Returns a double2x2 matrix constructed from a single bool value by converting it to double and assigning it to every component.
Declaration
public static double2x2 double2x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
double2x2(Double)
Returns a double2x2 matrix constructed from a single double value by assigning it to every component.
Declaration
public static double2x2 double2x2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
double2x2(Double, Double, Double, Double)
Returns a double2x2 matrix constructed from from 4 double values given in row-major order.
Declaration
public static double2x2 double2x2(double m00, double m01, double m10, double m11)
Parameters
Type |
Name |
Description |
System.Double |
m00 |
|
System.Double |
m01 |
|
System.Double |
m10 |
|
System.Double |
m11 |
|
Returns
double2x2(Int32)
Returns a double2x2 matrix constructed from a single int value by converting it to double and assigning it to every component.
Declaration
public static double2x2 double2x2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
double2x2(Single)
Returns a double2x2 matrix constructed from a single float value by converting it to double and assigning it to every component.
Declaration
public static double2x2 double2x2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
double2x2(UInt32)
Returns a double2x2 matrix constructed from a single uint value by converting it to double and assigning it to every component.
Declaration
public static double2x2 double2x2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
double2x2(bool2x2)
Return a double2x2 matrix constructed from a bool2x2 matrix by componentwise conversion.
Declaration
public static double2x2 double2x2(bool2x2 v)
Parameters
Returns
double2x2(double2, double2)
Returns a double2x2 matrix constructed from two double2 vectors.
Declaration
public static double2x2 double2x2(double2 c0, double2 c1)
Parameters
Returns
double2x2(float2x2)
Return a double2x2 matrix constructed from a float2x2 matrix by componentwise conversion.
Declaration
public static double2x2 double2x2(float2x2 v)
Parameters
Returns
double2x2(int2x2)
Return a double2x2 matrix constructed from a int2x2 matrix by componentwise conversion.
Declaration
public static double2x2 double2x2(int2x2 v)
Parameters
Type |
Name |
Description |
int2x2 |
v |
|
Returns
double2x2(uint2x2)
Return a double2x2 matrix constructed from a uint2x2 matrix by componentwise conversion.
Declaration
public static double2x2 double2x2(uint2x2 v)
Parameters
Returns
double2x3(Boolean)
Returns a double2x3 matrix constructed from a single bool value by converting it to double and assigning it to every component.
Declaration
public static double2x3 double2x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
double2x3(Double)
Returns a double2x3 matrix constructed from a single double value by assigning it to every component.
Declaration
public static double2x3 double2x3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
double2x3(Double, Double, Double, Double, Double, Double)
Returns a double2x3 matrix constructed from from 6 double values given in row-major order.
Declaration
public static double2x3 double2x3(double m00, double m01, double m02, double m10, double m11, double m12)
Parameters
Type |
Name |
Description |
System.Double |
m00 |
|
System.Double |
m01 |
|
System.Double |
m02 |
|
System.Double |
m10 |
|
System.Double |
m11 |
|
System.Double |
m12 |
|
Returns
double2x3(Int32)
Returns a double2x3 matrix constructed from a single int value by converting it to double and assigning it to every component.
Declaration
public static double2x3 double2x3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
double2x3(Single)
Returns a double2x3 matrix constructed from a single float value by converting it to double and assigning it to every component.
Declaration
public static double2x3 double2x3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
double2x3(UInt32)
Returns a double2x3 matrix constructed from a single uint value by converting it to double and assigning it to every component.
Declaration
public static double2x3 double2x3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
double2x3(bool2x3)
Return a double2x3 matrix constructed from a bool2x3 matrix by componentwise conversion.
Declaration
public static double2x3 double2x3(bool2x3 v)
Parameters
Returns
double2x3(double2, double2, double2)
Returns a double2x3 matrix constructed from three double2 vectors.
Declaration
public static double2x3 double2x3(double2 c0, double2 c1, double2 c2)
Parameters
Returns
double2x3(float2x3)
Return a double2x3 matrix constructed from a float2x3 matrix by componentwise conversion.
Declaration
public static double2x3 double2x3(float2x3 v)
Parameters
Returns
double2x3(int2x3)
Return a double2x3 matrix constructed from a int2x3 matrix by componentwise conversion.
Declaration
public static double2x3 double2x3(int2x3 v)
Parameters
Type |
Name |
Description |
int2x3 |
v |
|
Returns
double2x3(uint2x3)
Return a double2x3 matrix constructed from a uint2x3 matrix by componentwise conversion.
Declaration
public static double2x3 double2x3(uint2x3 v)
Parameters
Returns
double2x4(Boolean)
Returns a double2x4 matrix constructed from a single bool value by converting it to double and assigning it to every component.
Declaration
public static double2x4 double2x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
double2x4(Double)
Returns a double2x4 matrix constructed from a single double value by assigning it to every component.
Declaration
public static double2x4 double2x4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
double2x4(Double, Double, Double, Double, Double, Double, Double, Double)
Returns a double2x4 matrix constructed from from 8 double values given in row-major order.
Declaration
public static double2x4 double2x4(double m00, double m01, double m02, double m03, double m10, double m11, double m12, double m13)
Parameters
Type |
Name |
Description |
System.Double |
m00 |
|
System.Double |
m01 |
|
System.Double |
m02 |
|
System.Double |
m03 |
|
System.Double |
m10 |
|
System.Double |
m11 |
|
System.Double |
m12 |
|
System.Double |
m13 |
|
Returns
double2x4(Int32)
Returns a double2x4 matrix constructed from a single int value by converting it to double and assigning it to every component.
Declaration
public static double2x4 double2x4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
double2x4(Single)
Returns a double2x4 matrix constructed from a single float value by converting it to double and assigning it to every component.
Declaration
public static double2x4 double2x4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
double2x4(UInt32)
Returns a double2x4 matrix constructed from a single uint value by converting it to double and assigning it to every component.
Declaration
public static double2x4 double2x4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
double2x4(bool2x4)
Return a double2x4 matrix constructed from a bool2x4 matrix by componentwise conversion.
Declaration
public static double2x4 double2x4(bool2x4 v)
Parameters
Returns
double2x4(double2, double2, double2, double2)
Returns a double2x4 matrix constructed from four double2 vectors.
Declaration
public static double2x4 double2x4(double2 c0, double2 c1, double2 c2, double2 c3)
Parameters
Returns
double2x4(float2x4)
Return a double2x4 matrix constructed from a float2x4 matrix by componentwise conversion.
Declaration
public static double2x4 double2x4(float2x4 v)
Parameters
Returns
double2x4(int2x4)
Return a double2x4 matrix constructed from a int2x4 matrix by componentwise conversion.
Declaration
public static double2x4 double2x4(int2x4 v)
Parameters
Type |
Name |
Description |
int2x4 |
v |
|
Returns
double2x4(uint2x4)
Return a double2x4 matrix constructed from a uint2x4 matrix by componentwise conversion.
Declaration
public static double2x4 double2x4(uint2x4 v)
Parameters
Returns
double3(Boolean)
Returns a double3 vector constructed from a single bool value by converting it to double and assigning it to every component.
Declaration
public static double3 double3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
double3(Double)
Returns a double3 vector constructed from a single double value by assigning it to every component.
Declaration
public static double3 double3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
double3(Double, Double, Double)
Returns a double3 vector constructed from three double values.
Declaration
public static double3 double3(double x, double y, double z)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
System.Double |
z |
|
Returns
double3(Double, double2)
Returns a double3 vector constructed from a double value and a double2 vector.
Declaration
public static double3 double3(double x, double2 yz)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
double2 |
yz |
|
Returns
double3(Int32)
Returns a double3 vector constructed from a single int value by converting it to double and assigning it to every component.
Declaration
public static double3 double3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
double3(Single)
Returns a double3 vector constructed from a single float value by converting it to double and assigning it to every component.
Declaration
public static double3 double3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
double3(UInt32)
Returns a double3 vector constructed from a single uint value by converting it to double and assigning it to every component.
Declaration
public static double3 double3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
double3(bool3)
Return a double3 vector constructed from a bool3 vector by componentwise conversion.
Declaration
public static double3 double3(bool3 v)
Parameters
Type |
Name |
Description |
bool3 |
v |
|
Returns
double3(double2, Double)
Returns a double3 vector constructed from a double2 vector and a double value.
Declaration
public static double3 double3(double2 xy, double z)
Parameters
Type |
Name |
Description |
double2 |
xy |
|
System.Double |
z |
|
Returns
double3(double3)
Returns a double3 vector constructed from a double3 vector.
Declaration
public static double3 double3(double3 xyz)
Parameters
Returns
double3(float3)
Return a double3 vector constructed from a float3 vector by componentwise conversion.
Declaration
public static double3 double3(float3 v)
Parameters
Type |
Name |
Description |
float3 |
v |
|
Returns
double3(half)
Returns a double3 vector constructed from a single half value by converting it to double and assigning it to every component.
Declaration
public static double3 double3(half v)
Parameters
Type |
Name |
Description |
half |
v |
|
Returns
double3(half3)
Return a double3 vector constructed from a half3 vector by componentwise conversion.
Declaration
public static double3 double3(half3 v)
Parameters
Type |
Name |
Description |
half3 |
v |
|
Returns
double3(int3)
Return a double3 vector constructed from a int3 vector by componentwise conversion.
Declaration
public static double3 double3(int3 v)
Parameters
Type |
Name |
Description |
int3 |
v |
|
Returns
double3(uint3)
Return a double3 vector constructed from a uint3 vector by componentwise conversion.
Declaration
public static double3 double3(uint3 v)
Parameters
Type |
Name |
Description |
uint3 |
v |
|
Returns
double3x2(Boolean)
Returns a double3x2 matrix constructed from a single bool value by converting it to double and assigning it to every component.
Declaration
public static double3x2 double3x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
double3x2(Double)
Returns a double3x2 matrix constructed from a single double value by assigning it to every component.
Declaration
public static double3x2 double3x2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
double3x2(Double, Double, Double, Double, Double, Double)
Returns a double3x2 matrix constructed from from 6 double values given in row-major order.
Declaration
public static double3x2 double3x2(double m00, double m01, double m10, double m11, double m20, double m21)
Parameters
Type |
Name |
Description |
System.Double |
m00 |
|
System.Double |
m01 |
|
System.Double |
m10 |
|
System.Double |
m11 |
|
System.Double |
m20 |
|
System.Double |
m21 |
|
Returns
double3x2(Int32)
Returns a double3x2 matrix constructed from a single int value by converting it to double and assigning it to every component.
Declaration
public static double3x2 double3x2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
double3x2(Single)
Returns a double3x2 matrix constructed from a single float value by converting it to double and assigning it to every component.
Declaration
public static double3x2 double3x2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
double3x2(UInt32)
Returns a double3x2 matrix constructed from a single uint value by converting it to double and assigning it to every component.
Declaration
public static double3x2 double3x2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
double3x2(bool3x2)
Return a double3x2 matrix constructed from a bool3x2 matrix by componentwise conversion.
Declaration
public static double3x2 double3x2(bool3x2 v)
Parameters
Returns
double3x2(double3, double3)
Returns a double3x2 matrix constructed from two double3 vectors.
Declaration
public static double3x2 double3x2(double3 c0, double3 c1)
Parameters
Returns
double3x2(float3x2)
Return a double3x2 matrix constructed from a float3x2 matrix by componentwise conversion.
Declaration
public static double3x2 double3x2(float3x2 v)
Parameters
Returns
double3x2(int3x2)
Return a double3x2 matrix constructed from a int3x2 matrix by componentwise conversion.
Declaration
public static double3x2 double3x2(int3x2 v)
Parameters
Type |
Name |
Description |
int3x2 |
v |
|
Returns
double3x2(uint3x2)
Return a double3x2 matrix constructed from a uint3x2 matrix by componentwise conversion.
Declaration
public static double3x2 double3x2(uint3x2 v)
Parameters
Returns
double3x3(Boolean)
Returns a double3x3 matrix constructed from a single bool value by converting it to double and assigning it to every component.
Declaration
public static double3x3 double3x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
double3x3(Double)
Returns a double3x3 matrix constructed from a single double value by assigning it to every component.
Declaration
public static double3x3 double3x3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
double3x3(Double, Double, Double, Double, Double, Double, Double, Double, Double)
Returns a double3x3 matrix constructed from from 9 double values given in row-major order.
Declaration
public static double3x3 double3x3(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
Parameters
Type |
Name |
Description |
System.Double |
m00 |
|
System.Double |
m01 |
|
System.Double |
m02 |
|
System.Double |
m10 |
|
System.Double |
m11 |
|
System.Double |
m12 |
|
System.Double |
m20 |
|
System.Double |
m21 |
|
System.Double |
m22 |
|
Returns
double3x3(Int32)
Returns a double3x3 matrix constructed from a single int value by converting it to double and assigning it to every component.
Declaration
public static double3x3 double3x3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
double3x3(Single)
Returns a double3x3 matrix constructed from a single float value by converting it to double and assigning it to every component.
Declaration
public static double3x3 double3x3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
double3x3(UInt32)
Returns a double3x3 matrix constructed from a single uint value by converting it to double and assigning it to every component.
Declaration
public static double3x3 double3x3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
double3x3(bool3x3)
Return a double3x3 matrix constructed from a bool3x3 matrix by componentwise conversion.
Declaration
public static double3x3 double3x3(bool3x3 v)
Parameters
Returns
double3x3(double3, double3, double3)
Returns a double3x3 matrix constructed from three double3 vectors.
Declaration
public static double3x3 double3x3(double3 c0, double3 c1, double3 c2)
Parameters
Returns
double3x3(float3x3)
Return a double3x3 matrix constructed from a float3x3 matrix by componentwise conversion.
Declaration
public static double3x3 double3x3(float3x3 v)
Parameters
Returns
double3x3(int3x3)
Return a double3x3 matrix constructed from a int3x3 matrix by componentwise conversion.
Declaration
public static double3x3 double3x3(int3x3 v)
Parameters
Type |
Name |
Description |
int3x3 |
v |
|
Returns
double3x3(uint3x3)
Return a double3x3 matrix constructed from a uint3x3 matrix by componentwise conversion.
Declaration
public static double3x3 double3x3(uint3x3 v)
Parameters
Returns
double3x4(Boolean)
Returns a double3x4 matrix constructed from a single bool value by converting it to double and assigning it to every component.
Declaration
public static double3x4 double3x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
double3x4(Double)
Returns a double3x4 matrix constructed from a single double value by assigning it to every component.
Declaration
public static double3x4 double3x4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
double3x4(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double)
Returns a double3x4 matrix constructed from from 12 double values given in row-major order.
Declaration
public static double3x4 double3x4(double m00, double m01, double m02, double m03, double m10, double m11, double m12, double m13, double m20, double m21, double m22, double m23)
Parameters
Type |
Name |
Description |
System.Double |
m00 |
|
System.Double |
m01 |
|
System.Double |
m02 |
|
System.Double |
m03 |
|
System.Double |
m10 |
|
System.Double |
m11 |
|
System.Double |
m12 |
|
System.Double |
m13 |
|
System.Double |
m20 |
|
System.Double |
m21 |
|
System.Double |
m22 |
|
System.Double |
m23 |
|
Returns
double3x4(Int32)
Returns a double3x4 matrix constructed from a single int value by converting it to double and assigning it to every component.
Declaration
public static double3x4 double3x4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
double3x4(Single)
Returns a double3x4 matrix constructed from a single float value by converting it to double and assigning it to every component.
Declaration
public static double3x4 double3x4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
double3x4(UInt32)
Returns a double3x4 matrix constructed from a single uint value by converting it to double and assigning it to every component.
Declaration
public static double3x4 double3x4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
double3x4(bool3x4)
Return a double3x4 matrix constructed from a bool3x4 matrix by componentwise conversion.
Declaration
public static double3x4 double3x4(bool3x4 v)
Parameters
Returns
double3x4(double3, double3, double3, double3)
Returns a double3x4 matrix constructed from four double3 vectors.
Declaration
public static double3x4 double3x4(double3 c0, double3 c1, double3 c2, double3 c3)
Parameters
Returns
double3x4(float3x4)
Return a double3x4 matrix constructed from a float3x4 matrix by componentwise conversion.
Declaration
public static double3x4 double3x4(float3x4 v)
Parameters
Returns
double3x4(int3x4)
Return a double3x4 matrix constructed from a int3x4 matrix by componentwise conversion.
Declaration
public static double3x4 double3x4(int3x4 v)
Parameters
Type |
Name |
Description |
int3x4 |
v |
|
Returns
double3x4(uint3x4)
Return a double3x4 matrix constructed from a uint3x4 matrix by componentwise conversion.
Declaration
public static double3x4 double3x4(uint3x4 v)
Parameters
Returns
double4(Boolean)
Returns a double4 vector constructed from a single bool value by converting it to double and assigning it to every component.
Declaration
public static double4 double4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
double4(Double)
Returns a double4 vector constructed from a single double value by assigning it to every component.
Declaration
public static double4 double4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
double4(Double, Double, Double, Double)
Returns a double4 vector constructed from four double values.
Declaration
public static double4 double4(double x, double y, double z, double w)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
System.Double |
z |
|
System.Double |
w |
|
Returns
double4(Double, Double, double2)
Returns a double4 vector constructed from two double values and a double2 vector.
Declaration
public static double4 double4(double x, double y, double2 zw)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
double2 |
zw |
|
Returns
double4(Double, double2, Double)
Returns a double4 vector constructed from a double value, a double2 vector and a double value.
Declaration
public static double4 double4(double x, double2 yz, double w)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
double2 |
yz |
|
System.Double |
w |
|
Returns
double4(Double, double3)
Returns a double4 vector constructed from a double value and a double3 vector.
Declaration
public static double4 double4(double x, double3 yzw)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
double3 |
yzw |
|
Returns
double4(Int32)
Returns a double4 vector constructed from a single int value by converting it to double and assigning it to every component.
Declaration
public static double4 double4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
double4(Single)
Returns a double4 vector constructed from a single float value by converting it to double and assigning it to every component.
Declaration
public static double4 double4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
double4(UInt32)
Returns a double4 vector constructed from a single uint value by converting it to double and assigning it to every component.
Declaration
public static double4 double4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
double4(bool4)
Return a double4 vector constructed from a bool4 vector by componentwise conversion.
Declaration
public static double4 double4(bool4 v)
Parameters
Type |
Name |
Description |
bool4 |
v |
|
Returns
double4(double2, Double, Double)
Returns a double4 vector constructed from a double2 vector and two double values.
Declaration
public static double4 double4(double2 xy, double z, double w)
Parameters
Type |
Name |
Description |
double2 |
xy |
|
System.Double |
z |
|
System.Double |
w |
|
Returns
double4(double2, double2)
Returns a double4 vector constructed from two double2 vectors.
Declaration
public static double4 double4(double2 xy, double2 zw)
Parameters
Returns
double4(double3, Double)
Returns a double4 vector constructed from a double3 vector and a double value.
Declaration
public static double4 double4(double3 xyz, double w)
Parameters
Type |
Name |
Description |
double3 |
xyz |
|
System.Double |
w |
|
Returns
double4(double4)
Returns a double4 vector constructed from a double4 vector.
Declaration
public static double4 double4(double4 xyzw)
Parameters
Returns
double4(float4)
Return a double4 vector constructed from a float4 vector by componentwise conversion.
Declaration
public static double4 double4(float4 v)
Parameters
Type |
Name |
Description |
float4 |
v |
|
Returns
double4(half)
Returns a double4 vector constructed from a single half value by converting it to double and assigning it to every component.
Declaration
public static double4 double4(half v)
Parameters
Type |
Name |
Description |
half |
v |
|
Returns
double4(half4)
Return a double4 vector constructed from a half4 vector by componentwise conversion.
Declaration
public static double4 double4(half4 v)
Parameters
Type |
Name |
Description |
half4 |
v |
|
Returns
double4(int4)
Return a double4 vector constructed from a int4 vector by componentwise conversion.
Declaration
public static double4 double4(int4 v)
Parameters
Type |
Name |
Description |
int4 |
v |
|
Returns
double4(uint4)
Return a double4 vector constructed from a uint4 vector by componentwise conversion.
Declaration
public static double4 double4(uint4 v)
Parameters
Type |
Name |
Description |
uint4 |
v |
|
Returns
double4x2(Boolean)
Returns a double4x2 matrix constructed from a single bool value by converting it to double and assigning it to every component.
Declaration
public static double4x2 double4x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
double4x2(Double)
Returns a double4x2 matrix constructed from a single double value by assigning it to every component.
Declaration
public static double4x2 double4x2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
double4x2(Double, Double, Double, Double, Double, Double, Double, Double)
Returns a double4x2 matrix constructed from from 8 double values given in row-major order.
Declaration
public static double4x2 double4x2(double m00, double m01, double m10, double m11, double m20, double m21, double m30, double m31)
Parameters
Type |
Name |
Description |
System.Double |
m00 |
|
System.Double |
m01 |
|
System.Double |
m10 |
|
System.Double |
m11 |
|
System.Double |
m20 |
|
System.Double |
m21 |
|
System.Double |
m30 |
|
System.Double |
m31 |
|
Returns
double4x2(Int32)
Returns a double4x2 matrix constructed from a single int value by converting it to double and assigning it to every component.
Declaration
public static double4x2 double4x2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
double4x2(Single)
Returns a double4x2 matrix constructed from a single float value by converting it to double and assigning it to every component.
Declaration
public static double4x2 double4x2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
double4x2(UInt32)
Returns a double4x2 matrix constructed from a single uint value by converting it to double and assigning it to every component.
Declaration
public static double4x2 double4x2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
double4x2(bool4x2)
Return a double4x2 matrix constructed from a bool4x2 matrix by componentwise conversion.
Declaration
public static double4x2 double4x2(bool4x2 v)
Parameters
Returns
double4x2(double4, double4)
Returns a double4x2 matrix constructed from two double4 vectors.
Declaration
public static double4x2 double4x2(double4 c0, double4 c1)
Parameters
Returns
double4x2(float4x2)
Return a double4x2 matrix constructed from a float4x2 matrix by componentwise conversion.
Declaration
public static double4x2 double4x2(float4x2 v)
Parameters
Returns
double4x2(int4x2)
Return a double4x2 matrix constructed from a int4x2 matrix by componentwise conversion.
Declaration
public static double4x2 double4x2(int4x2 v)
Parameters
Type |
Name |
Description |
int4x2 |
v |
|
Returns
double4x2(uint4x2)
Return a double4x2 matrix constructed from a uint4x2 matrix by componentwise conversion.
Declaration
public static double4x2 double4x2(uint4x2 v)
Parameters
Returns
double4x3(Boolean)
Returns a double4x3 matrix constructed from a single bool value by converting it to double and assigning it to every component.
Declaration
public static double4x3 double4x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
double4x3(Double)
Returns a double4x3 matrix constructed from a single double value by assigning it to every component.
Declaration
public static double4x3 double4x3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
double4x3(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double)
Returns a double4x3 matrix constructed from from 12 double values given in row-major order.
Declaration
public static double4x3 double4x3(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22, double m30, double m31, double m32)
Parameters
Type |
Name |
Description |
System.Double |
m00 |
|
System.Double |
m01 |
|
System.Double |
m02 |
|
System.Double |
m10 |
|
System.Double |
m11 |
|
System.Double |
m12 |
|
System.Double |
m20 |
|
System.Double |
m21 |
|
System.Double |
m22 |
|
System.Double |
m30 |
|
System.Double |
m31 |
|
System.Double |
m32 |
|
Returns
double4x3(Int32)
Returns a double4x3 matrix constructed from a single int value by converting it to double and assigning it to every component.
Declaration
public static double4x3 double4x3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
double4x3(Single)
Returns a double4x3 matrix constructed from a single float value by converting it to double and assigning it to every component.
Declaration
public static double4x3 double4x3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
double4x3(UInt32)
Returns a double4x3 matrix constructed from a single uint value by converting it to double and assigning it to every component.
Declaration
public static double4x3 double4x3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
double4x3(bool4x3)
Return a double4x3 matrix constructed from a bool4x3 matrix by componentwise conversion.
Declaration
public static double4x3 double4x3(bool4x3 v)
Parameters
Returns
double4x3(double4, double4, double4)
Returns a double4x3 matrix constructed from three double4 vectors.
Declaration
public static double4x3 double4x3(double4 c0, double4 c1, double4 c2)
Parameters
Returns
double4x3(float4x3)
Return a double4x3 matrix constructed from a float4x3 matrix by componentwise conversion.
Declaration
public static double4x3 double4x3(float4x3 v)
Parameters
Returns
double4x3(int4x3)
Return a double4x3 matrix constructed from a int4x3 matrix by componentwise conversion.
Declaration
public static double4x3 double4x3(int4x3 v)
Parameters
Type |
Name |
Description |
int4x3 |
v |
|
Returns
double4x3(uint4x3)
Return a double4x3 matrix constructed from a uint4x3 matrix by componentwise conversion.
Declaration
public static double4x3 double4x3(uint4x3 v)
Parameters
Returns
double4x4(Boolean)
Returns a double4x4 matrix constructed from a single bool value by converting it to double and assigning it to every component.
Declaration
public static double4x4 double4x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
double4x4(Double)
Returns a double4x4 matrix constructed from a single double value by assigning it to every component.
Declaration
public static double4x4 double4x4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
double4x4(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double)
Returns a double4x4 matrix constructed from from 16 double values given in row-major order.
Declaration
public static double4x4 double4x4(double m00, double m01, double m02, double m03, double m10, double m11, double m12, double m13, double m20, double m21, double m22, double m23, double m30, double m31, double m32, double m33)
Parameters
Type |
Name |
Description |
System.Double |
m00 |
|
System.Double |
m01 |
|
System.Double |
m02 |
|
System.Double |
m03 |
|
System.Double |
m10 |
|
System.Double |
m11 |
|
System.Double |
m12 |
|
System.Double |
m13 |
|
System.Double |
m20 |
|
System.Double |
m21 |
|
System.Double |
m22 |
|
System.Double |
m23 |
|
System.Double |
m30 |
|
System.Double |
m31 |
|
System.Double |
m32 |
|
System.Double |
m33 |
|
Returns
double4x4(Int32)
Returns a double4x4 matrix constructed from a single int value by converting it to double and assigning it to every component.
Declaration
public static double4x4 double4x4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
double4x4(Single)
Returns a double4x4 matrix constructed from a single float value by converting it to double and assigning it to every component.
Declaration
public static double4x4 double4x4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
double4x4(UInt32)
Returns a double4x4 matrix constructed from a single uint value by converting it to double and assigning it to every component.
Declaration
public static double4x4 double4x4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
double4x4(bool4x4)
Return a double4x4 matrix constructed from a bool4x4 matrix by componentwise conversion.
Declaration
public static double4x4 double4x4(bool4x4 v)
Parameters
Returns
double4x4(double4, double4, double4, double4)
Returns a double4x4 matrix constructed from four double4 vectors.
Declaration
public static double4x4 double4x4(double4 c0, double4 c1, double4 c2, double4 c3)
Parameters
Returns
double4x4(float4x4)
Return a double4x4 matrix constructed from a float4x4 matrix by componentwise conversion.
Declaration
public static double4x4 double4x4(float4x4 v)
Parameters
Returns
double4x4(int4x4)
Return a double4x4 matrix constructed from a int4x4 matrix by componentwise conversion.
Declaration
public static double4x4 double4x4(int4x4 v)
Parameters
Type |
Name |
Description |
int4x4 |
v |
|
Returns
double4x4(uint4x4)
Return a double4x4 matrix constructed from a uint4x4 matrix by componentwise conversion.
Declaration
public static double4x4 double4x4(uint4x4 v)
Parameters
Returns
exp(Double)
Returns the base-e exponential of x.
Declaration
public static double exp(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
exp(Single)
Returns the base-e exponential of x.
Declaration
public static float exp(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
exp(double2)
Returns the componentwise base-e exponential of x.
Declaration
public static double2 exp(double2 x)
Parameters
Returns
exp(double3)
Returns the componentwise base-e exponential of x.
Declaration
public static double3 exp(double3 x)
Parameters
Returns
exp(double4)
Returns the componentwise base-e exponential of x.
Declaration
public static double4 exp(double4 x)
Parameters
Returns
exp(float2)
Returns the componentwise base-e exponential of x.
Declaration
public static float2 exp(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
exp(float3)
Returns the componentwise base-e exponential of x.
Declaration
public static float3 exp(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
exp(float4)
Returns the componentwise base-e exponential of x.
Declaration
public static float4 exp(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
exp(quaternion)
Returns the natural exponent of a quaternion.
Declaration
public static quaternion exp(quaternion q)
Parameters
Returns
exp10(Double)
Returns the base-10 exponential of x.
Declaration
public static double exp10(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
exp10(Single)
Returns the base-10 exponential of x.
Declaration
public static float exp10(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
exp10(double2)
Returns the componentwise base-10 exponential of x.
Declaration
public static double2 exp10(double2 x)
Parameters
Returns
exp10(double3)
Returns the componentwise base-10 exponential of x.
Declaration
public static double3 exp10(double3 x)
Parameters
Returns
exp10(double4)
Returns the componentwise base-10 exponential of x.
Declaration
public static double4 exp10(double4 x)
Parameters
Returns
exp10(float2)
Returns the componentwise base-10 exponential of x.
Declaration
public static float2 exp10(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
exp10(float3)
Returns the componentwise base-10 exponential of x.
Declaration
public static float3 exp10(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
exp10(float4)
Returns the componentwise base-10 exponential of x.
Declaration
public static float4 exp10(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
exp2(Double)
Returns the base-2 exponential of x.
Declaration
public static double exp2(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
exp2(Single)
Returns the base-2 exponential of x.
Declaration
public static float exp2(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
exp2(double2)
Returns the componentwise base-2 exponential of x.
Declaration
public static double2 exp2(double2 x)
Parameters
Returns
exp2(double3)
Returns the componentwise base-2 exponential of x.
Declaration
public static double3 exp2(double3 x)
Parameters
Returns
exp2(double4)
Returns the componentwise base-2 exponential of x.
Declaration
public static double4 exp2(double4 x)
Parameters
Returns
exp2(float2)
Returns the componentwise base-2 exponential of x.
Declaration
public static float2 exp2(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
exp2(float3)
Returns the componentwise base-2 exponential of x.
Declaration
public static float3 exp2(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
exp2(float4)
Returns the componentwise base-2 exponential of x.
Declaration
public static float4 exp2(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
f16tof32(UInt32)
Returns the floating point representation of a half-precision floating point value.
Declaration
public static float f16tof32(uint x)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
Returns
Type |
Description |
System.Single |
|
f16tof32(uint2)
Returns the floating point representation of a half-precision floating point vector.
Declaration
public static float2 f16tof32(uint2 x)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
Returns
f16tof32(uint3)
Returns the floating point representation of a half-precision floating point vector.
Declaration
public static float3 f16tof32(uint3 x)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
Returns
f16tof32(uint4)
Returns the floating point representation of a half-precision floating point vector.
Declaration
public static float4 f16tof32(uint4 x)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
Returns
f32tof16(Single)
Returns the result converting a float value to its nearest half-precision floating point representation.
Declaration
public static uint f32tof16(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.UInt32 |
|
f32tof16(float2)
Returns the result of a componentwise conversion of a float2 vector to its nearest half-precision floating point representation.
Declaration
public static uint2 f32tof16(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
f32tof16(float3)
Returns the result of a componentwise conversion of a float3 vector to its nearest half-precision floating point representation.
Declaration
public static uint3 f32tof16(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
f32tof16(float4)
Returns the result of a componentwise conversion of a float4 vector to its nearest half-precision floating point representation.
Declaration
public static uint4 f32tof16(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
faceforward(double2, double2, double2)
Declaration
public static double2 faceforward(double2 n, double2 i, double2 ng)
Parameters
Returns
faceforward(double3, double3, double3)
Declaration
public static double3 faceforward(double3 n, double3 i, double3 ng)
Parameters
Returns
faceforward(double4, double4, double4)
Declaration
public static double4 faceforward(double4 n, double4 i, double4 ng)
Parameters
Returns
faceforward(float2, float2, float2)
Declaration
public static float2 faceforward(float2 n, float2 i, float2 ng)
Parameters
Returns
faceforward(float3, float3, float3)
Declaration
public static float3 faceforward(float3 n, float3 i, float3 ng)
Parameters
Returns
faceforward(float4, float4, float4)
Declaration
public static float4 faceforward(float4 n, float4 i, float4 ng)
Parameters
Returns
fastinverse(double3x4)
Declaration
public static double3x4 fastinverse(double3x4 m)
Parameters
Returns
fastinverse(double4x4)
Declaration
public static double4x4 fastinverse(double4x4 m)
Parameters
Returns
fastinverse(float3x4)
Declaration
public static float3x4 fastinverse(float3x4 m)
Parameters
Returns
fastinverse(float4x4)
Declaration
public static float4x4 fastinverse(float4x4 m)
Parameters
Returns
float2(Boolean)
Returns a float2 vector constructed from a single bool value by converting it to float and assigning it to every component.
Declaration
public static float2 float2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
float2(Double)
Returns a float2 vector constructed from a single double value by converting it to float and assigning it to every component.
Declaration
public static float2 float2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
float2(Int32)
Returns a float2 vector constructed from a single int value by converting it to float and assigning it to every component.
Declaration
public static float2 float2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
float2(Single)
Returns a float2 vector constructed from a single float value by assigning it to every component.
Declaration
public static float2 float2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
float2(Single, Single)
Returns a float2 vector constructed from two float values.
Declaration
public static float2 float2(float x, float y)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
Returns
float2(UInt32)
Returns a float2 vector constructed from a single uint value by converting it to float and assigning it to every component.
Declaration
public static float2 float2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
float2(bool2)
Return a float2 vector constructed from a bool2 vector by componentwise conversion.
Declaration
public static float2 float2(bool2 v)
Parameters
Type |
Name |
Description |
bool2 |
v |
|
Returns
float2(double2)
Return a float2 vector constructed from a double2 vector by componentwise conversion.
Declaration
public static float2 float2(double2 v)
Parameters
Returns
float2(float2)
Returns a float2 vector constructed from a float2 vector.
Declaration
public static float2 float2(float2 xy)
Parameters
Type |
Name |
Description |
float2 |
xy |
|
Returns
float2(half)
Returns a float2 vector constructed from a single half value by converting it to float and assigning it to every component.
Declaration
public static float2 float2(half v)
Parameters
Type |
Name |
Description |
half |
v |
|
Returns
float2(half2)
Return a float2 vector constructed from a half2 vector by componentwise conversion.
Declaration
public static float2 float2(half2 v)
Parameters
Type |
Name |
Description |
half2 |
v |
|
Returns
float2(int2)
Return a float2 vector constructed from a int2 vector by componentwise conversion.
Declaration
public static float2 float2(int2 v)
Parameters
Type |
Name |
Description |
int2 |
v |
|
Returns
float2(uint2)
Return a float2 vector constructed from a uint2 vector by componentwise conversion.
Declaration
public static float2 float2(uint2 v)
Parameters
Type |
Name |
Description |
uint2 |
v |
|
Returns
float2x2(Boolean)
Returns a float2x2 matrix constructed from a single bool value by converting it to float and assigning it to every component.
Declaration
public static float2x2 float2x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
float2x2(Double)
Returns a float2x2 matrix constructed from a single double value by converting it to float and assigning it to every component.
Declaration
public static float2x2 float2x2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
float2x2(Int32)
Returns a float2x2 matrix constructed from a single int value by converting it to float and assigning it to every component.
Declaration
public static float2x2 float2x2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
float2x2(Single)
Returns a float2x2 matrix constructed from a single float value by assigning it to every component.
Declaration
public static float2x2 float2x2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
float2x2(Single, Single, Single, Single)
Returns a float2x2 matrix constructed from from 4 float values given in row-major order.
Declaration
public static float2x2 float2x2(float m00, float m01, float m10, float m11)
Parameters
Type |
Name |
Description |
System.Single |
m00 |
|
System.Single |
m01 |
|
System.Single |
m10 |
|
System.Single |
m11 |
|
Returns
float2x2(UInt32)
Returns a float2x2 matrix constructed from a single uint value by converting it to float and assigning it to every component.
Declaration
public static float2x2 float2x2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
float2x2(bool2x2)
Return a float2x2 matrix constructed from a bool2x2 matrix by componentwise conversion.
Declaration
public static float2x2 float2x2(bool2x2 v)
Parameters
Returns
float2x2(double2x2)
Return a float2x2 matrix constructed from a double2x2 matrix by componentwise conversion.
Declaration
public static float2x2 float2x2(double2x2 v)
Parameters
Returns
float2x2(float2, float2)
Returns a float2x2 matrix constructed from two float2 vectors.
Declaration
public static float2x2 float2x2(float2 c0, float2 c1)
Parameters
Returns
float2x2(int2x2)
Return a float2x2 matrix constructed from a int2x2 matrix by componentwise conversion.
Declaration
public static float2x2 float2x2(int2x2 v)
Parameters
Type |
Name |
Description |
int2x2 |
v |
|
Returns
float2x2(uint2x2)
Return a float2x2 matrix constructed from a uint2x2 matrix by componentwise conversion.
Declaration
public static float2x2 float2x2(uint2x2 v)
Parameters
Returns
float2x3(Boolean)
Returns a float2x3 matrix constructed from a single bool value by converting it to float and assigning it to every component.
Declaration
public static float2x3 float2x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
float2x3(Double)
Returns a float2x3 matrix constructed from a single double value by converting it to float and assigning it to every component.
Declaration
public static float2x3 float2x3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
float2x3(Int32)
Returns a float2x3 matrix constructed from a single int value by converting it to float and assigning it to every component.
Declaration
public static float2x3 float2x3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
float2x3(Single)
Returns a float2x3 matrix constructed from a single float value by assigning it to every component.
Declaration
public static float2x3 float2x3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
float2x3(Single, Single, Single, Single, Single, Single)
Returns a float2x3 matrix constructed from from 6 float values given in row-major order.
Declaration
public static float2x3 float2x3(float m00, float m01, float m02, float m10, float m11, float m12)
Parameters
Type |
Name |
Description |
System.Single |
m00 |
|
System.Single |
m01 |
|
System.Single |
m02 |
|
System.Single |
m10 |
|
System.Single |
m11 |
|
System.Single |
m12 |
|
Returns
float2x3(UInt32)
Returns a float2x3 matrix constructed from a single uint value by converting it to float and assigning it to every component.
Declaration
public static float2x3 float2x3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
float2x3(bool2x3)
Return a float2x3 matrix constructed from a bool2x3 matrix by componentwise conversion.
Declaration
public static float2x3 float2x3(bool2x3 v)
Parameters
Returns
float2x3(double2x3)
Return a float2x3 matrix constructed from a double2x3 matrix by componentwise conversion.
Declaration
public static float2x3 float2x3(double2x3 v)
Parameters
Returns
float2x3(float2, float2, float2)
Returns a float2x3 matrix constructed from three float2 vectors.
Declaration
public static float2x3 float2x3(float2 c0, float2 c1, float2 c2)
Parameters
Returns
float2x3(int2x3)
Return a float2x3 matrix constructed from a int2x3 matrix by componentwise conversion.
Declaration
public static float2x3 float2x3(int2x3 v)
Parameters
Type |
Name |
Description |
int2x3 |
v |
|
Returns
float2x3(uint2x3)
Return a float2x3 matrix constructed from a uint2x3 matrix by componentwise conversion.
Declaration
public static float2x3 float2x3(uint2x3 v)
Parameters
Returns
float2x4(Boolean)
Returns a float2x4 matrix constructed from a single bool value by converting it to float and assigning it to every component.
Declaration
public static float2x4 float2x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
float2x4(Double)
Returns a float2x4 matrix constructed from a single double value by converting it to float and assigning it to every component.
Declaration
public static float2x4 float2x4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
float2x4(Int32)
Returns a float2x4 matrix constructed from a single int value by converting it to float and assigning it to every component.
Declaration
public static float2x4 float2x4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
float2x4(Single)
Returns a float2x4 matrix constructed from a single float value by assigning it to every component.
Declaration
public static float2x4 float2x4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
float2x4(Single, Single, Single, Single, Single, Single, Single, Single)
Returns a float2x4 matrix constructed from from 8 float values given in row-major order.
Declaration
public static float2x4 float2x4(float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13)
Parameters
Type |
Name |
Description |
System.Single |
m00 |
|
System.Single |
m01 |
|
System.Single |
m02 |
|
System.Single |
m03 |
|
System.Single |
m10 |
|
System.Single |
m11 |
|
System.Single |
m12 |
|
System.Single |
m13 |
|
Returns
float2x4(UInt32)
Returns a float2x4 matrix constructed from a single uint value by converting it to float and assigning it to every component.
Declaration
public static float2x4 float2x4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
float2x4(bool2x4)
Return a float2x4 matrix constructed from a bool2x4 matrix by componentwise conversion.
Declaration
public static float2x4 float2x4(bool2x4 v)
Parameters
Returns
float2x4(double2x4)
Return a float2x4 matrix constructed from a double2x4 matrix by componentwise conversion.
Declaration
public static float2x4 float2x4(double2x4 v)
Parameters
Returns
float2x4(float2, float2, float2, float2)
Returns a float2x4 matrix constructed from four float2 vectors.
Declaration
public static float2x4 float2x4(float2 c0, float2 c1, float2 c2, float2 c3)
Parameters
Returns
float2x4(int2x4)
Return a float2x4 matrix constructed from a int2x4 matrix by componentwise conversion.
Declaration
public static float2x4 float2x4(int2x4 v)
Parameters
Type |
Name |
Description |
int2x4 |
v |
|
Returns
float2x4(uint2x4)
Return a float2x4 matrix constructed from a uint2x4 matrix by componentwise conversion.
Declaration
public static float2x4 float2x4(uint2x4 v)
Parameters
Returns
float3(Boolean)
Returns a float3 vector constructed from a single bool value by converting it to float and assigning it to every component.
Declaration
public static float3 float3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
float3(Double)
Returns a float3 vector constructed from a single double value by converting it to float and assigning it to every component.
Declaration
public static float3 float3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
float3(Int32)
Returns a float3 vector constructed from a single int value by converting it to float and assigning it to every component.
Declaration
public static float3 float3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
float3(Single)
Returns a float3 vector constructed from a single float value by assigning it to every component.
Declaration
public static float3 float3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
float3(Single, Single, Single)
Returns a float3 vector constructed from three float values.
Declaration
public static float3 float3(float x, float y, float z)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
System.Single |
z |
|
Returns
float3(Single, float2)
Returns a float3 vector constructed from a float value and a float2 vector.
Declaration
public static float3 float3(float x, float2 yz)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
float2 |
yz |
|
Returns
float3(UInt32)
Returns a float3 vector constructed from a single uint value by converting it to float and assigning it to every component.
Declaration
public static float3 float3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
float3(bool3)
Return a float3 vector constructed from a bool3 vector by componentwise conversion.
Declaration
public static float3 float3(bool3 v)
Parameters
Type |
Name |
Description |
bool3 |
v |
|
Returns
float3(double3)
Return a float3 vector constructed from a double3 vector by componentwise conversion.
Declaration
public static float3 float3(double3 v)
Parameters
Returns
float3(float2, Single)
Returns a float3 vector constructed from a float2 vector and a float value.
Declaration
public static float3 float3(float2 xy, float z)
Parameters
Type |
Name |
Description |
float2 |
xy |
|
System.Single |
z |
|
Returns
float3(float3)
Returns a float3 vector constructed from a float3 vector.
Declaration
public static float3 float3(float3 xyz)
Parameters
Type |
Name |
Description |
float3 |
xyz |
|
Returns
float3(half)
Returns a float3 vector constructed from a single half value by converting it to float and assigning it to every component.
Declaration
public static float3 float3(half v)
Parameters
Type |
Name |
Description |
half |
v |
|
Returns
float3(half3)
Return a float3 vector constructed from a half3 vector by componentwise conversion.
Declaration
public static float3 float3(half3 v)
Parameters
Type |
Name |
Description |
half3 |
v |
|
Returns
float3(int3)
Return a float3 vector constructed from a int3 vector by componentwise conversion.
Declaration
public static float3 float3(int3 v)
Parameters
Type |
Name |
Description |
int3 |
v |
|
Returns
float3(uint3)
Return a float3 vector constructed from a uint3 vector by componentwise conversion.
Declaration
public static float3 float3(uint3 v)
Parameters
Type |
Name |
Description |
uint3 |
v |
|
Returns
float3x2(Boolean)
Returns a float3x2 matrix constructed from a single bool value by converting it to float and assigning it to every component.
Declaration
public static float3x2 float3x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
float3x2(Double)
Returns a float3x2 matrix constructed from a single double value by converting it to float and assigning it to every component.
Declaration
public static float3x2 float3x2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
float3x2(Int32)
Returns a float3x2 matrix constructed from a single int value by converting it to float and assigning it to every component.
Declaration
public static float3x2 float3x2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
float3x2(Single)
Returns a float3x2 matrix constructed from a single float value by assigning it to every component.
Declaration
public static float3x2 float3x2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
float3x2(Single, Single, Single, Single, Single, Single)
Returns a float3x2 matrix constructed from from 6 float values given in row-major order.
Declaration
public static float3x2 float3x2(float m00, float m01, float m10, float m11, float m20, float m21)
Parameters
Type |
Name |
Description |
System.Single |
m00 |
|
System.Single |
m01 |
|
System.Single |
m10 |
|
System.Single |
m11 |
|
System.Single |
m20 |
|
System.Single |
m21 |
|
Returns
float3x2(UInt32)
Returns a float3x2 matrix constructed from a single uint value by converting it to float and assigning it to every component.
Declaration
public static float3x2 float3x2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
float3x2(bool3x2)
Return a float3x2 matrix constructed from a bool3x2 matrix by componentwise conversion.
Declaration
public static float3x2 float3x2(bool3x2 v)
Parameters
Returns
float3x2(double3x2)
Return a float3x2 matrix constructed from a double3x2 matrix by componentwise conversion.
Declaration
public static float3x2 float3x2(double3x2 v)
Parameters
Returns
float3x2(float3, float3)
Returns a float3x2 matrix constructed from two float3 vectors.
Declaration
public static float3x2 float3x2(float3 c0, float3 c1)
Parameters
Returns
float3x2(int3x2)
Return a float3x2 matrix constructed from a int3x2 matrix by componentwise conversion.
Declaration
public static float3x2 float3x2(int3x2 v)
Parameters
Type |
Name |
Description |
int3x2 |
v |
|
Returns
float3x2(uint3x2)
Return a float3x2 matrix constructed from a uint3x2 matrix by componentwise conversion.
Declaration
public static float3x2 float3x2(uint3x2 v)
Parameters
Returns
float3x3(Boolean)
Returns a float3x3 matrix constructed from a single bool value by converting it to float and assigning it to every component.
Declaration
public static float3x3 float3x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
float3x3(Double)
Returns a float3x3 matrix constructed from a single double value by converting it to float and assigning it to every component.
Declaration
public static float3x3 float3x3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
float3x3(Int32)
Returns a float3x3 matrix constructed from a single int value by converting it to float and assigning it to every component.
Declaration
public static float3x3 float3x3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
float3x3(Single)
Returns a float3x3 matrix constructed from a single float value by assigning it to every component.
Declaration
public static float3x3 float3x3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
float3x3(Single, Single, Single, Single, Single, Single, Single, Single, Single)
Returns a float3x3 matrix constructed from from 9 float values given in row-major order.
Declaration
public static float3x3 float3x3(float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22)
Parameters
Type |
Name |
Description |
System.Single |
m00 |
|
System.Single |
m01 |
|
System.Single |
m02 |
|
System.Single |
m10 |
|
System.Single |
m11 |
|
System.Single |
m12 |
|
System.Single |
m20 |
|
System.Single |
m21 |
|
System.Single |
m22 |
|
Returns
float3x3(UInt32)
Returns a float3x3 matrix constructed from a single uint value by converting it to float and assigning it to every component.
Declaration
public static float3x3 float3x3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
float3x3(bool3x3)
Return a float3x3 matrix constructed from a bool3x3 matrix by componentwise conversion.
Declaration
public static float3x3 float3x3(bool3x3 v)
Parameters
Returns
float3x3(double3x3)
Return a float3x3 matrix constructed from a double3x3 matrix by componentwise conversion.
Declaration
public static float3x3 float3x3(double3x3 v)
Parameters
Returns
float3x3(float3, float3, float3)
Returns a float3x3 matrix constructed from three float3 vectors.
Declaration
public static float3x3 float3x3(float3 c0, float3 c1, float3 c2)
Parameters
Returns
float3x3(int3x3)
Return a float3x3 matrix constructed from a int3x3 matrix by componentwise conversion.
Declaration
public static float3x3 float3x3(int3x3 v)
Parameters
Type |
Name |
Description |
int3x3 |
v |
|
Returns
float3x3(quaternion)
Returns a float3x3 matrix constructed from a quaternion.
Declaration
public static float3x3 float3x3(quaternion rotation)
Parameters
Returns
float3x3(uint3x3)
Return a float3x3 matrix constructed from a uint3x3 matrix by componentwise conversion.
Declaration
public static float3x3 float3x3(uint3x3 v)
Parameters
Returns
float3x4(Boolean)
Returns a float3x4 matrix constructed from a single bool value by converting it to float and assigning it to every component.
Declaration
public static float3x4 float3x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
float3x4(Double)
Returns a float3x4 matrix constructed from a single double value by converting it to float and assigning it to every component.
Declaration
public static float3x4 float3x4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
float3x4(Int32)
Returns a float3x4 matrix constructed from a single int value by converting it to float and assigning it to every component.
Declaration
public static float3x4 float3x4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
float3x4(Single)
Returns a float3x4 matrix constructed from a single float value by assigning it to every component.
Declaration
public static float3x4 float3x4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
float3x4(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single)
Returns a float3x4 matrix constructed from from 12 float values given in row-major order.
Declaration
public static float3x4 float3x4(float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23)
Parameters
Type |
Name |
Description |
System.Single |
m00 |
|
System.Single |
m01 |
|
System.Single |
m02 |
|
System.Single |
m03 |
|
System.Single |
m10 |
|
System.Single |
m11 |
|
System.Single |
m12 |
|
System.Single |
m13 |
|
System.Single |
m20 |
|
System.Single |
m21 |
|
System.Single |
m22 |
|
System.Single |
m23 |
|
Returns
float3x4(UInt32)
Returns a float3x4 matrix constructed from a single uint value by converting it to float and assigning it to every component.
Declaration
public static float3x4 float3x4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
float3x4(bool3x4)
Return a float3x4 matrix constructed from a bool3x4 matrix by componentwise conversion.
Declaration
public static float3x4 float3x4(bool3x4 v)
Parameters
Returns
float3x4(double3x4)
Return a float3x4 matrix constructed from a double3x4 matrix by componentwise conversion.
Declaration
public static float3x4 float3x4(double3x4 v)
Parameters
Returns
float3x4(float3, float3, float3, float3)
Returns a float3x4 matrix constructed from four float3 vectors.
Declaration
public static float3x4 float3x4(float3 c0, float3 c1, float3 c2, float3 c3)
Parameters
Returns
float3x4(int3x4)
Return a float3x4 matrix constructed from a int3x4 matrix by componentwise conversion.
Declaration
public static float3x4 float3x4(int3x4 v)
Parameters
Type |
Name |
Description |
int3x4 |
v |
|
Returns
float3x4(uint3x4)
Return a float3x4 matrix constructed from a uint3x4 matrix by componentwise conversion.
Declaration
public static float3x4 float3x4(uint3x4 v)
Parameters
Returns
float4(Boolean)
Returns a float4 vector constructed from a single bool value by converting it to float and assigning it to every component.
Declaration
public static float4 float4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
float4(Double)
Returns a float4 vector constructed from a single double value by converting it to float and assigning it to every component.
Declaration
public static float4 float4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
float4(Int32)
Returns a float4 vector constructed from a single int value by converting it to float and assigning it to every component.
Declaration
public static float4 float4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
float4(Single)
Returns a float4 vector constructed from a single float value by assigning it to every component.
Declaration
public static float4 float4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
float4(Single, Single, Single, Single)
Returns a float4 vector constructed from four float values.
Declaration
public static float4 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 |
|
Returns
float4(Single, Single, float2)
Returns a float4 vector constructed from two float values and a float2 vector.
Declaration
public static float4 float4(float x, float y, float2 zw)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
float2 |
zw |
|
Returns
float4(Single, float2, Single)
Returns a float4 vector constructed from a float value, a float2 vector and a float value.
Declaration
public static float4 float4(float x, float2 yz, float w)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
float2 |
yz |
|
System.Single |
w |
|
Returns
float4(Single, float3)
Returns a float4 vector constructed from a float value and a float3 vector.
Declaration
public static float4 float4(float x, float3 yzw)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
float3 |
yzw |
|
Returns
float4(UInt32)
Returns a float4 vector constructed from a single uint value by converting it to float and assigning it to every component.
Declaration
public static float4 float4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
float4(bool4)
Return a float4 vector constructed from a bool4 vector by componentwise conversion.
Declaration
public static float4 float4(bool4 v)
Parameters
Type |
Name |
Description |
bool4 |
v |
|
Returns
float4(double4)
Return a float4 vector constructed from a double4 vector by componentwise conversion.
Declaration
public static float4 float4(double4 v)
Parameters
Returns
float4(float2, Single, Single)
Returns a float4 vector constructed from a float2 vector and two float values.
Declaration
public static float4 float4(float2 xy, float z, float w)
Parameters
Type |
Name |
Description |
float2 |
xy |
|
System.Single |
z |
|
System.Single |
w |
|
Returns
float4(float2, float2)
Returns a float4 vector constructed from two float2 vectors.
Declaration
public static float4 float4(float2 xy, float2 zw)
Parameters
Returns
float4(float3, Single)
Returns a float4 vector constructed from a float3 vector and a float value.
Declaration
public static float4 float4(float3 xyz, float w)
Parameters
Type |
Name |
Description |
float3 |
xyz |
|
System.Single |
w |
|
Returns
float4(float4)
Returns a float4 vector constructed from a float4 vector.
Declaration
public static float4 float4(float4 xyzw)
Parameters
Type |
Name |
Description |
float4 |
xyzw |
|
Returns
float4(half)
Returns a float4 vector constructed from a single half value by converting it to float and assigning it to every component.
Declaration
public static float4 float4(half v)
Parameters
Type |
Name |
Description |
half |
v |
|
Returns
float4(half4)
Return a float4 vector constructed from a half4 vector by componentwise conversion.
Declaration
public static float4 float4(half4 v)
Parameters
Type |
Name |
Description |
half4 |
v |
|
Returns
float4(int4)
Return a float4 vector constructed from a int4 vector by componentwise conversion.
Declaration
public static float4 float4(int4 v)
Parameters
Type |
Name |
Description |
int4 |
v |
|
Returns
float4(uint4)
Return a float4 vector constructed from a uint4 vector by componentwise conversion.
Declaration
public static float4 float4(uint4 v)
Parameters
Type |
Name |
Description |
uint4 |
v |
|
Returns
float4x2(Boolean)
Returns a float4x2 matrix constructed from a single bool value by converting it to float and assigning it to every component.
Declaration
public static float4x2 float4x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
float4x2(Double)
Returns a float4x2 matrix constructed from a single double value by converting it to float and assigning it to every component.
Declaration
public static float4x2 float4x2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
float4x2(Int32)
Returns a float4x2 matrix constructed from a single int value by converting it to float and assigning it to every component.
Declaration
public static float4x2 float4x2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
float4x2(Single)
Returns a float4x2 matrix constructed from a single float value by assigning it to every component.
Declaration
public static float4x2 float4x2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
float4x2(Single, Single, Single, Single, Single, Single, Single, Single)
Returns a float4x2 matrix constructed from from 8 float values given in row-major order.
Declaration
public static float4x2 float4x2(float m00, float m01, float m10, float m11, float m20, float m21, float m30, float m31)
Parameters
Type |
Name |
Description |
System.Single |
m00 |
|
System.Single |
m01 |
|
System.Single |
m10 |
|
System.Single |
m11 |
|
System.Single |
m20 |
|
System.Single |
m21 |
|
System.Single |
m30 |
|
System.Single |
m31 |
|
Returns
float4x2(UInt32)
Returns a float4x2 matrix constructed from a single uint value by converting it to float and assigning it to every component.
Declaration
public static float4x2 float4x2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
float4x2(bool4x2)
Return a float4x2 matrix constructed from a bool4x2 matrix by componentwise conversion.
Declaration
public static float4x2 float4x2(bool4x2 v)
Parameters
Returns
float4x2(double4x2)
Return a float4x2 matrix constructed from a double4x2 matrix by componentwise conversion.
Declaration
public static float4x2 float4x2(double4x2 v)
Parameters
Returns
float4x2(float4, float4)
Returns a float4x2 matrix constructed from two float4 vectors.
Declaration
public static float4x2 float4x2(float4 c0, float4 c1)
Parameters
Returns
float4x2(int4x2)
Return a float4x2 matrix constructed from a int4x2 matrix by componentwise conversion.
Declaration
public static float4x2 float4x2(int4x2 v)
Parameters
Type |
Name |
Description |
int4x2 |
v |
|
Returns
float4x2(uint4x2)
Return a float4x2 matrix constructed from a uint4x2 matrix by componentwise conversion.
Declaration
public static float4x2 float4x2(uint4x2 v)
Parameters
Returns
float4x3(Boolean)
Returns a float4x3 matrix constructed from a single bool value by converting it to float and assigning it to every component.
Declaration
public static float4x3 float4x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
float4x3(Double)
Returns a float4x3 matrix constructed from a single double value by converting it to float and assigning it to every component.
Declaration
public static float4x3 float4x3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
float4x3(Int32)
Returns a float4x3 matrix constructed from a single int value by converting it to float and assigning it to every component.
Declaration
public static float4x3 float4x3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
float4x3(Single)
Returns a float4x3 matrix constructed from a single float value by assigning it to every component.
Declaration
public static float4x3 float4x3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
float4x3(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single)
Returns a float4x3 matrix constructed from from 12 float values given in row-major order.
Declaration
public static float4x3 float4x3(float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22, float m30, float m31, float m32)
Parameters
Type |
Name |
Description |
System.Single |
m00 |
|
System.Single |
m01 |
|
System.Single |
m02 |
|
System.Single |
m10 |
|
System.Single |
m11 |
|
System.Single |
m12 |
|
System.Single |
m20 |
|
System.Single |
m21 |
|
System.Single |
m22 |
|
System.Single |
m30 |
|
System.Single |
m31 |
|
System.Single |
m32 |
|
Returns
float4x3(UInt32)
Returns a float4x3 matrix constructed from a single uint value by converting it to float and assigning it to every component.
Declaration
public static float4x3 float4x3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
float4x3(bool4x3)
Return a float4x3 matrix constructed from a bool4x3 matrix by componentwise conversion.
Declaration
public static float4x3 float4x3(bool4x3 v)
Parameters
Returns
float4x3(double4x3)
Return a float4x3 matrix constructed from a double4x3 matrix by componentwise conversion.
Declaration
public static float4x3 float4x3(double4x3 v)
Parameters
Returns
float4x3(float4, float4, float4)
Returns a float4x3 matrix constructed from three float4 vectors.
Declaration
public static float4x3 float4x3(float4 c0, float4 c1, float4 c2)
Parameters
Returns
float4x3(int4x3)
Return a float4x3 matrix constructed from a int4x3 matrix by componentwise conversion.
Declaration
public static float4x3 float4x3(int4x3 v)
Parameters
Type |
Name |
Description |
int4x3 |
v |
|
Returns
float4x3(uint4x3)
Return a float4x3 matrix constructed from a uint4x3 matrix by componentwise conversion.
Declaration
public static float4x3 float4x3(uint4x3 v)
Parameters
Returns
float4x4(Boolean)
Returns a float4x4 matrix constructed from a single bool value by converting it to float and assigning it to every component.
Declaration
public static float4x4 float4x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
float4x4(Double)
Returns a float4x4 matrix constructed from a single double value by converting it to float and assigning it to every component.
Declaration
public static float4x4 float4x4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
float4x4(Int32)
Returns a float4x4 matrix constructed from a single int value by converting it to float and assigning it to every component.
Declaration
public static float4x4 float4x4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
float4x4(Single)
Returns a float4x4 matrix constructed from a single float value by assigning it to every component.
Declaration
public static float4x4 float4x4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
float4x4(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single)
Returns a float4x4 matrix constructed from from 16 float values given in row-major order.
Declaration
public static float4x4 float4x4(float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33)
Parameters
Type |
Name |
Description |
System.Single |
m00 |
|
System.Single |
m01 |
|
System.Single |
m02 |
|
System.Single |
m03 |
|
System.Single |
m10 |
|
System.Single |
m11 |
|
System.Single |
m12 |
|
System.Single |
m13 |
|
System.Single |
m20 |
|
System.Single |
m21 |
|
System.Single |
m22 |
|
System.Single |
m23 |
|
System.Single |
m30 |
|
System.Single |
m31 |
|
System.Single |
m32 |
|
System.Single |
m33 |
|
Returns
float4x4(UInt32)
Returns a float4x4 matrix constructed from a single uint value by converting it to float and assigning it to every component.
Declaration
public static float4x4 float4x4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
float4x4(bool4x4)
Return a float4x4 matrix constructed from a bool4x4 matrix by componentwise conversion.
Declaration
public static float4x4 float4x4(bool4x4 v)
Parameters
Returns
float4x4(double4x4)
Return a float4x4 matrix constructed from a double4x4 matrix by componentwise conversion.
Declaration
public static float4x4 float4x4(double4x4 v)
Parameters
Returns
float4x4(float3x3, float3)
Returns a float4x4 constructed from a float3x3 rotation matrix and a float3 translation vector.
Declaration
public static float4x4 float4x4(float3x3 rotation, float3 translation)
Parameters
Returns
float4x4(float4, float4, float4, float4)
Returns a float4x4 matrix constructed from four float4 vectors.
Declaration
public static float4x4 float4x4(float4 c0, float4 c1, float4 c2, float4 c3)
Parameters
Returns
float4x4(int4x4)
Return a float4x4 matrix constructed from a int4x4 matrix by componentwise conversion.
Declaration
public static float4x4 float4x4(int4x4 v)
Parameters
Type |
Name |
Description |
int4x4 |
v |
|
Returns
float4x4(quaternion, float3)
Returns a float4x4 constructed from a quaternion and a float3 translation vector.
Declaration
public static float4x4 float4x4(quaternion rotation, float3 translation)
Parameters
Returns
Returns a float4x4 constructed from a RigidTransform.
Declaration
public static float4x4 float4x4(RigidTransform transform)
Parameters
Returns
float4x4(uint4x4)
Return a float4x4 matrix constructed from a uint4x4 matrix by componentwise conversion.
Declaration
public static float4x4 float4x4(uint4x4 v)
Parameters
Returns
floor(Double)
Returns the result of rounding a double value up to the nearest integral value less or equal to the original value.
Declaration
public static double floor(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
floor(Single)
Returns the result of rounding a float value up to the nearest integral value less or equal to the original value.
Declaration
public static float floor(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
floor(double2)
Returns the result of rounding each component of a double2 vector value down to the nearest value less or equal to the original value.
Declaration
public static double2 floor(double2 x)
Parameters
Returns
floor(double3)
Returns the result of rounding each component of a double3 vector value down to the nearest value less or equal to the original value.
Declaration
public static double3 floor(double3 x)
Parameters
Returns
floor(double4)
Returns the result of rounding each component of a double4 vector value down to the nearest value less or equal to the original value.
Declaration
public static double4 floor(double4 x)
Parameters
Returns
floor(float2)
Returns the result of rounding each component of a float2 vector value down to the nearest value less or equal to the original value.
Declaration
public static float2 floor(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
floor(float3)
Returns the result of rounding each component of a float3 vector value down to the nearest value less or equal to the original value.
Declaration
public static float3 floor(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
floor(float4)
Returns the result of rounding each component of a float4 vector value down to the nearest value less or equal to the original value.
Declaration
public static float4 floor(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
fmod(Double, Double)
Returns the double precision floating point remainder of x/y.
Declaration
public static double fmod(double x, double y)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
Returns
Type |
Description |
System.Double |
|
fmod(Single, Single)
Returns the floating point remainder of x/y.
Declaration
public static float fmod(float x, float y)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
Returns
Type |
Description |
System.Single |
|
fmod(double2, double2)
Returns the componentwise double precision floating point remainder of x/y.
Declaration
public static double2 fmod(double2 x, double2 y)
Parameters
Returns
fmod(double3, double3)
Returns the componentwise double precision floating point remainder of x/y.
Declaration
public static double3 fmod(double3 x, double3 y)
Parameters
Returns
fmod(double4, double4)
Returns the componentwise double precision floating point remainder of x/y.
Declaration
public static double4 fmod(double4 x, double4 y)
Parameters
Returns
fmod(float2, float2)
Returns the componentwise floating point remainder of x/y.
Declaration
public static float2 fmod(float2 x, float2 y)
Parameters
Returns
fmod(float3, float3)
Returns the componentwise floating point remainder of x/y.
Declaration
public static float3 fmod(float3 x, float3 y)
Parameters
Returns
fmod(float4, float4)
Returns the componentwise floating point remainder of x/y.
Declaration
public static float4 fmod(float4 x, float4 y)
Parameters
Returns
forward(quaternion)
Declaration
public static float3 forward(quaternion q)
Parameters
Returns
frac(Double)
Returns the fractional part of a double value.
Declaration
public static double frac(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
frac(Single)
Returns the fractional part of a float value.
Declaration
public static float frac(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
frac(double2)
Returns the componentwise fractional parts of a double2 vector.
Declaration
public static double2 frac(double2 x)
Parameters
Returns
frac(double3)
Returns the componentwise fractional parts of a double3 vector.
Declaration
public static double3 frac(double3 x)
Parameters
Returns
frac(double4)
Returns the componentwise fractional parts of a double4 vector.
Declaration
public static double4 frac(double4 x)
Parameters
Returns
frac(float2)
Returns the componentwise fractional parts of a float2 vector.
Declaration
public static float2 frac(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
frac(float3)
Returns the componentwise fractional parts of a float3 vector.
Declaration
public static float3 frac(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
frac(float4)
Returns the componentwise fractional parts of a float4 vector.
Declaration
public static float4 frac(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
half(Double)
Returns a half value constructed from a double value.
Declaration
public static half half(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
half(Single)
Returns a half value constructed from a float value.
Declaration
public static half half(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
half(half)
Returns a half value constructed from a half values.
Declaration
public static half half(half x)
Parameters
Type |
Name |
Description |
half |
x |
|
Returns
half2(Double)
Returns a half2 vector constructed from a single double value by converting it to half and assigning it to every component.
Declaration
public static half2 half2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
half2(Single)
Returns a half2 vector constructed from a single float value by converting it to half and assigning it to every component.
Declaration
public static half2 half2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
half2(double2)
Return a half2 vector constructed from a double2 vector by componentwise conversion.
Declaration
public static half2 half2(double2 v)
Parameters
Returns
half2(float2)
Return a half2 vector constructed from a float2 vector by componentwise conversion.
Declaration
public static half2 half2(float2 v)
Parameters
Type |
Name |
Description |
float2 |
v |
|
Returns
half2(half)
Returns a half2 vector constructed from a single half value by assigning it to every component.
Declaration
public static half2 half2(half v)
Parameters
Type |
Name |
Description |
half |
v |
|
Returns
half2(half, half)
Returns a half2 vector constructed from two half values.
Declaration
public static half2 half2(half x, half y)
Parameters
Returns
half2(half2)
Returns a half2 vector constructed from a half2 vector.
Declaration
public static half2 half2(half2 xy)
Parameters
Type |
Name |
Description |
half2 |
xy |
|
Returns
half3(Double)
Returns a half3 vector constructed from a single double value by converting it to half and assigning it to every component.
Declaration
public static half3 half3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
half3(Single)
Returns a half3 vector constructed from a single float value by converting it to half and assigning it to every component.
Declaration
public static half3 half3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
half3(double3)
Return a half3 vector constructed from a double3 vector by componentwise conversion.
Declaration
public static half3 half3(double3 v)
Parameters
Returns
half3(float3)
Return a half3 vector constructed from a float3 vector by componentwise conversion.
Declaration
public static half3 half3(float3 v)
Parameters
Type |
Name |
Description |
float3 |
v |
|
Returns
half3(half)
Returns a half3 vector constructed from a single half value by assigning it to every component.
Declaration
public static half3 half3(half v)
Parameters
Type |
Name |
Description |
half |
v |
|
Returns
half3(half, half, half)
Returns a half3 vector constructed from three half values.
Declaration
public static half3 half3(half x, half y, half z)
Parameters
Returns
half3(half, half2)
Returns a half3 vector constructed from a half value and a half2 vector.
Declaration
public static half3 half3(half x, half2 yz)
Parameters
Returns
half3(half2, half)
Returns a half3 vector constructed from a half2 vector and a half value.
Declaration
public static half3 half3(half2 xy, half z)
Parameters
Returns
half3(half3)
Returns a half3 vector constructed from a half3 vector.
Declaration
public static half3 half3(half3 xyz)
Parameters
Type |
Name |
Description |
half3 |
xyz |
|
Returns
half4(Double)
Returns a half4 vector constructed from a single double value by converting it to half and assigning it to every component.
Declaration
public static half4 half4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
half4(Single)
Returns a half4 vector constructed from a single float value by converting it to half and assigning it to every component.
Declaration
public static half4 half4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
half4(double4)
Return a half4 vector constructed from a double4 vector by componentwise conversion.
Declaration
public static half4 half4(double4 v)
Parameters
Returns
half4(float4)
Return a half4 vector constructed from a float4 vector by componentwise conversion.
Declaration
public static half4 half4(float4 v)
Parameters
Type |
Name |
Description |
float4 |
v |
|
Returns
half4(half)
Returns a half4 vector constructed from a single half value by assigning it to every component.
Declaration
public static half4 half4(half v)
Parameters
Type |
Name |
Description |
half |
v |
|
Returns
half4(half, half, half, half)
Returns a half4 vector constructed from four half values.
Declaration
public static half4 half4(half x, half y, half z, half w)
Parameters
Returns
half4(half, half, half2)
Returns a half4 vector constructed from two half values and a half2 vector.
Declaration
public static half4 half4(half x, half y, half2 zw)
Parameters
Returns
half4(half, half2, half)
Returns a half4 vector constructed from a half value, a half2 vector and a half value.
Declaration
public static half4 half4(half x, half2 yz, half w)
Parameters
Returns
half4(half, half3)
Returns a half4 vector constructed from a half value and a half3 vector.
Declaration
public static half4 half4(half x, half3 yzw)
Parameters
Returns
half4(half2, half, half)
Returns a half4 vector constructed from a half2 vector and two half values.
Declaration
public static half4 half4(half2 xy, half z, half w)
Parameters
Returns
half4(half2, half2)
Returns a half4 vector constructed from two half2 vectors.
Declaration
public static half4 half4(half2 xy, half2 zw)
Parameters
Returns
half4(half3, half)
Returns a half4 vector constructed from a half3 vector and a half value.
Declaration
public static half4 half4(half3 xyz, half w)
Parameters
Returns
half4(half4)
Returns a half4 vector constructed from a half4 vector.
Declaration
public static half4 half4(half4 xyzw)
Parameters
Type |
Name |
Description |
half4 |
xyzw |
|
Returns
hash(Void*, Int32, UInt32)
Returns a uint hash from a block of memory using the xxhash32 algorithm. Can only be used in an unsafe context.
Declaration
public static uint hash(void *pBuffer, int numBytes, uint seed = 0U)
Parameters
Type |
Name |
Description |
System.Void* |
pBuffer |
A pointer to the beginning of the data.
|
System.Int32 |
numBytes |
Number of bytes to hash.
|
System.UInt32 |
seed |
Starting seed value.
|
Returns
Type |
Description |
System.UInt32 |
|
hash(bool2)
Returns a uint hash code of a bool2 vector.
Declaration
public static uint hash(bool2 v)
Parameters
Type |
Name |
Description |
bool2 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(bool2x2)
Returns a uint hash code of a bool2x2 vector.
Declaration
public static uint hash(bool2x2 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(bool2x3)
Returns a uint hash code of a bool2x3 vector.
Declaration
public static uint hash(bool2x3 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(bool2x4)
Returns a uint hash code of a bool2x4 vector.
Declaration
public static uint hash(bool2x4 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(bool3)
Returns a uint hash code of a bool3 vector.
Declaration
public static uint hash(bool3 v)
Parameters
Type |
Name |
Description |
bool3 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(bool3x2)
Returns a uint hash code of a bool3x2 vector.
Declaration
public static uint hash(bool3x2 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(bool3x3)
Returns a uint hash code of a bool3x3 vector.
Declaration
public static uint hash(bool3x3 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(bool3x4)
Returns a uint hash code of a bool3x4 vector.
Declaration
public static uint hash(bool3x4 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(bool4)
Returns a uint hash code of a bool4 vector.
Declaration
public static uint hash(bool4 v)
Parameters
Type |
Name |
Description |
bool4 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(bool4x2)
Returns a uint hash code of a bool4x2 vector.
Declaration
public static uint hash(bool4x2 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(bool4x3)
Returns a uint hash code of a bool4x3 vector.
Declaration
public static uint hash(bool4x3 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(bool4x4)
Returns a uint hash code of a bool4x4 vector.
Declaration
public static uint hash(bool4x4 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(double2)
Returns a uint hash code of a double2 vector.
Declaration
public static uint hash(double2 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(double2x2)
Returns a uint hash code of a double2x2 vector.
Declaration
public static uint hash(double2x2 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(double2x3)
Returns a uint hash code of a double2x3 vector.
Declaration
public static uint hash(double2x3 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(double2x4)
Returns a uint hash code of a double2x4 vector.
Declaration
public static uint hash(double2x4 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(double3)
Returns a uint hash code of a double3 vector.
Declaration
public static uint hash(double3 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(double3x2)
Returns a uint hash code of a double3x2 vector.
Declaration
public static uint hash(double3x2 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(double3x3)
Returns a uint hash code of a double3x3 vector.
Declaration
public static uint hash(double3x3 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(double3x4)
Returns a uint hash code of a double3x4 vector.
Declaration
public static uint hash(double3x4 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(double4)
Returns a uint hash code of a double4 vector.
Declaration
public static uint hash(double4 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(double4x2)
Returns a uint hash code of a double4x2 vector.
Declaration
public static uint hash(double4x2 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(double4x3)
Returns a uint hash code of a double4x3 vector.
Declaration
public static uint hash(double4x3 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(double4x4)
Returns a uint hash code of a double4x4 vector.
Declaration
public static uint hash(double4x4 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(float2)
Returns a uint hash code of a float2 vector.
Declaration
public static uint hash(float2 v)
Parameters
Type |
Name |
Description |
float2 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(float2x2)
Returns a uint hash code of a float2x2 vector.
Declaration
public static uint hash(float2x2 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(float2x3)
Returns a uint hash code of a float2x3 vector.
Declaration
public static uint hash(float2x3 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(float2x4)
Returns a uint hash code of a float2x4 vector.
Declaration
public static uint hash(float2x4 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(float3)
Returns a uint hash code of a float3 vector.
Declaration
public static uint hash(float3 v)
Parameters
Type |
Name |
Description |
float3 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(float3x2)
Returns a uint hash code of a float3x2 vector.
Declaration
public static uint hash(float3x2 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(float3x3)
Returns a uint hash code of a float3x3 vector.
Declaration
public static uint hash(float3x3 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(float3x4)
Returns a uint hash code of a float3x4 vector.
Declaration
public static uint hash(float3x4 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(float4)
Returns a uint hash code of a float4 vector.
Declaration
public static uint hash(float4 v)
Parameters
Type |
Name |
Description |
float4 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(float4x2)
Returns a uint hash code of a float4x2 vector.
Declaration
public static uint hash(float4x2 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(float4x3)
Returns a uint hash code of a float4x3 vector.
Declaration
public static uint hash(float4x3 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(float4x4)
Returns a uint hash code of a float4x4 vector.
Declaration
public static uint hash(float4x4 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(half)
Returns a uint hash code of a half value.
Declaration
public static uint hash(half v)
Parameters
Type |
Name |
Description |
half |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(half2)
Returns a uint hash code of a half2 vector.
Declaration
public static uint hash(half2 v)
Parameters
Type |
Name |
Description |
half2 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(half3)
Returns a uint hash code of a half3 vector.
Declaration
public static uint hash(half3 v)
Parameters
Type |
Name |
Description |
half3 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(half4)
Returns a uint hash code of a half4 vector.
Declaration
public static uint hash(half4 v)
Parameters
Type |
Name |
Description |
half4 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(int2)
Returns a uint hash code of a int2 vector.
Declaration
public static uint hash(int2 v)
Parameters
Type |
Name |
Description |
int2 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(int2x2)
Returns a uint hash code of a int2x2 vector.
Declaration
public static uint hash(int2x2 v)
Parameters
Type |
Name |
Description |
int2x2 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(int2x3)
Returns a uint hash code of a int2x3 vector.
Declaration
public static uint hash(int2x3 v)
Parameters
Type |
Name |
Description |
int2x3 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(int2x4)
Returns a uint hash code of a int2x4 vector.
Declaration
public static uint hash(int2x4 v)
Parameters
Type |
Name |
Description |
int2x4 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(int3)
Returns a uint hash code of a int3 vector.
Declaration
public static uint hash(int3 v)
Parameters
Type |
Name |
Description |
int3 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(int3x2)
Returns a uint hash code of a int3x2 vector.
Declaration
public static uint hash(int3x2 v)
Parameters
Type |
Name |
Description |
int3x2 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(int3x3)
Returns a uint hash code of a int3x3 vector.
Declaration
public static uint hash(int3x3 v)
Parameters
Type |
Name |
Description |
int3x3 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(int3x4)
Returns a uint hash code of a int3x4 vector.
Declaration
public static uint hash(int3x4 v)
Parameters
Type |
Name |
Description |
int3x4 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(int4)
Returns a uint hash code of a int4 vector.
Declaration
public static uint hash(int4 v)
Parameters
Type |
Name |
Description |
int4 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(int4x2)
Returns a uint hash code of a int4x2 vector.
Declaration
public static uint hash(int4x2 v)
Parameters
Type |
Name |
Description |
int4x2 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(int4x3)
Returns a uint hash code of a int4x3 vector.
Declaration
public static uint hash(int4x3 v)
Parameters
Type |
Name |
Description |
int4x3 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(int4x4)
Returns a uint hash code of a int4x4 vector.
Declaration
public static uint hash(int4x4 v)
Parameters
Type |
Name |
Description |
int4x4 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(quaternion)
Returns a uint hash code of a quaternion.
Declaration
public static uint hash(quaternion q)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
Returns a uint hash code of a RigidTransform.
Declaration
public static uint hash(RigidTransform t)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(uint2)
Returns a uint hash code of a uint2 vector.
Declaration
public static uint hash(uint2 v)
Parameters
Type |
Name |
Description |
uint2 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(uint2x2)
Returns a uint hash code of a uint2x2 vector.
Declaration
public static uint hash(uint2x2 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(uint2x3)
Returns a uint hash code of a uint2x3 vector.
Declaration
public static uint hash(uint2x3 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(uint2x4)
Returns a uint hash code of a uint2x4 vector.
Declaration
public static uint hash(uint2x4 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(uint3)
Returns a uint hash code of a uint3 vector.
Declaration
public static uint hash(uint3 v)
Parameters
Type |
Name |
Description |
uint3 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(uint3x2)
Returns a uint hash code of a uint3x2 vector.
Declaration
public static uint hash(uint3x2 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(uint3x3)
Returns a uint hash code of a uint3x3 vector.
Declaration
public static uint hash(uint3x3 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(uint3x4)
Returns a uint hash code of a uint3x4 vector.
Declaration
public static uint hash(uint3x4 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(uint4)
Returns a uint hash code of a uint4 vector.
Declaration
public static uint hash(uint4 v)
Parameters
Type |
Name |
Description |
uint4 |
v |
|
Returns
Type |
Description |
System.UInt32 |
|
hash(uint4x2)
Returns a uint hash code of a uint4x2 vector.
Declaration
public static uint hash(uint4x2 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(uint4x3)
Returns a uint hash code of a uint4x3 vector.
Declaration
public static uint hash(uint4x3 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hash(uint4x4)
Returns a uint hash code of a uint4x4 vector.
Declaration
public static uint hash(uint4x4 v)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
hashwide(bool2)
Returns a uint2 vector hash code of a bool2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(bool2 v)
Parameters
Type |
Name |
Description |
bool2 |
v |
|
Returns
hashwide(bool2x2)
Returns a uint2 vector hash code of a bool2x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(bool2x2 v)
Parameters
Returns
hashwide(bool2x3)
Returns a uint2 vector hash code of a bool2x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(bool2x3 v)
Parameters
Returns
hashwide(bool2x4)
Returns a uint2 vector hash code of a bool2x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(bool2x4 v)
Parameters
Returns
hashwide(bool3)
Returns a uint3 vector hash code of a bool3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(bool3 v)
Parameters
Type |
Name |
Description |
bool3 |
v |
|
Returns
hashwide(bool3x2)
Returns a uint3 vector hash code of a bool3x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(bool3x2 v)
Parameters
Returns
hashwide(bool3x3)
Returns a uint3 vector hash code of a bool3x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(bool3x3 v)
Parameters
Returns
hashwide(bool3x4)
Returns a uint3 vector hash code of a bool3x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(bool3x4 v)
Parameters
Returns
hashwide(bool4)
Returns a uint4 vector hash code of a bool4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(bool4 v)
Parameters
Type |
Name |
Description |
bool4 |
v |
|
Returns
hashwide(bool4x2)
Returns a uint4 vector hash code of a bool4x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(bool4x2 v)
Parameters
Returns
hashwide(bool4x3)
Returns a uint4 vector hash code of a bool4x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(bool4x3 v)
Parameters
Returns
hashwide(bool4x4)
Returns a uint4 vector hash code of a bool4x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(bool4x4 v)
Parameters
Returns
hashwide(double2)
Returns a uint2 vector hash code of a double2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(double2 v)
Parameters
Returns
hashwide(double2x2)
Returns a uint2 vector hash code of a double2x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(double2x2 v)
Parameters
Returns
hashwide(double2x3)
Returns a uint2 vector hash code of a double2x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(double2x3 v)
Parameters
Returns
hashwide(double2x4)
Returns a uint2 vector hash code of a double2x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(double2x4 v)
Parameters
Returns
hashwide(double3)
Returns a uint3 vector hash code of a double3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(double3 v)
Parameters
Returns
hashwide(double3x2)
Returns a uint3 vector hash code of a double3x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(double3x2 v)
Parameters
Returns
hashwide(double3x3)
Returns a uint3 vector hash code of a double3x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(double3x3 v)
Parameters
Returns
hashwide(double3x4)
Returns a uint3 vector hash code of a double3x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(double3x4 v)
Parameters
Returns
hashwide(double4)
Returns a uint4 vector hash code of a double4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(double4 v)
Parameters
Returns
hashwide(double4x2)
Returns a uint4 vector hash code of a double4x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(double4x2 v)
Parameters
Returns
hashwide(double4x3)
Returns a uint4 vector hash code of a double4x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(double4x3 v)
Parameters
Returns
hashwide(double4x4)
Returns a uint4 vector hash code of a double4x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(double4x4 v)
Parameters
Returns
hashwide(float2)
Returns a uint2 vector hash code of a float2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(float2 v)
Parameters
Type |
Name |
Description |
float2 |
v |
|
Returns
hashwide(float2x2)
Returns a uint2 vector hash code of a float2x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(float2x2 v)
Parameters
Returns
hashwide(float2x3)
Returns a uint2 vector hash code of a float2x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(float2x3 v)
Parameters
Returns
hashwide(float2x4)
Returns a uint2 vector hash code of a float2x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(float2x4 v)
Parameters
Returns
hashwide(float3)
Returns a uint3 vector hash code of a float3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(float3 v)
Parameters
Type |
Name |
Description |
float3 |
v |
|
Returns
hashwide(float3x2)
Returns a uint3 vector hash code of a float3x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(float3x2 v)
Parameters
Returns
hashwide(float3x3)
Returns a uint3 vector hash code of a float3x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(float3x3 v)
Parameters
Returns
hashwide(float3x4)
Returns a uint3 vector hash code of a float3x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(float3x4 v)
Parameters
Returns
hashwide(float4)
Returns a uint4 vector hash code of a float4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(float4 v)
Parameters
Type |
Name |
Description |
float4 |
v |
|
Returns
hashwide(float4x2)
Returns a uint4 vector hash code of a float4x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(float4x2 v)
Parameters
Returns
hashwide(float4x3)
Returns a uint4 vector hash code of a float4x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(float4x3 v)
Parameters
Returns
hashwide(float4x4)
Returns a uint4 vector hash code of a float4x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(float4x4 v)
Parameters
Returns
hashwide(half2)
Returns a uint2 vector hash code of a half2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(half2 v)
Parameters
Type |
Name |
Description |
half2 |
v |
|
Returns
hashwide(half3)
Returns a uint3 vector hash code of a half3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(half3 v)
Parameters
Type |
Name |
Description |
half3 |
v |
|
Returns
hashwide(half4)
Returns a uint4 vector hash code of a half4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(half4 v)
Parameters
Type |
Name |
Description |
half4 |
v |
|
Returns
hashwide(int2)
Returns a uint2 vector hash code of a int2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(int2 v)
Parameters
Type |
Name |
Description |
int2 |
v |
|
Returns
hashwide(int2x2)
Returns a uint2 vector hash code of a int2x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(int2x2 v)
Parameters
Type |
Name |
Description |
int2x2 |
v |
|
Returns
hashwide(int2x3)
Returns a uint2 vector hash code of a int2x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(int2x3 v)
Parameters
Type |
Name |
Description |
int2x3 |
v |
|
Returns
hashwide(int2x4)
Returns a uint2 vector hash code of a int2x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(int2x4 v)
Parameters
Type |
Name |
Description |
int2x4 |
v |
|
Returns
hashwide(int3)
Returns a uint3 vector hash code of a int3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(int3 v)
Parameters
Type |
Name |
Description |
int3 |
v |
|
Returns
hashwide(int3x2)
Returns a uint3 vector hash code of a int3x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(int3x2 v)
Parameters
Type |
Name |
Description |
int3x2 |
v |
|
Returns
hashwide(int3x3)
Returns a uint3 vector hash code of a int3x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(int3x3 v)
Parameters
Type |
Name |
Description |
int3x3 |
v |
|
Returns
hashwide(int3x4)
Returns a uint3 vector hash code of a int3x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(int3x4 v)
Parameters
Type |
Name |
Description |
int3x4 |
v |
|
Returns
hashwide(int4)
Returns a uint4 vector hash code of a int4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(int4 v)
Parameters
Type |
Name |
Description |
int4 |
v |
|
Returns
hashwide(int4x2)
Returns a uint4 vector hash code of a int4x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(int4x2 v)
Parameters
Type |
Name |
Description |
int4x2 |
v |
|
Returns
hashwide(int4x3)
Returns a uint4 vector hash code of a int4x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(int4x3 v)
Parameters
Type |
Name |
Description |
int4x3 |
v |
|
Returns
hashwide(int4x4)
Returns a uint4 vector hash code of a int4x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(int4x4 v)
Parameters
Type |
Name |
Description |
int4x4 |
v |
|
Returns
hashwide(quaternion)
Returns a uint4 vector hash code of a quaternion.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(quaternion q)
Parameters
Returns
Returns a uint4 vector hash code of a RigidTransform.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(RigidTransform t)
Parameters
Returns
hashwide(uint2)
Returns a uint2 vector hash code of a uint2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(uint2 v)
Parameters
Type |
Name |
Description |
uint2 |
v |
|
Returns
hashwide(uint2x2)
Returns a uint2 vector hash code of a uint2x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(uint2x2 v)
Parameters
Returns
hashwide(uint2x3)
Returns a uint2 vector hash code of a uint2x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(uint2x3 v)
Parameters
Returns
hashwide(uint2x4)
Returns a uint2 vector hash code of a uint2x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint2 hashwide(uint2x4 v)
Parameters
Returns
hashwide(uint3)
Returns a uint3 vector hash code of a uint3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(uint3 v)
Parameters
Type |
Name |
Description |
uint3 |
v |
|
Returns
hashwide(uint3x2)
Returns a uint3 vector hash code of a uint3x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(uint3x2 v)
Parameters
Returns
hashwide(uint3x3)
Returns a uint3 vector hash code of a uint3x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(uint3x3 v)
Parameters
Returns
hashwide(uint3x4)
Returns a uint3 vector hash code of a uint3x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint3 hashwide(uint3x4 v)
Parameters
Returns
hashwide(uint4)
Returns a uint4 vector hash code of a uint4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(uint4 v)
Parameters
Type |
Name |
Description |
uint4 |
v |
|
Returns
hashwide(uint4x2)
Returns a uint4 vector hash code of a uint4x2 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(uint4x2 v)
Parameters
Returns
hashwide(uint4x3)
Returns a uint4 vector hash code of a uint4x3 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(uint4x3 v)
Parameters
Returns
hashwide(uint4x4)
Returns a uint4 vector hash code of a uint4x4 vector.
When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
that are only reduced to a narrow uint hash at the very end instead of at every step.
Declaration
public static uint4 hashwide(uint4x4 v)
Parameters
Returns
int2(Boolean)
Returns a int2 vector constructed from a single bool value by converting it to int and assigning it to every component.
Declaration
public static int2 int2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
int2(Double)
Returns a int2 vector constructed from a single double value by converting it to int and assigning it to every component.
Declaration
public static int2 int2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
int2(Int32)
Returns a int2 vector constructed from a single int value by assigning it to every component.
Declaration
public static int2 int2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
int2(Int32, Int32)
Returns a int2 vector constructed from two int values.
Declaration
public static int2 int2(int x, int y)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
Returns
int2(Single)
Returns a int2 vector constructed from a single float value by converting it to int and assigning it to every component.
Declaration
public static int2 int2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
int2(UInt32)
Returns a int2 vector constructed from a single uint value by converting it to int and assigning it to every component.
Declaration
public static int2 int2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
int2(bool2)
Return a int2 vector constructed from a bool2 vector by componentwise conversion.
Declaration
public static int2 int2(bool2 v)
Parameters
Type |
Name |
Description |
bool2 |
v |
|
Returns
int2(double2)
Return a int2 vector constructed from a double2 vector by componentwise conversion.
Declaration
public static int2 int2(double2 v)
Parameters
Returns
int2(float2)
Return a int2 vector constructed from a float2 vector by componentwise conversion.
Declaration
public static int2 int2(float2 v)
Parameters
Type |
Name |
Description |
float2 |
v |
|
Returns
int2(int2)
Returns a int2 vector constructed from an int2 vector.
Declaration
public static int2 int2(int2 xy)
Parameters
Type |
Name |
Description |
int2 |
xy |
|
Returns
int2(uint2)
Return a int2 vector constructed from a uint2 vector by componentwise conversion.
Declaration
public static int2 int2(uint2 v)
Parameters
Type |
Name |
Description |
uint2 |
v |
|
Returns
int2x2(Boolean)
Returns a int2x2 matrix constructed from a single bool value by converting it to int and assigning it to every component.
Declaration
public static int2x2 int2x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
int2x2(Double)
Returns a int2x2 matrix constructed from a single double value by converting it to int and assigning it to every component.
Declaration
public static int2x2 int2x2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
int2x2(Int32)
Returns a int2x2 matrix constructed from a single int value by assigning it to every component.
Declaration
public static int2x2 int2x2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
int2x2(Int32, Int32, Int32, Int32)
Returns a int2x2 matrix constructed from from 4 int values given in row-major order.
Declaration
public static int2x2 int2x2(int m00, int m01, int m10, int m11)
Parameters
Type |
Name |
Description |
System.Int32 |
m00 |
|
System.Int32 |
m01 |
|
System.Int32 |
m10 |
|
System.Int32 |
m11 |
|
Returns
int2x2(Single)
Returns a int2x2 matrix constructed from a single float value by converting it to int and assigning it to every component.
Declaration
public static int2x2 int2x2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
int2x2(UInt32)
Returns a int2x2 matrix constructed from a single uint value by converting it to int and assigning it to every component.
Declaration
public static int2x2 int2x2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
int2x2(bool2x2)
Return a int2x2 matrix constructed from a bool2x2 matrix by componentwise conversion.
Declaration
public static int2x2 int2x2(bool2x2 v)
Parameters
Returns
int2x2(double2x2)
Return a int2x2 matrix constructed from a double2x2 matrix by componentwise conversion.
Declaration
public static int2x2 int2x2(double2x2 v)
Parameters
Returns
int2x2(float2x2)
Return a int2x2 matrix constructed from a float2x2 matrix by componentwise conversion.
Declaration
public static int2x2 int2x2(float2x2 v)
Parameters
Returns
int2x2(int2, int2)
Returns a int2x2 matrix constructed from two int2 vectors.
Declaration
public static int2x2 int2x2(int2 c0, int2 c1)
Parameters
Returns
int2x2(uint2x2)
Return a int2x2 matrix constructed from a uint2x2 matrix by componentwise conversion.
Declaration
public static int2x2 int2x2(uint2x2 v)
Parameters
Returns
int2x3(Boolean)
Returns a int2x3 matrix constructed from a single bool value by converting it to int and assigning it to every component.
Declaration
public static int2x3 int2x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
int2x3(Double)
Returns a int2x3 matrix constructed from a single double value by converting it to int and assigning it to every component.
Declaration
public static int2x3 int2x3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
int2x3(Int32)
Returns a int2x3 matrix constructed from a single int value by assigning it to every component.
Declaration
public static int2x3 int2x3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
int2x3(Int32, Int32, Int32, Int32, Int32, Int32)
Returns a int2x3 matrix constructed from from 6 int values given in row-major order.
Declaration
public static int2x3 int2x3(int m00, int m01, int m02, int m10, int m11, int m12)
Parameters
Type |
Name |
Description |
System.Int32 |
m00 |
|
System.Int32 |
m01 |
|
System.Int32 |
m02 |
|
System.Int32 |
m10 |
|
System.Int32 |
m11 |
|
System.Int32 |
m12 |
|
Returns
int2x3(Single)
Returns a int2x3 matrix constructed from a single float value by converting it to int and assigning it to every component.
Declaration
public static int2x3 int2x3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
int2x3(UInt32)
Returns a int2x3 matrix constructed from a single uint value by converting it to int and assigning it to every component.
Declaration
public static int2x3 int2x3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
int2x3(bool2x3)
Return a int2x3 matrix constructed from a bool2x3 matrix by componentwise conversion.
Declaration
public static int2x3 int2x3(bool2x3 v)
Parameters
Returns
int2x3(double2x3)
Return a int2x3 matrix constructed from a double2x3 matrix by componentwise conversion.
Declaration
public static int2x3 int2x3(double2x3 v)
Parameters
Returns
int2x3(float2x3)
Return a int2x3 matrix constructed from a float2x3 matrix by componentwise conversion.
Declaration
public static int2x3 int2x3(float2x3 v)
Parameters
Returns
int2x3(int2, int2, int2)
Returns a int2x3 matrix constructed from three int2 vectors.
Declaration
public static int2x3 int2x3(int2 c0, int2 c1, int2 c2)
Parameters
Returns
int2x3(uint2x3)
Return a int2x3 matrix constructed from a uint2x3 matrix by componentwise conversion.
Declaration
public static int2x3 int2x3(uint2x3 v)
Parameters
Returns
int2x4(Boolean)
Returns a int2x4 matrix constructed from a single bool value by converting it to int and assigning it to every component.
Declaration
public static int2x4 int2x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
int2x4(Double)
Returns a int2x4 matrix constructed from a single double value by converting it to int and assigning it to every component.
Declaration
public static int2x4 int2x4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
int2x4(Int32)
Returns a int2x4 matrix constructed from a single int value by assigning it to every component.
Declaration
public static int2x4 int2x4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
int2x4(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Returns a int2x4 matrix constructed from from 8 int values given in row-major order.
Declaration
public static int2x4 int2x4(int m00, int m01, int m02, int m03, int m10, int m11, int m12, int m13)
Parameters
Type |
Name |
Description |
System.Int32 |
m00 |
|
System.Int32 |
m01 |
|
System.Int32 |
m02 |
|
System.Int32 |
m03 |
|
System.Int32 |
m10 |
|
System.Int32 |
m11 |
|
System.Int32 |
m12 |
|
System.Int32 |
m13 |
|
Returns
int2x4(Single)
Returns a int2x4 matrix constructed from a single float value by converting it to int and assigning it to every component.
Declaration
public static int2x4 int2x4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
int2x4(UInt32)
Returns a int2x4 matrix constructed from a single uint value by converting it to int and assigning it to every component.
Declaration
public static int2x4 int2x4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
int2x4(bool2x4)
Return a int2x4 matrix constructed from a bool2x4 matrix by componentwise conversion.
Declaration
public static int2x4 int2x4(bool2x4 v)
Parameters
Returns
int2x4(double2x4)
Return a int2x4 matrix constructed from a double2x4 matrix by componentwise conversion.
Declaration
public static int2x4 int2x4(double2x4 v)
Parameters
Returns
int2x4(float2x4)
Return a int2x4 matrix constructed from a float2x4 matrix by componentwise conversion.
Declaration
public static int2x4 int2x4(float2x4 v)
Parameters
Returns
int2x4(int2, int2, int2, int2)
Returns a int2x4 matrix constructed from four int2 vectors.
Declaration
public static int2x4 int2x4(int2 c0, int2 c1, int2 c2, int2 c3)
Parameters
Returns
int2x4(uint2x4)
Return a int2x4 matrix constructed from a uint2x4 matrix by componentwise conversion.
Declaration
public static int2x4 int2x4(uint2x4 v)
Parameters
Returns
int3(Boolean)
Returns a int3 vector constructed from a single bool value by converting it to int and assigning it to every component.
Declaration
public static int3 int3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
int3(Double)
Returns a int3 vector constructed from a single double value by converting it to int and assigning it to every component.
Declaration
public static int3 int3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
int3(Int32)
Returns a int3 vector constructed from a single int value by assigning it to every component.
Declaration
public static int3 int3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
int3(Int32, Int32, Int32)
Returns a int3 vector constructed from three int values.
Declaration
public static int3 int3(int x, int y, int z)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
z |
|
Returns
int3(Int32, int2)
Returns a int3 vector constructed from an int value and an int2 vector.
Declaration
public static int3 int3(int x, int2 yz)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
int2 |
yz |
|
Returns
int3(Single)
Returns a int3 vector constructed from a single float value by converting it to int and assigning it to every component.
Declaration
public static int3 int3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
int3(UInt32)
Returns a int3 vector constructed from a single uint value by converting it to int and assigning it to every component.
Declaration
public static int3 int3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
int3(bool3)
Return a int3 vector constructed from a bool3 vector by componentwise conversion.
Declaration
public static int3 int3(bool3 v)
Parameters
Type |
Name |
Description |
bool3 |
v |
|
Returns
int3(double3)
Return a int3 vector constructed from a double3 vector by componentwise conversion.
Declaration
public static int3 int3(double3 v)
Parameters
Returns
int3(float3)
Return a int3 vector constructed from a float3 vector by componentwise conversion.
Declaration
public static int3 int3(float3 v)
Parameters
Type |
Name |
Description |
float3 |
v |
|
Returns
int3(int2, Int32)
Returns a int3 vector constructed from an int2 vector and an int value.
Declaration
public static int3 int3(int2 xy, int z)
Parameters
Type |
Name |
Description |
int2 |
xy |
|
System.Int32 |
z |
|
Returns
int3(int3)
Returns a int3 vector constructed from an int3 vector.
Declaration
public static int3 int3(int3 xyz)
Parameters
Type |
Name |
Description |
int3 |
xyz |
|
Returns
int3(uint3)
Return a int3 vector constructed from a uint3 vector by componentwise conversion.
Declaration
public static int3 int3(uint3 v)
Parameters
Type |
Name |
Description |
uint3 |
v |
|
Returns
int3x2(Boolean)
Returns a int3x2 matrix constructed from a single bool value by converting it to int and assigning it to every component.
Declaration
public static int3x2 int3x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
int3x2(Double)
Returns a int3x2 matrix constructed from a single double value by converting it to int and assigning it to every component.
Declaration
public static int3x2 int3x2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
int3x2(Int32)
Returns a int3x2 matrix constructed from a single int value by assigning it to every component.
Declaration
public static int3x2 int3x2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
int3x2(Int32, Int32, Int32, Int32, Int32, Int32)
Returns a int3x2 matrix constructed from from 6 int values given in row-major order.
Declaration
public static int3x2 int3x2(int m00, int m01, int m10, int m11, int m20, int m21)
Parameters
Type |
Name |
Description |
System.Int32 |
m00 |
|
System.Int32 |
m01 |
|
System.Int32 |
m10 |
|
System.Int32 |
m11 |
|
System.Int32 |
m20 |
|
System.Int32 |
m21 |
|
Returns
int3x2(Single)
Returns a int3x2 matrix constructed from a single float value by converting it to int and assigning it to every component.
Declaration
public static int3x2 int3x2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
int3x2(UInt32)
Returns a int3x2 matrix constructed from a single uint value by converting it to int and assigning it to every component.
Declaration
public static int3x2 int3x2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
int3x2(bool3x2)
Return a int3x2 matrix constructed from a bool3x2 matrix by componentwise conversion.
Declaration
public static int3x2 int3x2(bool3x2 v)
Parameters
Returns
int3x2(double3x2)
Return a int3x2 matrix constructed from a double3x2 matrix by componentwise conversion.
Declaration
public static int3x2 int3x2(double3x2 v)
Parameters
Returns
int3x2(float3x2)
Return a int3x2 matrix constructed from a float3x2 matrix by componentwise conversion.
Declaration
public static int3x2 int3x2(float3x2 v)
Parameters
Returns
int3x2(int3, int3)
Returns a int3x2 matrix constructed from two int3 vectors.
Declaration
public static int3x2 int3x2(int3 c0, int3 c1)
Parameters
Returns
int3x2(uint3x2)
Return a int3x2 matrix constructed from a uint3x2 matrix by componentwise conversion.
Declaration
public static int3x2 int3x2(uint3x2 v)
Parameters
Returns
int3x3(Boolean)
Returns a int3x3 matrix constructed from a single bool value by converting it to int and assigning it to every component.
Declaration
public static int3x3 int3x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
int3x3(Double)
Returns a int3x3 matrix constructed from a single double value by converting it to int and assigning it to every component.
Declaration
public static int3x3 int3x3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
int3x3(Int32)
Returns a int3x3 matrix constructed from a single int value by assigning it to every component.
Declaration
public static int3x3 int3x3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
int3x3(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Returns a int3x3 matrix constructed from from 9 int values given in row-major order.
Declaration
public static int3x3 int3x3(int m00, int m01, int m02, int m10, int m11, int m12, int m20, int m21, int m22)
Parameters
Type |
Name |
Description |
System.Int32 |
m00 |
|
System.Int32 |
m01 |
|
System.Int32 |
m02 |
|
System.Int32 |
m10 |
|
System.Int32 |
m11 |
|
System.Int32 |
m12 |
|
System.Int32 |
m20 |
|
System.Int32 |
m21 |
|
System.Int32 |
m22 |
|
Returns
int3x3(Single)
Returns a int3x3 matrix constructed from a single float value by converting it to int and assigning it to every component.
Declaration
public static int3x3 int3x3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
int3x3(UInt32)
Returns a int3x3 matrix constructed from a single uint value by converting it to int and assigning it to every component.
Declaration
public static int3x3 int3x3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
int3x3(bool3x3)
Return a int3x3 matrix constructed from a bool3x3 matrix by componentwise conversion.
Declaration
public static int3x3 int3x3(bool3x3 v)
Parameters
Returns
int3x3(double3x3)
Return a int3x3 matrix constructed from a double3x3 matrix by componentwise conversion.
Declaration
public static int3x3 int3x3(double3x3 v)
Parameters
Returns
int3x3(float3x3)
Return a int3x3 matrix constructed from a float3x3 matrix by componentwise conversion.
Declaration
public static int3x3 int3x3(float3x3 v)
Parameters
Returns
int3x3(int3, int3, int3)
Returns a int3x3 matrix constructed from three int3 vectors.
Declaration
public static int3x3 int3x3(int3 c0, int3 c1, int3 c2)
Parameters
Returns
int3x3(uint3x3)
Return a int3x3 matrix constructed from a uint3x3 matrix by componentwise conversion.
Declaration
public static int3x3 int3x3(uint3x3 v)
Parameters
Returns
int3x4(Boolean)
Returns a int3x4 matrix constructed from a single bool value by converting it to int and assigning it to every component.
Declaration
public static int3x4 int3x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
int3x4(Double)
Returns a int3x4 matrix constructed from a single double value by converting it to int and assigning it to every component.
Declaration
public static int3x4 int3x4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
int3x4(Int32)
Returns a int3x4 matrix constructed from a single int value by assigning it to every component.
Declaration
public static int3x4 int3x4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
int3x4(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Returns a int3x4 matrix constructed from from 12 int values given in row-major order.
Declaration
public static int3x4 int3x4(int m00, int m01, int m02, int m03, int m10, int m11, int m12, int m13, int m20, int m21, int m22, int m23)
Parameters
Type |
Name |
Description |
System.Int32 |
m00 |
|
System.Int32 |
m01 |
|
System.Int32 |
m02 |
|
System.Int32 |
m03 |
|
System.Int32 |
m10 |
|
System.Int32 |
m11 |
|
System.Int32 |
m12 |
|
System.Int32 |
m13 |
|
System.Int32 |
m20 |
|
System.Int32 |
m21 |
|
System.Int32 |
m22 |
|
System.Int32 |
m23 |
|
Returns
int3x4(Single)
Returns a int3x4 matrix constructed from a single float value by converting it to int and assigning it to every component.
Declaration
public static int3x4 int3x4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
int3x4(UInt32)
Returns a int3x4 matrix constructed from a single uint value by converting it to int and assigning it to every component.
Declaration
public static int3x4 int3x4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
int3x4(bool3x4)
Return a int3x4 matrix constructed from a bool3x4 matrix by componentwise conversion.
Declaration
public static int3x4 int3x4(bool3x4 v)
Parameters
Returns
int3x4(double3x4)
Return a int3x4 matrix constructed from a double3x4 matrix by componentwise conversion.
Declaration
public static int3x4 int3x4(double3x4 v)
Parameters
Returns
int3x4(float3x4)
Return a int3x4 matrix constructed from a float3x4 matrix by componentwise conversion.
Declaration
public static int3x4 int3x4(float3x4 v)
Parameters
Returns
int3x4(int3, int3, int3, int3)
Returns a int3x4 matrix constructed from four int3 vectors.
Declaration
public static int3x4 int3x4(int3 c0, int3 c1, int3 c2, int3 c3)
Parameters
Returns
int3x4(uint3x4)
Return a int3x4 matrix constructed from a uint3x4 matrix by componentwise conversion.
Declaration
public static int3x4 int3x4(uint3x4 v)
Parameters
Returns
int4(Boolean)
Returns a int4 vector constructed from a single bool value by converting it to int and assigning it to every component.
Declaration
public static int4 int4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
int4(Double)
Returns a int4 vector constructed from a single double value by converting it to int and assigning it to every component.
Declaration
public static int4 int4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
int4(Int32)
Returns a int4 vector constructed from a single int value by assigning it to every component.
Declaration
public static int4 int4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
int4(Int32, Int32, Int32, Int32)
Returns a int4 vector constructed from four int values.
Declaration
public static int4 int4(int x, int y, int z, int w)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
z |
|
System.Int32 |
w |
|
Returns
int4(Int32, Int32, int2)
Returns a int4 vector constructed from two int values and an int2 vector.
Declaration
public static int4 int4(int x, int y, int2 zw)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
int2 |
zw |
|
Returns
int4(Int32, int2, Int32)
Returns a int4 vector constructed from an int value, an int2 vector and an int value.
Declaration
public static int4 int4(int x, int2 yz, int w)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
int2 |
yz |
|
System.Int32 |
w |
|
Returns
int4(Int32, int3)
Returns a int4 vector constructed from an int value and an int3 vector.
Declaration
public static int4 int4(int x, int3 yzw)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
int3 |
yzw |
|
Returns
int4(Single)
Returns a int4 vector constructed from a single float value by converting it to int and assigning it to every component.
Declaration
public static int4 int4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
int4(UInt32)
Returns a int4 vector constructed from a single uint value by converting it to int and assigning it to every component.
Declaration
public static int4 int4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
int4(bool4)
Return a int4 vector constructed from a bool4 vector by componentwise conversion.
Declaration
public static int4 int4(bool4 v)
Parameters
Type |
Name |
Description |
bool4 |
v |
|
Returns
int4(double4)
Return a int4 vector constructed from a double4 vector by componentwise conversion.
Declaration
public static int4 int4(double4 v)
Parameters
Returns
int4(float4)
Return a int4 vector constructed from a float4 vector by componentwise conversion.
Declaration
public static int4 int4(float4 v)
Parameters
Type |
Name |
Description |
float4 |
v |
|
Returns
int4(int2, Int32, Int32)
Returns a int4 vector constructed from an int2 vector and two int values.
Declaration
public static int4 int4(int2 xy, int z, int w)
Parameters
Type |
Name |
Description |
int2 |
xy |
|
System.Int32 |
z |
|
System.Int32 |
w |
|
Returns
int4(int2, int2)
Returns a int4 vector constructed from two int2 vectors.
Declaration
public static int4 int4(int2 xy, int2 zw)
Parameters
Returns
int4(int3, Int32)
Returns a int4 vector constructed from an int3 vector and an int value.
Declaration
public static int4 int4(int3 xyz, int w)
Parameters
Type |
Name |
Description |
int3 |
xyz |
|
System.Int32 |
w |
|
Returns
int4(int4)
Returns a int4 vector constructed from an int4 vector.
Declaration
public static int4 int4(int4 xyzw)
Parameters
Type |
Name |
Description |
int4 |
xyzw |
|
Returns
int4(uint4)
Return a int4 vector constructed from a uint4 vector by componentwise conversion.
Declaration
public static int4 int4(uint4 v)
Parameters
Type |
Name |
Description |
uint4 |
v |
|
Returns
int4x2(Boolean)
Returns a int4x2 matrix constructed from a single bool value by converting it to int and assigning it to every component.
Declaration
public static int4x2 int4x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
int4x2(Double)
Returns a int4x2 matrix constructed from a single double value by converting it to int and assigning it to every component.
Declaration
public static int4x2 int4x2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
int4x2(Int32)
Returns a int4x2 matrix constructed from a single int value by assigning it to every component.
Declaration
public static int4x2 int4x2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
int4x2(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Returns a int4x2 matrix constructed from from 8 int values given in row-major order.
Declaration
public static int4x2 int4x2(int m00, int m01, int m10, int m11, int m20, int m21, int m30, int m31)
Parameters
Type |
Name |
Description |
System.Int32 |
m00 |
|
System.Int32 |
m01 |
|
System.Int32 |
m10 |
|
System.Int32 |
m11 |
|
System.Int32 |
m20 |
|
System.Int32 |
m21 |
|
System.Int32 |
m30 |
|
System.Int32 |
m31 |
|
Returns
int4x2(Single)
Returns a int4x2 matrix constructed from a single float value by converting it to int and assigning it to every component.
Declaration
public static int4x2 int4x2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
int4x2(UInt32)
Returns a int4x2 matrix constructed from a single uint value by converting it to int and assigning it to every component.
Declaration
public static int4x2 int4x2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
int4x2(bool4x2)
Return a int4x2 matrix constructed from a bool4x2 matrix by componentwise conversion.
Declaration
public static int4x2 int4x2(bool4x2 v)
Parameters
Returns
int4x2(double4x2)
Return a int4x2 matrix constructed from a double4x2 matrix by componentwise conversion.
Declaration
public static int4x2 int4x2(double4x2 v)
Parameters
Returns
int4x2(float4x2)
Return a int4x2 matrix constructed from a float4x2 matrix by componentwise conversion.
Declaration
public static int4x2 int4x2(float4x2 v)
Parameters
Returns
int4x2(int4, int4)
Returns a int4x2 matrix constructed from two int4 vectors.
Declaration
public static int4x2 int4x2(int4 c0, int4 c1)
Parameters
Returns
int4x2(uint4x2)
Return a int4x2 matrix constructed from a uint4x2 matrix by componentwise conversion.
Declaration
public static int4x2 int4x2(uint4x2 v)
Parameters
Returns
int4x3(Boolean)
Returns a int4x3 matrix constructed from a single bool value by converting it to int and assigning it to every component.
Declaration
public static int4x3 int4x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
int4x3(Double)
Returns a int4x3 matrix constructed from a single double value by converting it to int and assigning it to every component.
Declaration
public static int4x3 int4x3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
int4x3(Int32)
Returns a int4x3 matrix constructed from a single int value by assigning it to every component.
Declaration
public static int4x3 int4x3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
int4x3(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Returns a int4x3 matrix constructed from from 12 int values given in row-major order.
Declaration
public static int4x3 int4x3(int m00, int m01, int m02, int m10, int m11, int m12, int m20, int m21, int m22, int m30, int m31, int m32)
Parameters
Type |
Name |
Description |
System.Int32 |
m00 |
|
System.Int32 |
m01 |
|
System.Int32 |
m02 |
|
System.Int32 |
m10 |
|
System.Int32 |
m11 |
|
System.Int32 |
m12 |
|
System.Int32 |
m20 |
|
System.Int32 |
m21 |
|
System.Int32 |
m22 |
|
System.Int32 |
m30 |
|
System.Int32 |
m31 |
|
System.Int32 |
m32 |
|
Returns
int4x3(Single)
Returns a int4x3 matrix constructed from a single float value by converting it to int and assigning it to every component.
Declaration
public static int4x3 int4x3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
int4x3(UInt32)
Returns a int4x3 matrix constructed from a single uint value by converting it to int and assigning it to every component.
Declaration
public static int4x3 int4x3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
int4x3(bool4x3)
Return a int4x3 matrix constructed from a bool4x3 matrix by componentwise conversion.
Declaration
public static int4x3 int4x3(bool4x3 v)
Parameters
Returns
int4x3(double4x3)
Return a int4x3 matrix constructed from a double4x3 matrix by componentwise conversion.
Declaration
public static int4x3 int4x3(double4x3 v)
Parameters
Returns
int4x3(float4x3)
Return a int4x3 matrix constructed from a float4x3 matrix by componentwise conversion.
Declaration
public static int4x3 int4x3(float4x3 v)
Parameters
Returns
int4x3(int4, int4, int4)
Returns a int4x3 matrix constructed from three int4 vectors.
Declaration
public static int4x3 int4x3(int4 c0, int4 c1, int4 c2)
Parameters
Returns
int4x3(uint4x3)
Return a int4x3 matrix constructed from a uint4x3 matrix by componentwise conversion.
Declaration
public static int4x3 int4x3(uint4x3 v)
Parameters
Returns
int4x4(Boolean)
Returns a int4x4 matrix constructed from a single bool value by converting it to int and assigning it to every component.
Declaration
public static int4x4 int4x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
int4x4(Double)
Returns a int4x4 matrix constructed from a single double value by converting it to int and assigning it to every component.
Declaration
public static int4x4 int4x4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
int4x4(Int32)
Returns a int4x4 matrix constructed from a single int value by assigning it to every component.
Declaration
public static int4x4 int4x4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
int4x4(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Returns a int4x4 matrix constructed from from 16 int values given in row-major order.
Declaration
public static int4x4 int4x4(int m00, int m01, int m02, int m03, int m10, int m11, int m12, int m13, int m20, int m21, int m22, int m23, int m30, int m31, int m32, int m33)
Parameters
Type |
Name |
Description |
System.Int32 |
m00 |
|
System.Int32 |
m01 |
|
System.Int32 |
m02 |
|
System.Int32 |
m03 |
|
System.Int32 |
m10 |
|
System.Int32 |
m11 |
|
System.Int32 |
m12 |
|
System.Int32 |
m13 |
|
System.Int32 |
m20 |
|
System.Int32 |
m21 |
|
System.Int32 |
m22 |
|
System.Int32 |
m23 |
|
System.Int32 |
m30 |
|
System.Int32 |
m31 |
|
System.Int32 |
m32 |
|
System.Int32 |
m33 |
|
Returns
int4x4(Single)
Returns a int4x4 matrix constructed from a single float value by converting it to int and assigning it to every component.
Declaration
public static int4x4 int4x4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
int4x4(UInt32)
Returns a int4x4 matrix constructed from a single uint value by converting it to int and assigning it to every component.
Declaration
public static int4x4 int4x4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
int4x4(bool4x4)
Return a int4x4 matrix constructed from a bool4x4 matrix by componentwise conversion.
Declaration
public static int4x4 int4x4(bool4x4 v)
Parameters
Returns
int4x4(double4x4)
Return a int4x4 matrix constructed from a double4x4 matrix by componentwise conversion.
Declaration
public static int4x4 int4x4(double4x4 v)
Parameters
Returns
int4x4(float4x4)
Return a int4x4 matrix constructed from a float4x4 matrix by componentwise conversion.
Declaration
public static int4x4 int4x4(float4x4 v)
Parameters
Returns
int4x4(int4, int4, int4, int4)
Returns a int4x4 matrix constructed from four int4 vectors.
Declaration
public static int4x4 int4x4(int4 c0, int4 c1, int4 c2, int4 c3)
Parameters
Returns
int4x4(uint4x4)
Return a int4x4 matrix constructed from a uint4x4 matrix by componentwise conversion.
Declaration
public static int4x4 int4x4(uint4x4 v)
Parameters
Returns
inverse(double2x2)
Returns the double2x2 full inverse of a double2x2 matrix.
Declaration
public static double2x2 inverse(double2x2 m)
Parameters
Returns
inverse(double3x3)
Returns the double3x3 full inverse of a double3x3 matrix.
Declaration
public static double3x3 inverse(double3x3 m)
Parameters
Returns
inverse(double4x4)
Returns the double4x4 full inverse of a double4x4 matrix.
Declaration
public static double4x4 inverse(double4x4 m)
Parameters
Returns
inverse(float2x2)
Returns the float2x2 full inverse of a float2x2 matrix.
Declaration
public static float2x2 inverse(float2x2 m)
Parameters
Returns
inverse(float3x3)
Returns the float3x3 full inverse of a float3x3 matrix.
Declaration
public static float3x3 inverse(float3x3 m)
Parameters
Returns
inverse(float4x4)
Returns the float4x4 full inverse of a float4x4 matrix.
Declaration
public static float4x4 inverse(float4x4 m)
Parameters
Returns
inverse(quaternion)
Returns the inverse of a quaternion value.
Declaration
public static quaternion inverse(quaternion q)
Parameters
Returns
Returns the inverse of a RigidTransform.
Declaration
public static RigidTransform inverse(RigidTransform t)
Parameters
Returns
isfinite(Double)
Returns true if the input double is a finite floating point value, false otherwise.
Declaration
public static bool isfinite(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Boolean |
|
isfinite(Single)
Returns true if the input float is a finite floating point value, false otherwise.
Declaration
public static bool isfinite(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Boolean |
|
isfinite(double2)
Returns a bool2 indicating for each component of a double2 whether it is a finite floating point value.
Declaration
public static bool2 isfinite(double2 x)
Parameters
Returns
isfinite(double3)
Returns a bool3 indicating for each component of a double3 whether it is a finite floating point value.
Declaration
public static bool3 isfinite(double3 x)
Parameters
Returns
isfinite(double4)
Returns a bool4 indicating for each component of a double4 whether it is a finite floating point value.
Declaration
public static bool4 isfinite(double4 x)
Parameters
Returns
isfinite(float2)
Returns a bool2 indicating for each component of a float2 whether it is a finite floating point value.
Declaration
public static bool2 isfinite(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
isfinite(float3)
Returns a bool3 indicating for each component of a float3 whether it is a finite floating point value.
Declaration
public static bool3 isfinite(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
isfinite(float4)
Returns a bool4 indicating for each component of a float4 whether it is a finite floating point value.
Declaration
public static bool4 isfinite(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
isinf(Double)
Returns true if the input double is an infinite floating point value, false otherwise.
Declaration
public static bool isinf(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Boolean |
|
isinf(Single)
Returns true if the input float is an infinite floating point value, false otherwise.
Declaration
public static bool isinf(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Boolean |
|
isinf(double2)
Returns a bool2 indicating for each component of a double2 whether it is an infinite floating point value.
Declaration
public static bool2 isinf(double2 x)
Parameters
Returns
isinf(double3)
Returns a bool3 indicating for each component of a double3 whether it is an infinite floating point value.
Declaration
public static bool3 isinf(double3 x)
Parameters
Returns
isinf(double4)
Returns a bool4 indicating for each component of a double4 whether it is an infinite floating point value.
Declaration
public static bool4 isinf(double4 x)
Parameters
Returns
isinf(float2)
Returns a bool2 indicating for each component of a float2 whether it is an infinite floating point value.
Declaration
public static bool2 isinf(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
isinf(float3)
Returns a bool3 indicating for each component of a float3 whether it is an infinite floating point value.
Declaration
public static bool3 isinf(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
isinf(float4)
Returns a bool4 indicating for each component of a float4 whether it is an infinite floating point value.
Declaration
public static bool4 isinf(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
isnan(Double)
Returns true if the input double is a NaN (not a number) floating point value, false otherwise.
Declaration
public static bool isnan(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Boolean |
|
isnan(Single)
Returns true if the input float is a NaN (not a number) floating point value, false otherwise.
Declaration
public static bool isnan(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Boolean |
|
isnan(double2)
Returns a bool2 indicating for each component of a double2 whether it is a NaN (not a number) floating point value.
Declaration
public static bool2 isnan(double2 x)
Parameters
Returns
isnan(double3)
Returns a bool3 indicating for each component of a double3 whether it is a NaN (not a number) floating point value.
Declaration
public static bool3 isnan(double3 x)
Parameters
Returns
isnan(double4)
Returns a bool4 indicating for each component of a double4 whether it is a NaN (not a number) floating point value.
Declaration
public static bool4 isnan(double4 x)
Parameters
Returns
isnan(float2)
Returns a bool2 indicating for each component of a float2 whether it is a NaN (not a number) floating point value.
Declaration
public static bool2 isnan(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
isnan(float3)
Returns a bool3 indicating for each component of a float3 whether it is a NaN (not a number) floating point value.
Declaration
public static bool3 isnan(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
isnan(float4)
Returns a bool4 indicating for each component of a float4 whether it is a NaN (not a number) floating point value.
Declaration
public static bool4 isnan(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
length(Double)
Returns the length of a double value. Equivalent to the absolute value.
Declaration
public static double length(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
length(Single)
Returns the length of a float value. Equivalent to the absolute value.
Declaration
public static float length(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
length(double2)
Returns the length of a double2 vector.
Declaration
public static double length(double2 x)
Parameters
Returns
Type |
Description |
System.Double |
|
length(double3)
Returns the length of a double3 vector.
Declaration
public static double length(double3 x)
Parameters
Returns
Type |
Description |
System.Double |
|
length(double4)
Returns the length of a double4 vector.
Declaration
public static double length(double4 x)
Parameters
Returns
Type |
Description |
System.Double |
|
length(float2)
Returns the length of a float2 vector.
Declaration
public static float length(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
Type |
Description |
System.Single |
|
length(float3)
Returns the length of a float3 vector.
Declaration
public static float length(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
Type |
Description |
System.Single |
|
length(float4)
Returns the length of a float4 vector.
Declaration
public static float length(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
Type |
Description |
System.Single |
|
length(quaternion)
Returns the length of a quaternion.
Declaration
public static float length(quaternion q)
Parameters
Returns
Type |
Description |
System.Single |
|
lengthsq(Double)
Returns the squared length of a double value. Equivalent to squaring the value.
Declaration
public static double lengthsq(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
lengthsq(Single)
Returns the squared length of a float value. Equivalent to squaring the value.
Declaration
public static float lengthsq(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
lengthsq(double2)
Returns the squared length of a double2 vector.
Declaration
public static double lengthsq(double2 x)
Parameters
Returns
Type |
Description |
System.Double |
|
lengthsq(double3)
Returns the squared length of a double3 vector.
Declaration
public static double lengthsq(double3 x)
Parameters
Returns
Type |
Description |
System.Double |
|
lengthsq(double4)
Returns the squared length of a double4 vector.
Declaration
public static double lengthsq(double4 x)
Parameters
Returns
Type |
Description |
System.Double |
|
lengthsq(float2)
Returns the squared length of a float2 vector.
Declaration
public static float lengthsq(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
Type |
Description |
System.Single |
|
lengthsq(float3)
Returns the squared length of a float3 vector.
Declaration
public static float lengthsq(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
Type |
Description |
System.Single |
|
lengthsq(float4)
Returns the squared length of a float4 vector.
Declaration
public static float lengthsq(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
Type |
Description |
System.Single |
|
lengthsq(quaternion)
Returns the squared length of a quaternion.
Declaration
public static float lengthsq(quaternion q)
Parameters
Returns
Type |
Description |
System.Single |
|
lerp(Double, Double, Double)
Returns the result of linearly interpolating from x to y using the interpolation parameter s.
Declaration
public static double lerp(double x, double y, double s)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
System.Double |
s |
|
Returns
Type |
Description |
System.Double |
|
lerp(Single, Single, Single)
Returns the result of linearly interpolating from x to y using the interpolation parameter s.
Declaration
public static float lerp(float x, float y, float s)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
System.Single |
s |
|
Returns
Type |
Description |
System.Single |
|
lerp(double2, double2, Double)
Returns the result of a componentwise linear interpolating from x to y using the interpolation parameter s.
Declaration
public static double2 lerp(double2 x, double2 y, double s)
Parameters
Returns
lerp(double2, double2, double2)
Returns the result of a componentwise linear interpolating from x to y using the corresponding components of the interpolation parameter s.
Declaration
public static double2 lerp(double2 x, double2 y, double2 s)
Parameters
Returns
lerp(double3, double3, Double)
Returns the result of a componentwise linear interpolating from x to y using the interpolation parameter s.
Declaration
public static double3 lerp(double3 x, double3 y, double s)
Parameters
Returns
lerp(double3, double3, double3)
Returns the result of a componentwise linear interpolating from x to y using the corresponding components of the interpolation parameter s.
Declaration
public static double3 lerp(double3 x, double3 y, double3 s)
Parameters
Returns
lerp(double4, double4, Double)
Returns the result of a componentwise linear interpolating from x to y using the interpolation parameter s.
Declaration
public static double4 lerp(double4 x, double4 y, double s)
Parameters
Returns
lerp(double4, double4, double4)
Returns the result of a componentwise linear interpolating from x to y using the corresponding components of the interpolation parameter s.
Declaration
public static double4 lerp(double4 x, double4 y, double4 s)
Parameters
Returns
lerp(float2, float2, Single)
Returns the result of a componentwise linear interpolating from x to y using the interpolation parameter s.
Declaration
public static float2 lerp(float2 x, float2 y, float s)
Parameters
Returns
lerp(float2, float2, float2)
Returns the result of a componentwise linear interpolating from x to y using the corresponding components of the interpolation parameter s.
Declaration
public static float2 lerp(float2 x, float2 y, float2 s)
Parameters
Returns
lerp(float3, float3, Single)
Returns the result of a componentwise linear interpolating from x to y using the interpolation parameter s.
Declaration
public static float3 lerp(float3 x, float3 y, float s)
Parameters
Returns
lerp(float3, float3, float3)
Returns the result of a componentwise linear interpolating from x to y using the corresponding components of the interpolation parameter s.
Declaration
public static float3 lerp(float3 x, float3 y, float3 s)
Parameters
Returns
lerp(float4, float4, Single)
Returns the result of a componentwise linear interpolating from x to y using the interpolation parameter s.
Declaration
public static float4 lerp(float4 x, float4 y, float s)
Parameters
Returns
lerp(float4, float4, float4)
Returns the result of a componentwise linear interpolating from x to y using the corresponding components of the interpolation parameter s.
Declaration
public static float4 lerp(float4 x, float4 y, float4 s)
Parameters
Returns
log(Double)
Returns the natural logarithm of a double value.
Declaration
public static double log(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
log(Single)
Returns the natural logarithm of a float value.
Declaration
public static float log(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
log(double2)
Returns the componentwise natural logarithm of a double2 vector.
Declaration
public static double2 log(double2 x)
Parameters
Returns
log(double3)
Returns the componentwise natural logarithm of a double3 vector.
Declaration
public static double3 log(double3 x)
Parameters
Returns
log(double4)
Returns the componentwise natural logarithm of a double4 vector.
Declaration
public static double4 log(double4 x)
Parameters
Returns
log(float2)
Returns the componentwise natural logarithm of a float2 vector.
Declaration
public static float2 log(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
log(float3)
Returns the componentwise natural logarithm of a float3 vector.
Declaration
public static float3 log(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
log(float4)
Returns the componentwise natural logarithm of a float4 vector.
Declaration
public static float4 log(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
log(quaternion)
Returns the natural logarithm of a quaternion.
Declaration
public static quaternion log(quaternion q)
Parameters
Returns
log10(Double)
Returns the base-10 logarithm of a double value.
Declaration
public static double log10(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
log10(Single)
Returns the base-10 logarithm of a float value.
Declaration
public static float log10(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
log10(double2)
Returns the componentwise base-10 logarithm of a double2 vector.
Declaration
public static double2 log10(double2 x)
Parameters
Returns
log10(double3)
Returns the componentwise base-10 logarithm of a double3 vector.
Declaration
public static double3 log10(double3 x)
Parameters
Returns
log10(double4)
Returns the componentwise base-10 logarithm of a double4 vector.
Declaration
public static double4 log10(double4 x)
Parameters
Returns
log10(float2)
Returns the componentwise base-10 logarithm of a float2 vector.
Declaration
public static float2 log10(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
log10(float3)
Returns the componentwise base-10 logarithm of a float3 vector.
Declaration
public static float3 log10(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
log10(float4)
Returns the componentwise base-10 logarithm of a float4 vector.
Declaration
public static float4 log10(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
log2(Double)
Returns the base-2 logarithm of a double value.
Declaration
public static double log2(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
log2(Single)
Returns the base-2 logarithm of a float value.
Declaration
public static float log2(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
log2(double2)
Returns the componentwise base-2 logarithm of a double2 vector.
Declaration
public static double2 log2(double2 x)
Parameters
Returns
log2(double3)
Returns the componentwise base-2 logarithm of a double3 vector.
Declaration
public static double3 log2(double3 x)
Parameters
Returns
log2(double4)
Returns the componentwise base-2 logarithm of a double4 vector.
Declaration
public static double4 log2(double4 x)
Parameters
Returns
log2(float2)
Returns the componentwise base-2 logarithm of a float2 vector.
Declaration
public static float2 log2(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
log2(float3)
Returns the componentwise base-2 logarithm of a float3 vector.
Declaration
public static float3 log2(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
log2(float4)
Returns the componentwise base-2 logarithm of a float4 vector.
Declaration
public static float4 log2(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
lzcnt(Int32)
Returns the componentwise number of leading zeros in the binary representations of an int vector.
Declaration
public static int lzcnt(int x)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
lzcnt(Int64)
Returns number of leading zeros in the binary representations of a long value.
Declaration
public static int lzcnt(long x)
Parameters
Type |
Name |
Description |
System.Int64 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
lzcnt(UInt32)
Returns number of leading zeros in the binary representations of a uint value.
Declaration
public static int lzcnt(uint x)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
lzcnt(UInt64)
Returns number of leading zeros in the binary representations of a ulong value.
Declaration
public static int lzcnt(ulong x)
Parameters
Type |
Name |
Description |
System.UInt64 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
lzcnt(int2)
Returns the componentwise number of leading zeros in the binary representations of an int2 vector.
Declaration
public static int2 lzcnt(int2 x)
Parameters
Type |
Name |
Description |
int2 |
x |
|
Returns
lzcnt(int3)
Returns the componentwise number of leading zeros in the binary representations of an int3 vector.
Declaration
public static int3 lzcnt(int3 x)
Parameters
Type |
Name |
Description |
int3 |
x |
|
Returns
lzcnt(int4)
Returns the componentwise number of leading zeros in the binary representations of an int4 vector.
Declaration
public static int4 lzcnt(int4 x)
Parameters
Type |
Name |
Description |
int4 |
x |
|
Returns
lzcnt(uint2)
Returns the componentwise number of leading zeros in the binary representations of a uint2 vector.
Declaration
public static int2 lzcnt(uint2 x)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
Returns
lzcnt(uint3)
Returns the componentwise number of leading zeros in the binary representations of a uint3 vector.
Declaration
public static int3 lzcnt(uint3 x)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
Returns
lzcnt(uint4)
Returns the componentwise number of leading zeros in the binary representations of a uint4 vector.
Declaration
public static int4 lzcnt(uint4 x)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
Returns
mad(Double, Double, Double)
Returns the result of a multiply-add operation (a * b + c) on 3 double values.
Declaration
public static double mad(double a, double b, double c)
Parameters
Type |
Name |
Description |
System.Double |
a |
|
System.Double |
b |
|
System.Double |
c |
|
Returns
Type |
Description |
System.Double |
|
mad(Int32, Int32, Int32)
Returns the result of a multiply-add operation (a * b + c) on 3 int values.
Declaration
public static int mad(int a, int b, int c)
Parameters
Type |
Name |
Description |
System.Int32 |
a |
|
System.Int32 |
b |
|
System.Int32 |
c |
|
Returns
Type |
Description |
System.Int32 |
|
mad(Int64, Int64, Int64)
Returns the result of a multiply-add operation (a * b + c) on 3 long values.
Declaration
public static long mad(long a, long b, long c)
Parameters
Type |
Name |
Description |
System.Int64 |
a |
|
System.Int64 |
b |
|
System.Int64 |
c |
|
Returns
Type |
Description |
System.Int64 |
|
mad(Single, Single, Single)
Returns the result of a multiply-add operation (a * b + c) on 3 float values.
Declaration
public static float mad(float a, float b, float c)
Parameters
Type |
Name |
Description |
System.Single |
a |
|
System.Single |
b |
|
System.Single |
c |
|
Returns
Type |
Description |
System.Single |
|
mad(UInt32, UInt32, UInt32)
Returns the result of a multiply-add operation (a * b + c) on 3 uint values.
Declaration
public static uint mad(uint a, uint b, uint c)
Parameters
Type |
Name |
Description |
System.UInt32 |
a |
|
System.UInt32 |
b |
|
System.UInt32 |
c |
|
Returns
Type |
Description |
System.UInt32 |
|
mad(UInt64, UInt64, UInt64)
Returns the result of a multiply-add operation (a * b + c) on 3 ulong values.
Declaration
public static ulong mad(ulong a, ulong b, ulong c)
Parameters
Type |
Name |
Description |
System.UInt64 |
a |
|
System.UInt64 |
b |
|
System.UInt64 |
c |
|
Returns
Type |
Description |
System.UInt64 |
|
mad(double2, double2, double2)
Returns the result of a componentwise multiply-add operation (a * b + c) on 3 double2 vectors.
Declaration
public static double2 mad(double2 a, double2 b, double2 c)
Parameters
Returns
mad(double3, double3, double3)
Returns the result of a componentwise multiply-add operation (a * b + c) on 3 double3 vectors.
Declaration
public static double3 mad(double3 a, double3 b, double3 c)
Parameters
Returns
mad(double4, double4, double4)
Returns the result of a componentwise multiply-add operation (a * b + c) on 3 double4 vectors.
Declaration
public static double4 mad(double4 a, double4 b, double4 c)
Parameters
Returns
mad(float2, float2, float2)
Returns the result of a componentwise multiply-add operation (a * b + c) on 3 float2 vectors.
Declaration
public static float2 mad(float2 a, float2 b, float2 c)
Parameters
Returns
mad(float3, float3, float3)
Returns the result of a componentwise multiply-add operation (a * b + c) on 3 float3 vectors.
Declaration
public static float3 mad(float3 a, float3 b, float3 c)
Parameters
Returns
mad(float4, float4, float4)
Returns the result of a componentwise multiply-add operation (a * b + c) on 3 float4 vectors.
Declaration
public static float4 mad(float4 a, float4 b, float4 c)
Parameters
Returns
mad(int2, int2, int2)
Returns the result of a componentwise multiply-add operation (a * b + c) on 3 int2 vectors.
Declaration
public static int2 mad(int2 a, int2 b, int2 c)
Parameters
Returns
mad(int3, int3, int3)
Returns the result of a componentwise multiply-add operation (a * b + c) on 3 int3 vectors.
Declaration
public static int3 mad(int3 a, int3 b, int3 c)
Parameters
Returns
mad(int4, int4, int4)
Returns the result of a componentwise multiply-add operation (a * b + c) on 3 int4 vectors.
Declaration
public static int4 mad(int4 a, int4 b, int4 c)
Parameters
Returns
mad(uint2, uint2, uint2)
Returns the result of a componentwise multiply-add operation (a * b + c) on 3 uint2 vectors.
Declaration
public static uint2 mad(uint2 a, uint2 b, uint2 c)
Parameters
Returns
mad(uint3, uint3, uint3)
Returns the result of a componentwise multiply-add operation (a * b + c) on 3 uint3 vectors.
Declaration
public static uint3 mad(uint3 a, uint3 b, uint3 c)
Parameters
Returns
mad(uint4, uint4, uint4)
Returns the result of a componentwise multiply-add operation (a * b + c) on 3 uint4 vectors.
Declaration
public static uint4 mad(uint4 a, uint4 b, uint4 c)
Parameters
Returns
max(Double, Double)
Returns the maximum of two double values.
Declaration
public static double max(double x, double y)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
Returns
Type |
Description |
System.Double |
|
max(Int32, Int32)
Returns the maximum of two int values.
Declaration
public static int max(int x, int y)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
Returns
Type |
Description |
System.Int32 |
|
max(Int64, Int64)
Returns the maximum of two long values.
Declaration
public static long max(long x, long y)
Parameters
Type |
Name |
Description |
System.Int64 |
x |
|
System.Int64 |
y |
|
Returns
Type |
Description |
System.Int64 |
|
max(Single, Single)
Returns the maximum of two float values.
Declaration
public static float max(float x, float y)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
Returns
Type |
Description |
System.Single |
|
max(UInt32, UInt32)
Returns the maximum of two uint values.
Declaration
public static uint max(uint x, uint y)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
System.UInt32 |
y |
|
Returns
Type |
Description |
System.UInt32 |
|
max(UInt64, UInt64)
Returns the maximum of two ulong values.
Declaration
public static ulong max(ulong x, ulong y)
Parameters
Type |
Name |
Description |
System.UInt64 |
x |
|
System.UInt64 |
y |
|
Returns
Type |
Description |
System.UInt64 |
|
max(double2, double2)
Returns the componentwise maximum of two double2 vectors.
Declaration
public static double2 max(double2 x, double2 y)
Parameters
Returns
max(double3, double3)
Returns the componentwise maximum of two double3 vectors.
Declaration
public static double3 max(double3 x, double3 y)
Parameters
Returns
max(double4, double4)
Returns the componentwise maximum of two double4 vectors.
Declaration
public static double4 max(double4 x, double4 y)
Parameters
Returns
max(float2, float2)
Returns the componentwise maximum of two float2 vectors.
Declaration
public static float2 max(float2 x, float2 y)
Parameters
Returns
max(float3, float3)
Returns the componentwise maximum of two float3 vectors.
Declaration
public static float3 max(float3 x, float3 y)
Parameters
Returns
max(float4, float4)
Returns the componentwise maximum of two float4 vectors.
Declaration
public static float4 max(float4 x, float4 y)
Parameters
Returns
max(int2, int2)
Returns the componentwise maximum of two int2 vectors.
Declaration
public static int2 max(int2 x, int2 y)
Parameters
Returns
max(int3, int3)
Returns the componentwise maximum of two int3 vectors.
Declaration
public static int3 max(int3 x, int3 y)
Parameters
Returns
max(int4, int4)
Returns the componentwise maximum of two int4 vectors.
Declaration
public static int4 max(int4 x, int4 y)
Parameters
Returns
max(uint2, uint2)
Returns the componentwise maximum of two uint2 vectors.
Declaration
public static uint2 max(uint2 x, uint2 y)
Parameters
Returns
max(uint3, uint3)
Returns the componentwise maximum of two uint3 vectors.
Declaration
public static uint3 max(uint3 x, uint3 y)
Parameters
Returns
max(uint4, uint4)
Returns the componentwise maximum of two uint4 vectors.
Declaration
public static uint4 max(uint4 x, uint4 y)
Parameters
Returns
min(Double, Double)
Returns the minimum of two double values.
Declaration
public static double min(double x, double y)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
Returns
Type |
Description |
System.Double |
|
min(Int32, Int32)
Returns the minimum of two int values.
Declaration
public static int min(int x, int y)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
Returns
Type |
Description |
System.Int32 |
|
min(Int64, Int64)
Returns the minimum of two long values.
Declaration
public static long min(long x, long y)
Parameters
Type |
Name |
Description |
System.Int64 |
x |
|
System.Int64 |
y |
|
Returns
Type |
Description |
System.Int64 |
|
min(Single, Single)
Returns the minimum of two float values.
Declaration
public static float min(float x, float y)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
Returns
Type |
Description |
System.Single |
|
min(UInt32, UInt32)
Returns the minimum of two uint values.
Declaration
public static uint min(uint x, uint y)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
System.UInt32 |
y |
|
Returns
Type |
Description |
System.UInt32 |
|
min(UInt64, UInt64)
Returns the minimum of two ulong values.
Declaration
public static ulong min(ulong x, ulong y)
Parameters
Type |
Name |
Description |
System.UInt64 |
x |
|
System.UInt64 |
y |
|
Returns
Type |
Description |
System.UInt64 |
|
min(double2, double2)
Returns the componentwise minimum of two double2 vectors.
Declaration
public static double2 min(double2 x, double2 y)
Parameters
Returns
min(double3, double3)
Returns the componentwise minimum of two double3 vectors.
Declaration
public static double3 min(double3 x, double3 y)
Parameters
Returns
min(double4, double4)
Returns the componentwise minimum of two double4 vectors.
Declaration
public static double4 min(double4 x, double4 y)
Parameters
Returns
min(float2, float2)
Returns the componentwise minimum of two float2 vectors.
Declaration
public static float2 min(float2 x, float2 y)
Parameters
Returns
min(float3, float3)
Returns the componentwise minimum of two float3 vectors.
Declaration
public static float3 min(float3 x, float3 y)
Parameters
Returns
min(float4, float4)
Returns the componentwise minimum of two float4 vectors.
Declaration
public static float4 min(float4 x, float4 y)
Parameters
Returns
min(int2, int2)
Returns the componentwise minimum of two int2 vectors.
Declaration
public static int2 min(int2 x, int2 y)
Parameters
Returns
min(int3, int3)
Returns the componentwise minimum of two int3 vectors.
Declaration
public static int3 min(int3 x, int3 y)
Parameters
Returns
min(int4, int4)
Returns the componentwise minimum of two int4 vectors.
Declaration
public static int4 min(int4 x, int4 y)
Parameters
Returns
min(uint2, uint2)
Returns the componentwise minimum of two uint2 vectors.
Declaration
public static uint2 min(uint2 x, uint2 y)
Parameters
Returns
min(uint3, uint3)
Returns the componentwise minimum of two uint3 vectors.
Declaration
public static uint3 min(uint3 x, uint3 y)
Parameters
Returns
min(uint4, uint4)
Returns the componentwise minimum of two uint4 vectors.
Declaration
public static uint4 min(uint4 x, uint4 y)
Parameters
Returns
modf(Double, out Double)
Splits a double value into an integral part i and a fractional part that gets returned. Both parts take the sign of the input.
Declaration
public static double modf(double x, out double i)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
i |
|
Returns
Type |
Description |
System.Double |
|
modf(Single, out Single)
Splits a float value into an integral part i and a fractional part that gets returned. Both parts take the sign of the input.
Declaration
public static float modf(float x, out float i)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
i |
|
Returns
Type |
Description |
System.Single |
|
modf(double2, out double2)
Declaration
public static double2 modf(double2 x, out double2 i)
Parameters
Returns
modf(double3, out double3)
Declaration
public static double3 modf(double3 x, out double3 i)
Parameters
Returns
modf(double4, out double4)
Declaration
public static double4 modf(double4 x, out double4 i)
Parameters
Returns
modf(float2, out float2)
Declaration
public static float2 modf(float2 x, out float2 i)
Parameters
Returns
modf(float3, out float3)
Declaration
public static float3 modf(float3 x, out float3 i)
Parameters
Returns
modf(float4, out float4)
Declaration
public static float4 modf(float4 x, out float4 i)
Parameters
Returns
mul(Double, Double)
Returns the double value result of a matrix multiplication between a double value and a double value.
Declaration
public static double mul(double a, double b)
Parameters
Type |
Name |
Description |
System.Double |
a |
|
System.Double |
b |
|
Returns
Type |
Description |
System.Double |
|
mul(Int32, Int32)
Returns the int value result of a matrix multiplication between an int value and an int value.
Declaration
public static int mul(int a, int b)
Parameters
Type |
Name |
Description |
System.Int32 |
a |
|
System.Int32 |
b |
|
Returns
Type |
Description |
System.Int32 |
|
mul(Single, Single)
Returns the float value result of a matrix multiplication between a float value and a float value.
Declaration
public static float mul(float a, float b)
Parameters
Type |
Name |
Description |
System.Single |
a |
|
System.Single |
b |
|
Returns
Type |
Description |
System.Single |
|
mul(UInt32, UInt32)
Returns the uint value result of a matrix multiplication between a uint value and a uint value.
Declaration
public static uint mul(uint a, uint b)
Parameters
Type |
Name |
Description |
System.UInt32 |
a |
|
System.UInt32 |
b |
|
Returns
Type |
Description |
System.UInt32 |
|
mul(double2, double2)
Returns the double value result of a matrix multiplication between a double2 row vector and a double2 column vector.
Declaration
public static double mul(double2 a, double2 b)
Parameters
Returns
Type |
Description |
System.Double |
|
mul(double2, double2x2)
Returns the double2 row vector result of a matrix multiplication between a double2 row vector and a double2x2 matrix.
Declaration
public static double2 mul(double2 a, double2x2 b)
Parameters
Returns
mul(double2, double2x3)
Returns the double3 row vector result of a matrix multiplication between a double2 row vector and a double2x3 matrix.
Declaration
public static double3 mul(double2 a, double2x3 b)
Parameters
Returns
mul(double2, double2x4)
Returns the double4 row vector result of a matrix multiplication between a double2 row vector and a double2x4 matrix.
Declaration
public static double4 mul(double2 a, double2x4 b)
Parameters
Returns
mul(double2x2, double2)
Returns the double2 column vector result of a matrix multiplication between a double2x2 matrix and a double2 column vector.
Declaration
public static double2 mul(double2x2 a, double2 b)
Parameters
Returns
mul(double2x2, double2x2)
Returns the double2x2 matrix result of a matrix multiplication between a double2x2 matrix and a double2x2 matrix.
Declaration
public static double2x2 mul(double2x2 a, double2x2 b)
Parameters
Returns
mul(double2x2, double2x3)
Returns the double2x3 matrix result of a matrix multiplication between a double2x2 matrix and a double2x3 matrix.
Declaration
public static double2x3 mul(double2x2 a, double2x3 b)
Parameters
Returns
mul(double2x2, double2x4)
Returns the double2x4 matrix result of a matrix multiplication between a double2x2 matrix and a double2x4 matrix.
Declaration
public static double2x4 mul(double2x2 a, double2x4 b)
Parameters
Returns
mul(double2x3, double3)
Returns the double2 column vector result of a matrix multiplication between a double2x3 matrix and a double3 column vector.
Declaration
public static double2 mul(double2x3 a, double3 b)
Parameters
Returns
mul(double2x3, double3x2)
Returns the double2x2 matrix result of a matrix multiplication between a double2x3 matrix and a double3x2 matrix.
Declaration
public static double2x2 mul(double2x3 a, double3x2 b)
Parameters
Returns
mul(double2x3, double3x3)
Returns the double2x3 matrix result of a matrix multiplication between a double2x3 matrix and a double3x3 matrix.
Declaration
public static double2x3 mul(double2x3 a, double3x3 b)
Parameters
Returns
mul(double2x3, double3x4)
Returns the double2x4 matrix result of a matrix multiplication between a double2x3 matrix and a double3x4 matrix.
Declaration
public static double2x4 mul(double2x3 a, double3x4 b)
Parameters
Returns
mul(double2x4, double4)
Returns the double2 column vector result of a matrix multiplication between a double2x4 matrix and a double4 column vector.
Declaration
public static double2 mul(double2x4 a, double4 b)
Parameters
Returns
mul(double2x4, double4x2)
Returns the double2x2 matrix result of a matrix multiplication between a double2x4 matrix and a double4x2 matrix.
Declaration
public static double2x2 mul(double2x4 a, double4x2 b)
Parameters
Returns
mul(double2x4, double4x3)
Returns the double2x3 matrix result of a matrix multiplication between a double2x4 matrix and a double4x3 matrix.
Declaration
public static double2x3 mul(double2x4 a, double4x3 b)
Parameters
Returns
mul(double2x4, double4x4)
Returns the double2x4 matrix result of a matrix multiplication between a double2x4 matrix and a double4x4 matrix.
Declaration
public static double2x4 mul(double2x4 a, double4x4 b)
Parameters
Returns
mul(double3, double3)
Returns the double value result of a matrix multiplication between a double3 row vector and a double3 column vector.
Declaration
public static double mul(double3 a, double3 b)
Parameters
Returns
Type |
Description |
System.Double |
|
mul(double3, double3x2)
Returns the double2 row vector result of a matrix multiplication between a double3 row vector and a double3x2 matrix.
Declaration
public static double2 mul(double3 a, double3x2 b)
Parameters
Returns
mul(double3, double3x3)
Returns the double3 row vector result of a matrix multiplication between a double3 row vector and a double3x3 matrix.
Declaration
public static double3 mul(double3 a, double3x3 b)
Parameters
Returns
mul(double3, double3x4)
Returns the double4 row vector result of a matrix multiplication between a double3 row vector and a double3x4 matrix.
Declaration
public static double4 mul(double3 a, double3x4 b)
Parameters
Returns
mul(double3x2, double2)
Returns the double3 column vector result of a matrix multiplication between a double3x2 matrix and a double2 column vector.
Declaration
public static double3 mul(double3x2 a, double2 b)
Parameters
Returns
mul(double3x2, double2x2)
Returns the double3x2 matrix result of a matrix multiplication between a double3x2 matrix and a double2x2 matrix.
Declaration
public static double3x2 mul(double3x2 a, double2x2 b)
Parameters
Returns
mul(double3x2, double2x3)
Returns the double3x3 matrix result of a matrix multiplication between a double3x2 matrix and a double2x3 matrix.
Declaration
public static double3x3 mul(double3x2 a, double2x3 b)
Parameters
Returns
mul(double3x2, double2x4)
Returns the double3x4 matrix result of a matrix multiplication between a double3x2 matrix and a double2x4 matrix.
Declaration
public static double3x4 mul(double3x2 a, double2x4 b)
Parameters
Returns
mul(double3x3, double3)
Returns the double3 column vector result of a matrix multiplication between a double3x3 matrix and a double3 column vector.
Declaration
public static double3 mul(double3x3 a, double3 b)
Parameters
Returns
mul(double3x3, double3x2)
Returns the double3x2 matrix result of a matrix multiplication between a double3x3 matrix and a double3x2 matrix.
Declaration
public static double3x2 mul(double3x3 a, double3x2 b)
Parameters
Returns
mul(double3x3, double3x3)
Returns the double3x3 matrix result of a matrix multiplication between a double3x3 matrix and a double3x3 matrix.
Declaration
public static double3x3 mul(double3x3 a, double3x3 b)
Parameters
Returns
mul(double3x3, double3x4)
Returns the double3x4 matrix result of a matrix multiplication between a double3x3 matrix and a double3x4 matrix.
Declaration
public static double3x4 mul(double3x3 a, double3x4 b)
Parameters
Returns
mul(double3x4, double4)
Returns the double3 column vector result of a matrix multiplication between a double3x4 matrix and a double4 column vector.
Declaration
public static double3 mul(double3x4 a, double4 b)
Parameters
Returns
mul(double3x4, double4x2)
Returns the double3x2 matrix result of a matrix multiplication between a double3x4 matrix and a double4x2 matrix.
Declaration
public static double3x2 mul(double3x4 a, double4x2 b)
Parameters
Returns
mul(double3x4, double4x3)
Returns the double3x3 matrix result of a matrix multiplication between a double3x4 matrix and a double4x3 matrix.
Declaration
public static double3x3 mul(double3x4 a, double4x3 b)
Parameters
Returns
mul(double3x4, double4x4)
Returns the double3x4 matrix result of a matrix multiplication between a double3x4 matrix and a double4x4 matrix.
Declaration
public static double3x4 mul(double3x4 a, double4x4 b)
Parameters
Returns
mul(double4, double4)
Returns the double value result of a matrix multiplication between a double4 row vector and a double4 column vector.
Declaration
public static double mul(double4 a, double4 b)
Parameters
Returns
Type |
Description |
System.Double |
|
mul(double4, double4x2)
Returns the double2 row vector result of a matrix multiplication between a double4 row vector and a double4x2 matrix.
Declaration
public static double2 mul(double4 a, double4x2 b)
Parameters
Returns
mul(double4, double4x3)
Returns the double3 row vector result of a matrix multiplication between a double4 row vector and a double4x3 matrix.
Declaration
public static double3 mul(double4 a, double4x3 b)
Parameters
Returns
mul(double4, double4x4)
Returns the double4 row vector result of a matrix multiplication between a double4 row vector and a double4x4 matrix.
Declaration
public static double4 mul(double4 a, double4x4 b)
Parameters
Returns
mul(double4x2, double2)
Returns the double4 column vector result of a matrix multiplication between a double4x2 matrix and a double2 column vector.
Declaration
public static double4 mul(double4x2 a, double2 b)
Parameters
Returns
mul(double4x2, double2x2)
Returns the double4x2 matrix result of a matrix multiplication between a double4x2 matrix and a double2x2 matrix.
Declaration
public static double4x2 mul(double4x2 a, double2x2 b)
Parameters
Returns
mul(double4x2, double2x3)
Returns the double4x3 matrix result of a matrix multiplication between a double4x2 matrix and a double2x3 matrix.
Declaration
public static double4x3 mul(double4x2 a, double2x3 b)
Parameters
Returns
mul(double4x2, double2x4)
Returns the double4x4 matrix result of a matrix multiplication between a double4x2 matrix and a double2x4 matrix.
Declaration
public static double4x4 mul(double4x2 a, double2x4 b)
Parameters
Returns
mul(double4x3, double3)
Returns the double4 column vector result of a matrix multiplication between a double4x3 matrix and a double3 column vector.
Declaration
public static double4 mul(double4x3 a, double3 b)
Parameters
Returns
mul(double4x3, double3x2)
Returns the double4x2 matrix result of a matrix multiplication between a double4x3 matrix and a double3x2 matrix.
Declaration
public static double4x2 mul(double4x3 a, double3x2 b)
Parameters
Returns
mul(double4x3, double3x3)
Returns the double4x3 matrix result of a matrix multiplication between a double4x3 matrix and a double3x3 matrix.
Declaration
public static double4x3 mul(double4x3 a, double3x3 b)
Parameters
Returns
mul(double4x3, double3x4)
Returns the double4x4 matrix result of a matrix multiplication between a double4x3 matrix and a double3x4 matrix.
Declaration
public static double4x4 mul(double4x3 a, double3x4 b)
Parameters
Returns
mul(double4x4, double4)
Returns the double4 column vector result of a matrix multiplication between a double4x4 matrix and a double4 column vector.
Declaration
public static double4 mul(double4x4 a, double4 b)
Parameters
Returns
mul(double4x4, double4x2)
Returns the double4x2 matrix result of a matrix multiplication between a double4x4 matrix and a double4x2 matrix.
Declaration
public static double4x2 mul(double4x4 a, double4x2 b)
Parameters
Returns
mul(double4x4, double4x3)
Returns the double4x3 matrix result of a matrix multiplication between a double4x4 matrix and a double4x3 matrix.
Declaration
public static double4x3 mul(double4x4 a, double4x3 b)
Parameters
Returns
mul(double4x4, double4x4)
Returns the double4x4 matrix result of a matrix multiplication between a double4x4 matrix and a double4x4 matrix.
Declaration
public static double4x4 mul(double4x4 a, double4x4 b)
Parameters
Returns
mul(float2, float2)
Returns the float value result of a matrix multiplication between a float2 row vector and a float2 column vector.
Declaration
public static float mul(float2 a, float2 b)
Parameters
Returns
Type |
Description |
System.Single |
|
mul(float2, float2x2)
Returns the float2 row vector result of a matrix multiplication between a float2 row vector and a float2x2 matrix.
Declaration
public static float2 mul(float2 a, float2x2 b)
Parameters
Returns
mul(float2, float2x3)
Returns the float3 row vector result of a matrix multiplication between a float2 row vector and a float2x3 matrix.
Declaration
public static float3 mul(float2 a, float2x3 b)
Parameters
Returns
mul(float2, float2x4)
Returns the float4 row vector result of a matrix multiplication between a float2 row vector and a float2x4 matrix.
Declaration
public static float4 mul(float2 a, float2x4 b)
Parameters
Returns
mul(float2x2, float2)
Returns the float2 column vector result of a matrix multiplication between a float2x2 matrix and a float2 column vector.
Declaration
public static float2 mul(float2x2 a, float2 b)
Parameters
Returns
mul(float2x2, float2x2)
Returns the float2x2 matrix result of a matrix multiplication between a float2x2 matrix and a float2x2 matrix.
Declaration
public static float2x2 mul(float2x2 a, float2x2 b)
Parameters
Returns
mul(float2x2, float2x3)
Returns the float2x3 matrix result of a matrix multiplication between a float2x2 matrix and a float2x3 matrix.
Declaration
public static float2x3 mul(float2x2 a, float2x3 b)
Parameters
Returns
mul(float2x2, float2x4)
Returns the float2x4 matrix result of a matrix multiplication between a float2x2 matrix and a float2x4 matrix.
Declaration
public static float2x4 mul(float2x2 a, float2x4 b)
Parameters
Returns
mul(float2x3, float3)
Returns the float2 column vector result of a matrix multiplication between a float2x3 matrix and a float3 column vector.
Declaration
public static float2 mul(float2x3 a, float3 b)
Parameters
Returns
mul(float2x3, float3x2)
Returns the float2x2 matrix result of a matrix multiplication between a float2x3 matrix and a float3x2 matrix.
Declaration
public static float2x2 mul(float2x3 a, float3x2 b)
Parameters
Returns
mul(float2x3, float3x3)
Returns the float2x3 matrix result of a matrix multiplication between a float2x3 matrix and a float3x3 matrix.
Declaration
public static float2x3 mul(float2x3 a, float3x3 b)
Parameters
Returns
mul(float2x3, float3x4)
Returns the float2x4 matrix result of a matrix multiplication between a float2x3 matrix and a float3x4 matrix.
Declaration
public static float2x4 mul(float2x3 a, float3x4 b)
Parameters
Returns
mul(float2x4, float4)
Returns the float2 column vector result of a matrix multiplication between a float2x4 matrix and a float4 column vector.
Declaration
public static float2 mul(float2x4 a, float4 b)
Parameters
Returns
mul(float2x4, float4x2)
Returns the float2x2 matrix result of a matrix multiplication between a float2x4 matrix and a float4x2 matrix.
Declaration
public static float2x2 mul(float2x4 a, float4x2 b)
Parameters
Returns
mul(float2x4, float4x3)
Returns the float2x3 matrix result of a matrix multiplication between a float2x4 matrix and a float4x3 matrix.
Declaration
public static float2x3 mul(float2x4 a, float4x3 b)
Parameters
Returns
mul(float2x4, float4x4)
Returns the float2x4 matrix result of a matrix multiplication between a float2x4 matrix and a float4x4 matrix.
Declaration
public static float2x4 mul(float2x4 a, float4x4 b)
Parameters
Returns
mul(float3, float3)
Returns the float value result of a matrix multiplication between a float3 row vector and a float3 column vector.
Declaration
public static float mul(float3 a, float3 b)
Parameters
Returns
Type |
Description |
System.Single |
|
mul(float3, float3x2)
Returns the float2 row vector result of a matrix multiplication between a float3 row vector and a float3x2 matrix.
Declaration
public static float2 mul(float3 a, float3x2 b)
Parameters
Returns
mul(float3, float3x3)
Returns the float3 row vector result of a matrix multiplication between a float3 row vector and a float3x3 matrix.
Declaration
public static float3 mul(float3 a, float3x3 b)
Parameters
Returns
mul(float3, float3x4)
Returns the float4 row vector result of a matrix multiplication between a float3 row vector and a float3x4 matrix.
Declaration
public static float4 mul(float3 a, float3x4 b)
Parameters
Returns
mul(float3x2, float2)
Returns the float3 column vector result of a matrix multiplication between a float3x2 matrix and a float2 column vector.
Declaration
public static float3 mul(float3x2 a, float2 b)
Parameters
Returns
mul(float3x2, float2x2)
Returns the float3x2 matrix result of a matrix multiplication between a float3x2 matrix and a float2x2 matrix.
Declaration
public static float3x2 mul(float3x2 a, float2x2 b)
Parameters
Returns
mul(float3x2, float2x3)
Returns the float3x3 matrix result of a matrix multiplication between a float3x2 matrix and a float2x3 matrix.
Declaration
public static float3x3 mul(float3x2 a, float2x3 b)
Parameters
Returns
mul(float3x2, float2x4)
Returns the float3x4 matrix result of a matrix multiplication between a float3x2 matrix and a float2x4 matrix.
Declaration
public static float3x4 mul(float3x2 a, float2x4 b)
Parameters
Returns
mul(float3x3, float3)
Returns the float3 column vector result of a matrix multiplication between a float3x3 matrix and a float3 column vector.
Declaration
public static float3 mul(float3x3 a, float3 b)
Parameters
Returns
mul(float3x3, float3x2)
Returns the float3x2 matrix result of a matrix multiplication between a float3x3 matrix and a float3x2 matrix.
Declaration
public static float3x2 mul(float3x3 a, float3x2 b)
Parameters
Returns
mul(float3x3, float3x3)
Returns the float3x3 matrix result of a matrix multiplication between a float3x3 matrix and a float3x3 matrix.
Declaration
public static float3x3 mul(float3x3 a, float3x3 b)
Parameters
Returns
mul(float3x3, float3x4)
Returns the float3x4 matrix result of a matrix multiplication between a float3x3 matrix and a float3x4 matrix.
Declaration
public static float3x4 mul(float3x3 a, float3x4 b)
Parameters
Returns
mul(float3x4, float4)
Returns the float3 column vector result of a matrix multiplication between a float3x4 matrix and a float4 column vector.
Declaration
public static float3 mul(float3x4 a, float4 b)
Parameters
Returns
mul(float3x4, float4x2)
Returns the float3x2 matrix result of a matrix multiplication between a float3x4 matrix and a float4x2 matrix.
Declaration
public static float3x2 mul(float3x4 a, float4x2 b)
Parameters
Returns
mul(float3x4, float4x3)
Returns the float3x3 matrix result of a matrix multiplication between a float3x4 matrix and a float4x3 matrix.
Declaration
public static float3x3 mul(float3x4 a, float4x3 b)
Parameters
Returns
mul(float3x4, float4x4)
Returns the float3x4 matrix result of a matrix multiplication between a float3x4 matrix and a float4x4 matrix.
Declaration
public static float3x4 mul(float3x4 a, float4x4 b)
Parameters
Returns
mul(float4, float4)
Returns the float value result of a matrix multiplication between a float4 row vector and a float4 column vector.
Declaration
public static float mul(float4 a, float4 b)
Parameters
Returns
Type |
Description |
System.Single |
|
mul(float4, float4x2)
Returns the float2 row vector result of a matrix multiplication between a float4 row vector and a float4x2 matrix.
Declaration
public static float2 mul(float4 a, float4x2 b)
Parameters
Returns
mul(float4, float4x3)
Returns the float3 row vector result of a matrix multiplication between a float4 row vector and a float4x3 matrix.
Declaration
public static float3 mul(float4 a, float4x3 b)
Parameters
Returns
mul(float4, float4x4)
Returns the float4 row vector result of a matrix multiplication between a float4 row vector and a float4x4 matrix.
Declaration
public static float4 mul(float4 a, float4x4 b)
Parameters
Returns
mul(float4x2, float2)
Returns the float4 column vector result of a matrix multiplication between a float4x2 matrix and a float2 column vector.
Declaration
public static float4 mul(float4x2 a, float2 b)
Parameters
Returns
mul(float4x2, float2x2)
Returns the float4x2 matrix result of a matrix multiplication between a float4x2 matrix and a float2x2 matrix.
Declaration
public static float4x2 mul(float4x2 a, float2x2 b)
Parameters
Returns
mul(float4x2, float2x3)
Returns the float4x3 matrix result of a matrix multiplication between a float4x2 matrix and a float2x3 matrix.
Declaration
public static float4x3 mul(float4x2 a, float2x3 b)
Parameters
Returns
mul(float4x2, float2x4)
Returns the float4x4 matrix result of a matrix multiplication between a float4x2 matrix and a float2x4 matrix.
Declaration
public static float4x4 mul(float4x2 a, float2x4 b)
Parameters
Returns
mul(float4x3, float3)
Returns the float4 column vector result of a matrix multiplication between a float4x3 matrix and a float3 column vector.
Declaration
public static float4 mul(float4x3 a, float3 b)
Parameters
Returns
mul(float4x3, float3x2)
Returns the float4x2 matrix result of a matrix multiplication between a float4x3 matrix and a float3x2 matrix.
Declaration
public static float4x2 mul(float4x3 a, float3x2 b)
Parameters
Returns
mul(float4x3, float3x3)
Returns the float4x3 matrix result of a matrix multiplication between a float4x3 matrix and a float3x3 matrix.
Declaration
public static float4x3 mul(float4x3 a, float3x3 b)
Parameters
Returns
mul(float4x3, float3x4)
Returns the float4x4 matrix result of a matrix multiplication between a float4x3 matrix and a float3x4 matrix.
Declaration
public static float4x4 mul(float4x3 a, float3x4 b)
Parameters
Returns
mul(float4x4, float4)
Returns the float4 column vector result of a matrix multiplication between a float4x4 matrix and a float4 column vector.
Declaration
public static float4 mul(float4x4 a, float4 b)
Parameters
Returns
mul(float4x4, float4x2)
Returns the float4x2 matrix result of a matrix multiplication between a float4x4 matrix and a float4x2 matrix.
Declaration
public static float4x2 mul(float4x4 a, float4x2 b)
Parameters
Returns
mul(float4x4, float4x3)
Returns the float4x3 matrix result of a matrix multiplication between a float4x4 matrix and a float4x3 matrix.
Declaration
public static float4x3 mul(float4x4 a, float4x3 b)
Parameters
Returns
mul(float4x4, float4x4)
Returns the float4x4 matrix result of a matrix multiplication between a float4x4 matrix and a float4x4 matrix.
Declaration
public static float4x4 mul(float4x4 a, float4x4 b)
Parameters
Returns
mul(int2, int2)
Returns the int value result of a matrix multiplication between an int2 row vector and an int2 column vector.
Declaration
public static int mul(int2 a, int2 b)
Parameters
Returns
Type |
Description |
System.Int32 |
|
mul(int2, int2x2)
Returns the int2 row vector result of a matrix multiplication between an int2 row vector and an int2x2 matrix.
Declaration
public static int2 mul(int2 a, int2x2 b)
Parameters
Returns
mul(int2, int2x3)
Returns the int3 row vector result of a matrix multiplication between an int2 row vector and an int2x3 matrix.
Declaration
public static int3 mul(int2 a, int2x3 b)
Parameters
Returns
mul(int2, int2x4)
Returns the int4 row vector result of a matrix multiplication between an int2 row vector and an int2x4 matrix.
Declaration
public static int4 mul(int2 a, int2x4 b)
Parameters
Returns
mul(int2x2, int2)
Returns the int2 column vector result of a matrix multiplication between an int2x2 matrix and an int2 column vector.
Declaration
public static int2 mul(int2x2 a, int2 b)
Parameters
Returns
mul(int2x2, int2x2)
Returns the int2x2 matrix result of a matrix multiplication between an int2x2 matrix and an int2x2 matrix.
Declaration
public static int2x2 mul(int2x2 a, int2x2 b)
Parameters
Returns
mul(int2x2, int2x3)
Returns the int2x3 matrix result of a matrix multiplication between an int2x2 matrix and an int2x3 matrix.
Declaration
public static int2x3 mul(int2x2 a, int2x3 b)
Parameters
Returns
mul(int2x2, int2x4)
Returns the int2x4 matrix result of a matrix multiplication between an int2x2 matrix and an int2x4 matrix.
Declaration
public static int2x4 mul(int2x2 a, int2x4 b)
Parameters
Returns
mul(int2x3, int3)
Returns the int2 column vector result of a matrix multiplication between an int2x3 matrix and an int3 column vector.
Declaration
public static int2 mul(int2x3 a, int3 b)
Parameters
Returns
mul(int2x3, int3x2)
Returns the int2x2 matrix result of a matrix multiplication between an int2x3 matrix and an int3x2 matrix.
Declaration
public static int2x2 mul(int2x3 a, int3x2 b)
Parameters
Returns
mul(int2x3, int3x3)
Returns the int2x3 matrix result of a matrix multiplication between an int2x3 matrix and an int3x3 matrix.
Declaration
public static int2x3 mul(int2x3 a, int3x3 b)
Parameters
Returns
mul(int2x3, int3x4)
Returns the int2x4 matrix result of a matrix multiplication between an int2x3 matrix and an int3x4 matrix.
Declaration
public static int2x4 mul(int2x3 a, int3x4 b)
Parameters
Returns
mul(int2x4, int4)
Returns the int2 column vector result of a matrix multiplication between an int2x4 matrix and an int4 column vector.
Declaration
public static int2 mul(int2x4 a, int4 b)
Parameters
Returns
mul(int2x4, int4x2)
Returns the int2x2 matrix result of a matrix multiplication between an int2x4 matrix and an int4x2 matrix.
Declaration
public static int2x2 mul(int2x4 a, int4x2 b)
Parameters
Returns
mul(int2x4, int4x3)
Returns the int2x3 matrix result of a matrix multiplication between an int2x4 matrix and an int4x3 matrix.
Declaration
public static int2x3 mul(int2x4 a, int4x3 b)
Parameters
Returns
mul(int2x4, int4x4)
Returns the int2x4 matrix result of a matrix multiplication between an int2x4 matrix and an int4x4 matrix.
Declaration
public static int2x4 mul(int2x4 a, int4x4 b)
Parameters
Returns
mul(int3, int3)
Returns the int value result of a matrix multiplication between an int3 row vector and an int3 column vector.
Declaration
public static int mul(int3 a, int3 b)
Parameters
Returns
Type |
Description |
System.Int32 |
|
mul(int3, int3x2)
Returns the int2 row vector result of a matrix multiplication between an int3 row vector and an int3x2 matrix.
Declaration
public static int2 mul(int3 a, int3x2 b)
Parameters
Returns
mul(int3, int3x3)
Returns the int3 row vector result of a matrix multiplication between an int3 row vector and an int3x3 matrix.
Declaration
public static int3 mul(int3 a, int3x3 b)
Parameters
Returns
mul(int3, int3x4)
Returns the int4 row vector result of a matrix multiplication between an int3 row vector and an int3x4 matrix.
Declaration
public static int4 mul(int3 a, int3x4 b)
Parameters
Returns
mul(int3x2, int2)
Returns the int3 column vector result of a matrix multiplication between an int3x2 matrix and an int2 column vector.
Declaration
public static int3 mul(int3x2 a, int2 b)
Parameters
Returns
mul(int3x2, int2x2)
Returns the int3x2 matrix result of a matrix multiplication between an int3x2 matrix and an int2x2 matrix.
Declaration
public static int3x2 mul(int3x2 a, int2x2 b)
Parameters
Returns
mul(int3x2, int2x3)
Returns the int3x3 matrix result of a matrix multiplication between an int3x2 matrix and an int2x3 matrix.
Declaration
public static int3x3 mul(int3x2 a, int2x3 b)
Parameters
Returns
mul(int3x2, int2x4)
Returns the int3x4 matrix result of a matrix multiplication between an int3x2 matrix and an int2x4 matrix.
Declaration
public static int3x4 mul(int3x2 a, int2x4 b)
Parameters
Returns
mul(int3x3, int3)
Returns the int3 column vector result of a matrix multiplication between an int3x3 matrix and an int3 column vector.
Declaration
public static int3 mul(int3x3 a, int3 b)
Parameters
Returns
mul(int3x3, int3x2)
Returns the int3x2 matrix result of a matrix multiplication between an int3x3 matrix and an int3x2 matrix.
Declaration
public static int3x2 mul(int3x3 a, int3x2 b)
Parameters
Returns
mul(int3x3, int3x3)
Returns the int3x3 matrix result of a matrix multiplication between an int3x3 matrix and an int3x3 matrix.
Declaration
public static int3x3 mul(int3x3 a, int3x3 b)
Parameters
Returns
mul(int3x3, int3x4)
Returns the int3x4 matrix result of a matrix multiplication between an int3x3 matrix and an int3x4 matrix.
Declaration
public static int3x4 mul(int3x3 a, int3x4 b)
Parameters
Returns
mul(int3x4, int4)
Returns the int3 column vector result of a matrix multiplication between an int3x4 matrix and an int4 column vector.
Declaration
public static int3 mul(int3x4 a, int4 b)
Parameters
Returns
mul(int3x4, int4x2)
Returns the int3x2 matrix result of a matrix multiplication between an int3x4 matrix and an int4x2 matrix.
Declaration
public static int3x2 mul(int3x4 a, int4x2 b)
Parameters
Returns
mul(int3x4, int4x3)
Returns the int3x3 matrix result of a matrix multiplication between an int3x4 matrix and an int4x3 matrix.
Declaration
public static int3x3 mul(int3x4 a, int4x3 b)
Parameters
Returns
mul(int3x4, int4x4)
Returns the int3x4 matrix result of a matrix multiplication between an int3x4 matrix and an int4x4 matrix.
Declaration
public static int3x4 mul(int3x4 a, int4x4 b)
Parameters
Returns
mul(int4, int4)
Returns the int value result of a matrix multiplication between an int4 row vector and an int4 column vector.
Declaration
public static int mul(int4 a, int4 b)
Parameters
Returns
Type |
Description |
System.Int32 |
|
mul(int4, int4x2)
Returns the int2 row vector result of a matrix multiplication between an int4 row vector and an int4x2 matrix.
Declaration
public static int2 mul(int4 a, int4x2 b)
Parameters
Returns
mul(int4, int4x3)
Returns the int3 row vector result of a matrix multiplication between an int4 row vector and an int4x3 matrix.
Declaration
public static int3 mul(int4 a, int4x3 b)
Parameters
Returns
mul(int4, int4x4)
Returns the int4 row vector result of a matrix multiplication between an int4 row vector and an int4x4 matrix.
Declaration
public static int4 mul(int4 a, int4x4 b)
Parameters
Returns
mul(int4x2, int2)
Returns the int4 column vector result of a matrix multiplication between an int4x2 matrix and an int2 column vector.
Declaration
public static int4 mul(int4x2 a, int2 b)
Parameters
Returns
mul(int4x2, int2x2)
Returns the int4x2 matrix result of a matrix multiplication between an int4x2 matrix and an int2x2 matrix.
Declaration
public static int4x2 mul(int4x2 a, int2x2 b)
Parameters
Returns
mul(int4x2, int2x3)
Returns the int4x3 matrix result of a matrix multiplication between an int4x2 matrix and an int2x3 matrix.
Declaration
public static int4x3 mul(int4x2 a, int2x3 b)
Parameters
Returns
mul(int4x2, int2x4)
Returns the int4x4 matrix result of a matrix multiplication between an int4x2 matrix and an int2x4 matrix.
Declaration
public static int4x4 mul(int4x2 a, int2x4 b)
Parameters
Returns
mul(int4x3, int3)
Returns the int4 column vector result of a matrix multiplication between an int4x3 matrix and an int3 column vector.
Declaration
public static int4 mul(int4x3 a, int3 b)
Parameters
Returns
mul(int4x3, int3x2)
Returns the int4x2 matrix result of a matrix multiplication between an int4x3 matrix and an int3x2 matrix.
Declaration
public static int4x2 mul(int4x3 a, int3x2 b)
Parameters
Returns
mul(int4x3, int3x3)
Returns the int4x3 matrix result of a matrix multiplication between an int4x3 matrix and an int3x3 matrix.
Declaration
public static int4x3 mul(int4x3 a, int3x3 b)
Parameters
Returns
mul(int4x3, int3x4)
Returns the int4x4 matrix result of a matrix multiplication between an int4x3 matrix and an int3x4 matrix.
Declaration
public static int4x4 mul(int4x3 a, int3x4 b)
Parameters
Returns
mul(int4x4, int4)
Returns the int4 column vector result of a matrix multiplication between an int4x4 matrix and an int4 column vector.
Declaration
public static int4 mul(int4x4 a, int4 b)
Parameters
Returns
mul(int4x4, int4x2)
Returns the int4x2 matrix result of a matrix multiplication between an int4x4 matrix and an int4x2 matrix.
Declaration
public static int4x2 mul(int4x4 a, int4x2 b)
Parameters
Returns
mul(int4x4, int4x3)
Returns the int4x3 matrix result of a matrix multiplication between an int4x4 matrix and an int4x3 matrix.
Declaration
public static int4x3 mul(int4x4 a, int4x3 b)
Parameters
Returns
mul(int4x4, int4x4)
Returns the int4x4 matrix result of a matrix multiplication between an int4x4 matrix and an int4x4 matrix.
Declaration
public static int4x4 mul(int4x4 a, int4x4 b)
Parameters
Returns
mul(quaternion, float3)
Returns the result of transforming a vector by a quaternion.
Declaration
public static float3 mul(quaternion q, float3 v)
Parameters
Returns
mul(quaternion, quaternion)
Returns the result of transforming the quaternion b by the quaternion a.
Declaration
public static quaternion mul(quaternion a, quaternion b)
Parameters
Returns
Returns the result of transforming a float4 homogeneous coordinate by a RigidTransform.
Declaration
public static float4 mul(RigidTransform a, float4 pos)
Parameters
Returns
Returns the result of transforming the RigidTransform b by the RigidTransform a.
Declaration
public static RigidTransform mul(RigidTransform a, RigidTransform b)
Parameters
Returns
mul(uint2, uint2)
Returns the uint value result of a matrix multiplication between a uint2 row vector and a uint2 column vector.
Declaration
public static uint mul(uint2 a, uint2 b)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
mul(uint2, uint2x2)
Returns the uint2 row vector result of a matrix multiplication between a uint2 row vector and a uint2x2 matrix.
Declaration
public static uint2 mul(uint2 a, uint2x2 b)
Parameters
Returns
mul(uint2, uint2x3)
Returns the uint3 row vector result of a matrix multiplication between a uint2 row vector and a uint2x3 matrix.
Declaration
public static uint3 mul(uint2 a, uint2x3 b)
Parameters
Returns
mul(uint2, uint2x4)
Returns the uint4 row vector result of a matrix multiplication between a uint2 row vector and a uint2x4 matrix.
Declaration
public static uint4 mul(uint2 a, uint2x4 b)
Parameters
Returns
mul(uint2x2, uint2)
Returns the uint2 column vector result of a matrix multiplication between a uint2x2 matrix and a uint2 column vector.
Declaration
public static uint2 mul(uint2x2 a, uint2 b)
Parameters
Returns
mul(uint2x2, uint2x2)
Returns the uint2x2 matrix result of a matrix multiplication between a uint2x2 matrix and a uint2x2 matrix.
Declaration
public static uint2x2 mul(uint2x2 a, uint2x2 b)
Parameters
Returns
mul(uint2x2, uint2x3)
Returns the uint2x3 matrix result of a matrix multiplication between a uint2x2 matrix and a uint2x3 matrix.
Declaration
public static uint2x3 mul(uint2x2 a, uint2x3 b)
Parameters
Returns
mul(uint2x2, uint2x4)
Returns the uint2x4 matrix result of a matrix multiplication between a uint2x2 matrix and a uint2x4 matrix.
Declaration
public static uint2x4 mul(uint2x2 a, uint2x4 b)
Parameters
Returns
mul(uint2x3, uint3)
Returns the uint2 column vector result of a matrix multiplication between a uint2x3 matrix and a uint3 column vector.
Declaration
public static uint2 mul(uint2x3 a, uint3 b)
Parameters
Returns
mul(uint2x3, uint3x2)
Returns the uint2x2 matrix result of a matrix multiplication between a uint2x3 matrix and a uint3x2 matrix.
Declaration
public static uint2x2 mul(uint2x3 a, uint3x2 b)
Parameters
Returns
mul(uint2x3, uint3x3)
Returns the uint2x3 matrix result of a matrix multiplication between a uint2x3 matrix and a uint3x3 matrix.
Declaration
public static uint2x3 mul(uint2x3 a, uint3x3 b)
Parameters
Returns
mul(uint2x3, uint3x4)
Returns the uint2x4 matrix result of a matrix multiplication between a uint2x3 matrix and a uint3x4 matrix.
Declaration
public static uint2x4 mul(uint2x3 a, uint3x4 b)
Parameters
Returns
mul(uint2x4, uint4)
Returns the uint2 column vector result of a matrix multiplication between a uint2x4 matrix and a uint4 column vector.
Declaration
public static uint2 mul(uint2x4 a, uint4 b)
Parameters
Returns
mul(uint2x4, uint4x2)
Returns the uint2x2 matrix result of a matrix multiplication between a uint2x4 matrix and a uint4x2 matrix.
Declaration
public static uint2x2 mul(uint2x4 a, uint4x2 b)
Parameters
Returns
mul(uint2x4, uint4x3)
Returns the uint2x3 matrix result of a matrix multiplication between a uint2x4 matrix and a uint4x3 matrix.
Declaration
public static uint2x3 mul(uint2x4 a, uint4x3 b)
Parameters
Returns
mul(uint2x4, uint4x4)
Returns the uint2x4 matrix result of a matrix multiplication between a uint2x4 matrix and a uint4x4 matrix.
Declaration
public static uint2x4 mul(uint2x4 a, uint4x4 b)
Parameters
Returns
mul(uint3, uint3)
Returns the uint value result of a matrix multiplication between a uint3 row vector and a uint3 column vector.
Declaration
public static uint mul(uint3 a, uint3 b)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
mul(uint3, uint3x2)
Returns the uint2 row vector result of a matrix multiplication between a uint3 row vector and a uint3x2 matrix.
Declaration
public static uint2 mul(uint3 a, uint3x2 b)
Parameters
Returns
mul(uint3, uint3x3)
Returns the uint3 row vector result of a matrix multiplication between a uint3 row vector and a uint3x3 matrix.
Declaration
public static uint3 mul(uint3 a, uint3x3 b)
Parameters
Returns
mul(uint3, uint3x4)
Returns the uint4 row vector result of a matrix multiplication between a uint3 row vector and a uint3x4 matrix.
Declaration
public static uint4 mul(uint3 a, uint3x4 b)
Parameters
Returns
mul(uint3x2, uint2)
Returns the uint3 column vector result of a matrix multiplication between a uint3x2 matrix and a uint2 column vector.
Declaration
public static uint3 mul(uint3x2 a, uint2 b)
Parameters
Returns
mul(uint3x2, uint2x2)
Returns the uint3x2 matrix result of a matrix multiplication between a uint3x2 matrix and a uint2x2 matrix.
Declaration
public static uint3x2 mul(uint3x2 a, uint2x2 b)
Parameters
Returns
mul(uint3x2, uint2x3)
Returns the uint3x3 matrix result of a matrix multiplication between a uint3x2 matrix and a uint2x3 matrix.
Declaration
public static uint3x3 mul(uint3x2 a, uint2x3 b)
Parameters
Returns
mul(uint3x2, uint2x4)
Returns the uint3x4 matrix result of a matrix multiplication between a uint3x2 matrix and a uint2x4 matrix.
Declaration
public static uint3x4 mul(uint3x2 a, uint2x4 b)
Parameters
Returns
mul(uint3x3, uint3)
Returns the uint3 column vector result of a matrix multiplication between a uint3x3 matrix and a uint3 column vector.
Declaration
public static uint3 mul(uint3x3 a, uint3 b)
Parameters
Returns
mul(uint3x3, uint3x2)
Returns the uint3x2 matrix result of a matrix multiplication between a uint3x3 matrix and a uint3x2 matrix.
Declaration
public static uint3x2 mul(uint3x3 a, uint3x2 b)
Parameters
Returns
mul(uint3x3, uint3x3)
Returns the uint3x3 matrix result of a matrix multiplication between a uint3x3 matrix and a uint3x3 matrix.
Declaration
public static uint3x3 mul(uint3x3 a, uint3x3 b)
Parameters
Returns
mul(uint3x3, uint3x4)
Returns the uint3x4 matrix result of a matrix multiplication between a uint3x3 matrix and a uint3x4 matrix.
Declaration
public static uint3x4 mul(uint3x3 a, uint3x4 b)
Parameters
Returns
mul(uint3x4, uint4)
Returns the uint3 column vector result of a matrix multiplication between a uint3x4 matrix and a uint4 column vector.
Declaration
public static uint3 mul(uint3x4 a, uint4 b)
Parameters
Returns
mul(uint3x4, uint4x2)
Returns the uint3x2 matrix result of a matrix multiplication between a uint3x4 matrix and a uint4x2 matrix.
Declaration
public static uint3x2 mul(uint3x4 a, uint4x2 b)
Parameters
Returns
mul(uint3x4, uint4x3)
Returns the uint3x3 matrix result of a matrix multiplication between a uint3x4 matrix and a uint4x3 matrix.
Declaration
public static uint3x3 mul(uint3x4 a, uint4x3 b)
Parameters
Returns
mul(uint3x4, uint4x4)
Returns the uint3x4 matrix result of a matrix multiplication between a uint3x4 matrix and a uint4x4 matrix.
Declaration
public static uint3x4 mul(uint3x4 a, uint4x4 b)
Parameters
Returns
mul(uint4, uint4)
Returns the uint value result of a matrix multiplication between a uint4 row vector and a uint4 column vector.
Declaration
public static uint mul(uint4 a, uint4 b)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
mul(uint4, uint4x2)
Returns the uint2 row vector result of a matrix multiplication between a uint4 row vector and a uint4x2 matrix.
Declaration
public static uint2 mul(uint4 a, uint4x2 b)
Parameters
Returns
mul(uint4, uint4x3)
Returns the uint3 row vector result of a matrix multiplication between a uint4 row vector and a uint4x3 matrix.
Declaration
public static uint3 mul(uint4 a, uint4x3 b)
Parameters
Returns
mul(uint4, uint4x4)
Returns the uint4 row vector result of a matrix multiplication between a uint4 row vector and a uint4x4 matrix.
Declaration
public static uint4 mul(uint4 a, uint4x4 b)
Parameters
Returns
mul(uint4x2, uint2)
Returns the uint4 column vector result of a matrix multiplication between a uint4x2 matrix and a uint2 column vector.
Declaration
public static uint4 mul(uint4x2 a, uint2 b)
Parameters
Returns
mul(uint4x2, uint2x2)
Returns the uint4x2 matrix result of a matrix multiplication between a uint4x2 matrix and a uint2x2 matrix.
Declaration
public static uint4x2 mul(uint4x2 a, uint2x2 b)
Parameters
Returns
mul(uint4x2, uint2x3)
Returns the uint4x3 matrix result of a matrix multiplication between a uint4x2 matrix and a uint2x3 matrix.
Declaration
public static uint4x3 mul(uint4x2 a, uint2x3 b)
Parameters
Returns
mul(uint4x2, uint2x4)
Returns the uint4x4 matrix result of a matrix multiplication between a uint4x2 matrix and a uint2x4 matrix.
Declaration
public static uint4x4 mul(uint4x2 a, uint2x4 b)
Parameters
Returns
mul(uint4x3, uint3)
Returns the uint4 column vector result of a matrix multiplication between a uint4x3 matrix and a uint3 column vector.
Declaration
public static uint4 mul(uint4x3 a, uint3 b)
Parameters
Returns
mul(uint4x3, uint3x2)
Returns the uint4x2 matrix result of a matrix multiplication between a uint4x3 matrix and a uint3x2 matrix.
Declaration
public static uint4x2 mul(uint4x3 a, uint3x2 b)
Parameters
Returns
mul(uint4x3, uint3x3)
Returns the uint4x3 matrix result of a matrix multiplication between a uint4x3 matrix and a uint3x3 matrix.
Declaration
public static uint4x3 mul(uint4x3 a, uint3x3 b)
Parameters
Returns
mul(uint4x3, uint3x4)
Returns the uint4x4 matrix result of a matrix multiplication between a uint4x3 matrix and a uint3x4 matrix.
Declaration
public static uint4x4 mul(uint4x3 a, uint3x4 b)
Parameters
Returns
mul(uint4x4, uint4)
Returns the uint4 column vector result of a matrix multiplication between a uint4x4 matrix and a uint4 column vector.
Declaration
public static uint4 mul(uint4x4 a, uint4 b)
Parameters
Returns
mul(uint4x4, uint4x2)
Returns the uint4x2 matrix result of a matrix multiplication between a uint4x4 matrix and a uint4x2 matrix.
Declaration
public static uint4x2 mul(uint4x4 a, uint4x2 b)
Parameters
Returns
mul(uint4x4, uint4x3)
Returns the uint4x3 matrix result of a matrix multiplication between a uint4x4 matrix and a uint4x3 matrix.
Declaration
public static uint4x3 mul(uint4x4 a, uint4x3 b)
Parameters
Returns
mul(uint4x4, uint4x4)
Returns the uint4x4 matrix result of a matrix multiplication between a uint4x4 matrix and a uint4x4 matrix.
Declaration
public static uint4x4 mul(uint4x4 a, uint4x4 b)
Parameters
Returns
nlerp(quaternion, quaternion, Single)
Returns the result of a normalized linear interpolation between two quaternions q1 and a2 using an interpolation parameter t.
Declaration
public static quaternion nlerp(quaternion q1, quaternion q2, float t)
Parameters
Returns
normalize(double2)
Returns a normalized version of the double2 vector x by scaling it by 1 / length(x).
Declaration
public static double2 normalize(double2 x)
Parameters
Returns
normalize(double3)
Returns a normalized version of the double3 vector x by scaling it by 1 / length(x).
Declaration
public static double3 normalize(double3 x)
Parameters
Returns
normalize(double4)
Returns a normalized version of the double4 vector x by scaling it by 1 / length(x).
Declaration
public static double4 normalize(double4 x)
Parameters
Returns
normalize(float2)
Returns a normalized version of the float2 vector x by scaling it by 1 / length(x).
Declaration
public static float2 normalize(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
normalize(float3)
Returns a normalized version of the float3 vector x by scaling it by 1 / length(x).
Declaration
public static float3 normalize(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
normalize(float4)
Returns a normalized version of the float4 vector x by scaling it by 1 / length(x).
Declaration
public static float4 normalize(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
normalize(quaternion)
Returns a normalized version of a quaternion q by scaling it by 1 / length(q).
Declaration
public static quaternion normalize(quaternion q)
Parameters
Returns
normalizesafe(double2, double2)
Returns a safe normalized version of the double4 vector x by scaling it by 1 / length(x).
Returns the given default value when 1 / length(x) does not produce a finite number.
Declaration
public static double2 normalizesafe(double2 x, double2 defaultvalue = default(double2))
Parameters
Returns
normalizesafe(double3, double3)
Returns a safe normalized version of the double4 vector x by scaling it by 1 / length(x).
Returns the given default value when 1 / length(x) does not produce a finite number.
Declaration
public static double3 normalizesafe(double3 x, double3 defaultvalue = default(double3))
Parameters
Returns
normalizesafe(double4, double4)
Returns a safe normalized version of the double4 vector x by scaling it by 1 / length(x).
Returns the given default value when 1 / length(x) does not produce a finite number.
Declaration
public static double4 normalizesafe(double4 x, double4 defaultvalue = default(double4))
Parameters
Returns
normalizesafe(float2, float2)
Returns a safe normalized version of the float2 vector x by scaling it by 1 / length(x).
Returns the given default value when 1 / length(x) does not produce a finite number.
Declaration
public static float2 normalizesafe(float2 x, float2 defaultvalue = default(float2))
Parameters
Returns
normalizesafe(float3, float3)
Returns a safe normalized version of the float3 vector x by scaling it by 1 / length(x).
Returns the given default value when 1 / length(x) does not produce a finite number.
Declaration
public static float3 normalizesafe(float3 x, float3 defaultvalue = default(float3))
Parameters
Returns
normalizesafe(float4, float4)
Returns a safe normalized version of the float4 vector x by scaling it by 1 / length(x).
Returns the given default value when 1 / length(x) does not produce a finite number.
Declaration
public static float4 normalizesafe(float4 x, float4 defaultvalue = default(float4))
Parameters
Returns
normalizesafe(quaternion)
Returns a safe normalized version of the q by scaling it by 1 / length(q).
Returns the identity when 1 / length(q) does not produce a finite number.
Declaration
public static quaternion normalizesafe(quaternion q)
Parameters
Returns
normalizesafe(quaternion, quaternion)
Returns a safe normalized version of the q by scaling it by 1 / length(q).
Returns the given default value when 1 / length(q) does not produce a finite number.
Declaration
public static quaternion normalizesafe(quaternion q, quaternion defaultvalue)
Parameters
Returns
orthonormalize(float3x3)
Returns an orthonormalized version of a float3x3 matrix.
Declaration
public static float3x3 orthonormalize(float3x3 i)
Parameters
Returns
pow(Double, Double)
Returns x raised to the power y.
Declaration
public static double pow(double x, double y)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
Returns
Type |
Description |
System.Double |
|
pow(Single, Single)
Returns x raised to the power y.
Declaration
public static float pow(float x, float y)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
Returns
Type |
Description |
System.Single |
|
pow(double2, double2)
Returns the componentwise result of raising x to the power y.
Declaration
public static double2 pow(double2 x, double2 y)
Parameters
Returns
pow(double3, double3)
Returns the componentwise result of raising x to the power y.
Declaration
public static double3 pow(double3 x, double3 y)
Parameters
Returns
pow(double4, double4)
Returns the componentwise result of raising x to the power y.
Declaration
public static double4 pow(double4 x, double4 y)
Parameters
Returns
pow(float2, float2)
Returns the componentwise result of raising x to the power y.
Declaration
public static float2 pow(float2 x, float2 y)
Parameters
Returns
pow(float3, float3)
Returns the componentwise result of raising x to the power y.
Declaration
public static float3 pow(float3 x, float3 y)
Parameters
Returns
pow(float4, float4)
Returns the componentwise result of raising x to the power y.
Declaration
public static float4 pow(float4 x, float4 y)
Parameters
Returns
quaternion(Single, Single, Single, Single)
Returns a quaternion constructed from four float values.
Declaration
public static quaternion quaternion(float x, float y, float z, float w)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
System.Single |
z |
|
System.Single |
w |
|
Returns
quaternion(float3x3)
Returns a unit quaternion constructed from a float3x3 rotation matrix. The matrix must be orthonormal.
Declaration
public static quaternion quaternion(float3x3 m)
Parameters
Returns
quaternion(float4)
Returns a quaternion constructed from a float4 vector.
Declaration
public static quaternion quaternion(float4 value)
Parameters
Type |
Name |
Description |
float4 |
value |
|
Returns
quaternion(float4x4)
Returns a unit quaternion constructed from a float4x4 matrix. The matrix must be orthonormal.
Declaration
public static quaternion quaternion(float4x4 m)
Parameters
Returns
radians(Double)
Returns the result of converting a float value from degrees to radians.
Declaration
public static double radians(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
radians(Single)
Returns the result of converting a float value from degrees to radians.
Declaration
public static float radians(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
radians(double2)
Returns the result of a componentwise conversion of a float2 vector from degrees to radians.
Declaration
public static double2 radians(double2 x)
Parameters
Returns
radians(double3)
Returns the result of a componentwise conversion of a float3 vector from degrees to radians.
Declaration
public static double3 radians(double3 x)
Parameters
Returns
radians(double4)
Returns the result of a componentwise conversion of a float4 vector from degrees to radians.
Declaration
public static double4 radians(double4 x)
Parameters
Returns
radians(float2)
Returns the result of a componentwise conversion of a float2 vector from degrees to radians.
Declaration
public static float2 radians(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
radians(float3)
Returns the result of a componentwise conversion of a float3 vector from degrees to radians.
Declaration
public static float3 radians(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
radians(float4)
Returns the result of a componentwise conversion of a float4 vector from degrees to radians.
Declaration
public static float4 radians(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
rcp(Double)
Returns the reciprocal a double value.
Declaration
public static double rcp(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
rcp(Single)
Returns the reciprocal a float value.
Declaration
public static float rcp(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
rcp(double2)
Returns the componentwise reciprocal a double2 vector.
Declaration
public static double2 rcp(double2 x)
Parameters
Returns
rcp(double3)
Returns the componentwise reciprocal a double3 vector.
Declaration
public static double3 rcp(double3 x)
Parameters
Returns
rcp(double4)
Returns the componentwise reciprocal a double4 vector.
Declaration
public static double4 rcp(double4 x)
Parameters
Returns
rcp(float2)
Returns the componentwise reciprocal a float2 vector.
Declaration
public static float2 rcp(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
rcp(float3)
Returns the componentwise reciprocal a float3 vector.
Declaration
public static float3 rcp(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
rcp(float4)
Returns the componentwise reciprocal a float4 vector.
Declaration
public static float4 rcp(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
reflect(double2, double2)
Given an incident vector i and a normal vector n, returns the reflection vector r = i - 2.0 * dot(i, n) * n.
Declaration
public static double2 reflect(double2 i, double2 n)
Parameters
Returns
reflect(double3, double3)
Given an incident vector i and a normal vector n, returns the reflection vector r = i - 2.0 * dot(i, n) * n.
Declaration
public static double3 reflect(double3 i, double3 n)
Parameters
Returns
reflect(double4, double4)
Given an incident vector i and a normal vector n, returns the reflection vector r = i - 2.0 * dot(i, n) * n.
Declaration
public static double4 reflect(double4 i, double4 n)
Parameters
Returns
reflect(float2, float2)
Given an incident vector i and a normal vector n, returns the reflection vector r = i - 2.0f * dot(i, n) * n.
Declaration
public static float2 reflect(float2 i, float2 n)
Parameters
Returns
reflect(float3, float3)
Given an incident vector i and a normal vector n, returns the reflection vector r = i - 2.0f * dot(i, n) * n.
Declaration
public static float3 reflect(float3 i, float3 n)
Parameters
Returns
reflect(float4, float4)
Given an incident vector i and a normal vector n, returns the reflection vector r = i - 2.0f * dot(i, n) * n.
Declaration
public static float4 reflect(float4 i, float4 n)
Parameters
Returns
refract(double2, double2, Double)
Returns the refraction vector given the incident vector i, the normal vector n and the refraction index eta.
Declaration
public static double2 refract(double2 i, double2 n, double eta)
Parameters
Returns
refract(double3, double3, Double)
Returns the refraction vector given the incident vector i, the normal vector n and the refraction index eta.
Declaration
public static double3 refract(double3 i, double3 n, double eta)
Parameters
Returns
refract(double4, double4, Double)
Returns the refraction vector given the incident vector i, the normal vector n and the refraction index eta.
Declaration
public static double4 refract(double4 i, double4 n, double eta)
Parameters
Returns
refract(float2, float2, Single)
Returns the refraction vector given the incident vector i, the normal vector n and the refraction index eta.
Declaration
public static float2 refract(float2 i, float2 n, float eta)
Parameters
Returns
refract(float3, float3, Single)
Returns the refraction vector given the incident vector i, the normal vector n and the refraction index eta.
Declaration
public static float3 refract(float3 i, float3 n, float eta)
Parameters
Returns
refract(float4, float4, Single)
Returns the refraction vector given the incident vector i, the normal vector n and the refraction index eta.
Declaration
public static float4 refract(float4 i, float4 n, float eta)
Parameters
Returns
remap(Double, Double, Double, Double, Double)
Returns the result of a non-clamping linear remapping of a value x from [a, b] to [c, d].
Declaration
public static double remap(double a, double b, double c, double d, double x)
Parameters
Type |
Name |
Description |
System.Double |
a |
|
System.Double |
b |
|
System.Double |
c |
|
System.Double |
d |
|
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
remap(Single, Single, Single, Single, Single)
Returns the result of a non-clamping linear remapping of a value x from [a, b] to [c, d].
Declaration
public static float remap(float a, float b, float c, float d, float x)
Parameters
Type |
Name |
Description |
System.Single |
a |
|
System.Single |
b |
|
System.Single |
c |
|
System.Single |
d |
|
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
remap(double2, double2, double2, double2, double2)
Returns the componentwise result of a non-clamping linear remapping of a value x from [a, b] to [c, d].
Declaration
public static double2 remap(double2 a, double2 b, double2 c, double2 d, double2 x)
Parameters
Returns
remap(double3, double3, double3, double3, double3)
Returns the componentwise result of a non-clamping linear remapping of a value x from [a, b] to [c, d].
Declaration
public static double3 remap(double3 a, double3 b, double3 c, double3 d, double3 x)
Parameters
Returns
remap(double4, double4, double4, double4, double4)
Returns the componentwise result of a non-clamping linear remapping of a value x from [a, b] to [c, d].
Declaration
public static double4 remap(double4 a, double4 b, double4 c, double4 d, double4 x)
Parameters
Returns
remap(float2, float2, float2, float2, float2)
Returns the componentwise result of a non-clamping linear remapping of a value x from [a, b] to [c, d].
Declaration
public static float2 remap(float2 a, float2 b, float2 c, float2 d, float2 x)
Parameters
Returns
remap(float3, float3, float3, float3, float3)
Returns the componentwise result of a non-clamping linear remapping of a value x from [a, b] to [c, d].
Declaration
public static float3 remap(float3 a, float3 b, float3 c, float3 d, float3 x)
Parameters
Returns
remap(float4, float4, float4, float4, float4)
Returns the componentwise result of a non-clamping linear remapping of a value x from [a, b] to [c, d].
Declaration
public static float4 remap(float4 a, float4 b, float4 c, float4 d, float4 x)
Parameters
Returns
reversebits(Int32)
Returns the result of performing a reversal of the bit pattern of an int value.
Declaration
public static int reversebits(int x)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
reversebits(Int64)
Returns the result of performing a reversal of the bit pattern of a long value.
Declaration
public static long reversebits(long x)
Parameters
Type |
Name |
Description |
System.Int64 |
x |
|
Returns
Type |
Description |
System.Int64 |
|
reversebits(UInt32)
Returns the result of performing a reversal of the bit pattern of a uint value.
Declaration
public static uint reversebits(uint x)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
Returns
Type |
Description |
System.UInt32 |
|
reversebits(UInt64)
Returns the result of performing a reversal of the bit pattern of a ulong value.
Declaration
public static ulong reversebits(ulong x)
Parameters
Type |
Name |
Description |
System.UInt64 |
x |
|
Returns
Type |
Description |
System.UInt64 |
|
reversebits(int2)
Returns the result of performing a componentwise reversal of the bit pattern of an int2 vector.
Declaration
public static int2 reversebits(int2 x)
Parameters
Type |
Name |
Description |
int2 |
x |
|
Returns
reversebits(int3)
Returns the result of performing a componentwise reversal of the bit pattern of an int3 vector.
Declaration
public static int3 reversebits(int3 x)
Parameters
Type |
Name |
Description |
int3 |
x |
|
Returns
reversebits(int4)
Returns the result of performing a componentwise reversal of the bit pattern of an int4 vector.
Declaration
public static int4 reversebits(int4 x)
Parameters
Type |
Name |
Description |
int4 |
x |
|
Returns
reversebits(uint2)
Returns the result of performing a componentwise reversal of the bit pattern of an uint2 vector.
Declaration
public static uint2 reversebits(uint2 x)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
Returns
reversebits(uint3)
Returns the result of performing a componentwise reversal of the bit pattern of an uint3 vector.
Declaration
public static uint3 reversebits(uint3 x)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
Returns
reversebits(uint4)
Returns the result of performing a componentwise reversal of the bit pattern of an uint4 vector.
Declaration
public static uint4 reversebits(uint4 x)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
Returns
Returns a RigidTransform constructed from a rotation represented by a unit quaternion and a translation represented by a float3 vector.
Declaration
public static RigidTransform RigidTransform(float3x3 rotation, float3 translation)
Parameters
Returns
Returns a RigidTransform constructed from a rotation represented by a float3x3 matrix and a translation represented by a float3 vector.
Declaration
public static RigidTransform RigidTransform(float4x4 transform)
Parameters
Type |
Name |
Description |
float4x4 |
transform |
|
Returns
Returns a RigidTransform constructed from a rotation represented by a unit quaternion and a translation represented by a float3 vector.
Declaration
public static RigidTransform RigidTransform(quaternion rot, float3 pos)
Parameters
Returns
rol(Int32, Int32)
Returns the result of rotating the bits of an int left by bits n.
Declaration
public static int rol(int x, int n)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
n |
|
Returns
Type |
Description |
System.Int32 |
|
rol(Int64, Int32)
Returns the result of rotating the bits of a long left by bits n.
Declaration
public static long rol(long x, int n)
Parameters
Type |
Name |
Description |
System.Int64 |
x |
|
System.Int32 |
n |
|
Returns
Type |
Description |
System.Int64 |
|
rol(UInt32, Int32)
Returns the result of rotating the bits of a uint left by bits n.
Declaration
public static uint rol(uint x, int n)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
System.Int32 |
n |
|
Returns
Type |
Description |
System.UInt32 |
|
rol(UInt64, Int32)
Returns the result of rotating the bits of a ulong left by bits n.
Declaration
public static ulong rol(ulong x, int n)
Parameters
Type |
Name |
Description |
System.UInt64 |
x |
|
System.Int32 |
n |
|
Returns
Type |
Description |
System.UInt64 |
|
rol(int2, Int32)
Returns the componentwise result of rotating the bits of an int2 left by bits n.
Declaration
public static int2 rol(int2 x, int n)
Parameters
Type |
Name |
Description |
int2 |
x |
|
System.Int32 |
n |
|
Returns
rol(int3, Int32)
Returns the componentwise result of rotating the bits of an int3 left by bits n.
Declaration
public static int3 rol(int3 x, int n)
Parameters
Type |
Name |
Description |
int3 |
x |
|
System.Int32 |
n |
|
Returns
rol(int4, Int32)
Returns the componentwise result of rotating the bits of an int4 left by bits n.
Declaration
public static int4 rol(int4 x, int n)
Parameters
Type |
Name |
Description |
int4 |
x |
|
System.Int32 |
n |
|
Returns
rol(uint2, Int32)
Returns the componentwise result of rotating the bits of a uint2 left by bits n.
Declaration
public static uint2 rol(uint2 x, int n)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
System.Int32 |
n |
|
Returns
rol(uint3, Int32)
Returns the componentwise result of rotating the bits of a uint3 left by bits n.
Declaration
public static uint3 rol(uint3 x, int n)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
System.Int32 |
n |
|
Returns
rol(uint4, Int32)
Returns the componentwise result of rotating the bits of a uint4 left by bits n.
Declaration
public static uint4 rol(uint4 x, int n)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
System.Int32 |
n |
|
Returns
ror(Int32, Int32)
Returns the result of rotating the bits of an int right by bits n.
Declaration
public static int ror(int x, int n)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
n |
|
Returns
Type |
Description |
System.Int32 |
|
ror(Int64, Int32)
Returns the result of rotating the bits of a long right by bits n.
Declaration
public static long ror(long x, int n)
Parameters
Type |
Name |
Description |
System.Int64 |
x |
|
System.Int32 |
n |
|
Returns
Type |
Description |
System.Int64 |
|
ror(UInt32, Int32)
Returns the result of rotating the bits of a uint right by bits n.
Declaration
public static uint ror(uint x, int n)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
System.Int32 |
n |
|
Returns
Type |
Description |
System.UInt32 |
|
ror(UInt64, Int32)
Returns the result of rotating the bits of a ulong right by bits n.
Declaration
public static ulong ror(ulong x, int n)
Parameters
Type |
Name |
Description |
System.UInt64 |
x |
|
System.Int32 |
n |
|
Returns
Type |
Description |
System.UInt64 |
|
ror(int2, Int32)
Returns the componentwise result of rotating the bits of an int2 right by bits n.
Declaration
public static int2 ror(int2 x, int n)
Parameters
Type |
Name |
Description |
int2 |
x |
|
System.Int32 |
n |
|
Returns
ror(int3, Int32)
Returns the componentwise result of rotating the bits of an int3 right by bits n.
Declaration
public static int3 ror(int3 x, int n)
Parameters
Type |
Name |
Description |
int3 |
x |
|
System.Int32 |
n |
|
Returns
ror(int4, Int32)
Returns the componentwise result of rotating the bits of an int4 right by bits n.
Declaration
public static int4 ror(int4 x, int n)
Parameters
Type |
Name |
Description |
int4 |
x |
|
System.Int32 |
n |
|
Returns
ror(uint2, Int32)
Returns the componentwise result of rotating the bits of a uint2 right by bits n.
Declaration
public static uint2 ror(uint2 x, int n)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
System.Int32 |
n |
|
Returns
ror(uint3, Int32)
Returns the componentwise result of rotating the bits of a uint3 right by bits n.
Declaration
public static uint3 ror(uint3 x, int n)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
System.Int32 |
n |
|
Returns
ror(uint4, Int32)
Returns the componentwise result of rotating the bits of a uint4 right by bits n.
Declaration
public static uint4 ror(uint4 x, int n)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
System.Int32 |
n |
|
Returns
rotate(double4x4, double3)
Return the result of rotating a double3 vector by a double4x4 matrix
Declaration
public static double3 rotate(double4x4 a, double3 b)
Parameters
Returns
rotate(float4x4, float3)
Return the result of rotating a float3 vector by a float4x4 matrix
Declaration
public static float3 rotate(float4x4 a, float3 b)
Parameters
Returns
rotate(quaternion, float3)
Returns the result of rotating a vector by a unit quaternion.
Declaration
public static float3 rotate(quaternion q, float3 v)
Parameters
Returns
Returns the result of rotating a float3 vector by a RigidTransform.
Declaration
public static float3 rotate(RigidTransform a, float3 dir)
Parameters
Returns
round(Double)
Returns the result of rounding a double value to the nearest integral value.
Declaration
public static double round(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
round(Single)
Returns the result of rounding a float value to the nearest integral value.
Declaration
public static float round(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
round(double2)
Returns the result of rounding each component of a double2 vector value to the nearest integral value.
Declaration
public static double2 round(double2 x)
Parameters
Returns
round(double3)
Returns the result of rounding each component of a double3 vector value to the nearest integral value.
Declaration
public static double3 round(double3 x)
Parameters
Returns
round(double4)
Returns the result of rounding each component of a double4 vector value to the nearest integral value.
Declaration
public static double4 round(double4 x)
Parameters
Returns
round(float2)
Returns the result of rounding each component of a float2 vector value to the nearest integral value.
Declaration
public static float2 round(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
round(float3)
Returns the result of rounding each component of a float3 vector value to the nearest integral value.
Declaration
public static float3 round(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
round(float4)
Returns the result of rounding each component of a float4 vector value to the nearest integral value.
Declaration
public static float4 round(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
rsqrt(Double)
Returns the reciprocal square root of a double value.
Declaration
public static double rsqrt(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
rsqrt(Single)
Returns the reciprocal square root of a float value.
Declaration
public static float rsqrt(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
rsqrt(double2)
Returns the componentwise reciprocal square root of a double2 vector.
Declaration
public static double2 rsqrt(double2 x)
Parameters
Returns
rsqrt(double3)
Returns the componentwise reciprocal square root of a double3 vector.
Declaration
public static double3 rsqrt(double3 x)
Parameters
Returns
rsqrt(double4)
Returns the componentwise reciprocal square root of a double4 vector.
Declaration
public static double4 rsqrt(double4 x)
Parameters
Returns
rsqrt(float2)
Returns the componentwise reciprocal square root of a float2 vector.
Declaration
public static float2 rsqrt(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
rsqrt(float3)
Returns the componentwise reciprocal square root of a float3 vector.
Declaration
public static float3 rsqrt(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
rsqrt(float4)
Returns the componentwise reciprocal square root of a float4 vector
Declaration
public static float4 rsqrt(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
saturate(Double)
Returns the result of clamping the double value x into the interval [0, 1].
Declaration
public static double saturate(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
saturate(Single)
Returns the result of clamping the float value x into the interval [0, 1].
Declaration
public static float saturate(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
saturate(double2)
Returns the result of a componentwise clamping of the double2 vector x into the interval [0, 1].
Declaration
public static double2 saturate(double2 x)
Parameters
Returns
saturate(double3)
Returns the result of a componentwise clamping of the double3 vector x into the interval [0, 1].
Declaration
public static double3 saturate(double3 x)
Parameters
Returns
saturate(double4)
Returns the result of a componentwise clamping of the double4 vector x into the interval [0, 1].
Declaration
public static double4 saturate(double4 x)
Parameters
Returns
saturate(float2)
Returns the result of a componentwise clamping of the float2 vector x into the interval [0, 1].
Declaration
public static float2 saturate(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
saturate(float3)
Returns the result of a componentwise clamping of the float3 vector x into the interval [0, 1].
Declaration
public static float3 saturate(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
saturate(float4)
Returns the result of a componentwise clamping of the float4 vector x into the interval [0, 1].
Declaration
public static float4 saturate(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
select(Double, Double, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static double select(double a, double b, bool c)
Parameters
Type |
Name |
Description |
System.Double |
a |
|
System.Double |
b |
|
System.Boolean |
c |
|
Returns
Type |
Description |
System.Double |
|
select(Int32, Int32, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static int select(int a, int b, bool c)
Parameters
Type |
Name |
Description |
System.Int32 |
a |
|
System.Int32 |
b |
|
System.Boolean |
c |
|
Returns
Type |
Description |
System.Int32 |
|
select(Int64, Int64, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static long select(long a, long b, bool c)
Parameters
Type |
Name |
Description |
System.Int64 |
a |
|
System.Int64 |
b |
|
System.Boolean |
c |
|
Returns
Type |
Description |
System.Int64 |
|
select(Single, Single, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static float select(float a, float b, bool c)
Parameters
Type |
Name |
Description |
System.Single |
a |
|
System.Single |
b |
|
System.Boolean |
c |
|
Returns
Type |
Description |
System.Single |
|
select(UInt32, UInt32, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static uint select(uint a, uint b, bool c)
Parameters
Type |
Name |
Description |
System.UInt32 |
a |
|
System.UInt32 |
b |
|
System.Boolean |
c |
|
Returns
Type |
Description |
System.UInt32 |
|
select(UInt64, UInt64, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static ulong select(ulong a, ulong b, bool c)
Parameters
Type |
Name |
Description |
System.UInt64 |
a |
|
System.UInt64 |
b |
|
System.Boolean |
c |
|
Returns
Type |
Description |
System.UInt64 |
|
select(double2, double2, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static double2 select(double2 a, double2 b, bool c)
Parameters
Returns
select(double2, double2, bool2)
Returns a componentwise selection between two double2 vectors a and b based on a bool2 selection mask c.
Per component, the component from b is selected when c is true, otherwise the component from a is selected.
Declaration
public static double2 select(double2 a, double2 b, bool2 c)
Parameters
Returns
select(double3, double3, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static double3 select(double3 a, double3 b, bool c)
Parameters
Returns
select(double3, double3, bool3)
Returns a componentwise selection between two double3 vectors a and b based on a bool3 selection mask c.
Per component, the component from b is selected when c is true, otherwise the component from a is selected.
Declaration
public static double3 select(double3 a, double3 b, bool3 c)
Parameters
Returns
select(double4, double4, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static double4 select(double4 a, double4 b, bool c)
Parameters
Returns
select(double4, double4, bool4)
Returns a componentwise selection between two double4 vectors a and b based on a bool4 selection mask c.
Per component, the component from b is selected when c is true, otherwise the component from a is selected.
Declaration
public static double4 select(double4 a, double4 b, bool4 c)
Parameters
Returns
select(float2, float2, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static float2 select(float2 a, float2 b, bool c)
Parameters
Returns
select(float2, float2, bool2)
Returns a componentwise selection between two float2 vectors a and b based on a bool2 selection mask c.
Per component, the component from b is selected when c is true, otherwise the component from a is selected.
Declaration
public static float2 select(float2 a, float2 b, bool2 c)
Parameters
Returns
select(float3, float3, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static float3 select(float3 a, float3 b, bool c)
Parameters
Returns
select(float3, float3, bool3)
Returns a componentwise selection between two float3 vectors a and b based on a bool3 selection mask c.
Per component, the component from b is selected when c is true, otherwise the component from a is selected.
Declaration
public static float3 select(float3 a, float3 b, bool3 c)
Parameters
Returns
select(float4, float4, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static float4 select(float4 a, float4 b, bool c)
Parameters
Returns
select(float4, float4, bool4)
Returns a componentwise selection between two float4 vectors a and b based on a bool4 selection mask c.
Per component, the component from b is selected when c is true, otherwise the component from a is selected.
Declaration
public static float4 select(float4 a, float4 b, bool4 c)
Parameters
Returns
select(int2, int2, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static int2 select(int2 a, int2 b, bool c)
Parameters
Type |
Name |
Description |
int2 |
a |
|
int2 |
b |
|
System.Boolean |
c |
|
Returns
select(int2, int2, bool2)
Returns a componentwise selection between two int2 vectors a and b based on a bool2 selection mask c.
Per component, the component from b is selected when c is true, otherwise the component from a is selected.
Declaration
public static int2 select(int2 a, int2 b, bool2 c)
Parameters
Returns
select(int3, int3, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static int3 select(int3 a, int3 b, bool c)
Parameters
Type |
Name |
Description |
int3 |
a |
|
int3 |
b |
|
System.Boolean |
c |
|
Returns
select(int3, int3, bool3)
Returns a componentwise selection between two int3 vectors a and b based on a bool3 selection mask c.
Per component, the component from b is selected when c is true, otherwise the component from a is selected.
Declaration
public static int3 select(int3 a, int3 b, bool3 c)
Parameters
Returns
select(int4, int4, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static int4 select(int4 a, int4 b, bool c)
Parameters
Type |
Name |
Description |
int4 |
a |
|
int4 |
b |
|
System.Boolean |
c |
|
Returns
select(int4, int4, bool4)
Returns a componentwise selection between two int4 vectors a and b based on a bool4 selection mask c.
Per component, the component from b is selected when c is true, otherwise the component from a is selected.
Declaration
public static int4 select(int4 a, int4 b, bool4 c)
Parameters
Returns
select(uint2, uint2, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static uint2 select(uint2 a, uint2 b, bool c)
Parameters
Type |
Name |
Description |
uint2 |
a |
|
uint2 |
b |
|
System.Boolean |
c |
|
Returns
select(uint2, uint2, bool2)
Returns a componentwise selection between two uint2 vectors a and b based on a bool2 selection mask c.
Per component, the component from b is selected when c is true, otherwise the component from a is selected.
Declaration
public static uint2 select(uint2 a, uint2 b, bool2 c)
Parameters
Returns
select(uint3, uint3, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static uint3 select(uint3 a, uint3 b, bool c)
Parameters
Type |
Name |
Description |
uint3 |
a |
|
uint3 |
b |
|
System.Boolean |
c |
|
Returns
select(uint3, uint3, bool3)
Returns a componentwise selection between two uint3 vectors a and b based on a bool3 selection mask c.
Per component, the component from b is selected when c is true, otherwise the component from a is selected.
Declaration
public static uint3 select(uint3 a, uint3 b, bool3 c)
Parameters
Returns
select(uint4, uint4, Boolean)
Returns b if c is true, a otherwise.
Declaration
public static uint4 select(uint4 a, uint4 b, bool c)
Parameters
Type |
Name |
Description |
uint4 |
a |
|
uint4 |
b |
|
System.Boolean |
c |
|
Returns
select(uint4, uint4, bool4)
Returns a componentwise selection between two uint4 vectors a and b based on a bool4 selection mask c.
Per component, the component from b is selected when c is true, otherwise the component from a is selected.
Declaration
public static uint4 select(uint4 a, uint4 b, bool4 c)
Parameters
Returns
shuffle(bool2, bool2, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two bool2 vectors into a bool value.
Declaration
public static bool shuffle(bool2 a, bool2 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
shuffle(bool2, bool2, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two bool2 vectors into a bool2 vector.
Declaration
public static bool2 shuffle(bool2 a, bool2 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(bool2, bool2, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two bool2 vectors into a bool3 vector.
Declaration
public static bool3 shuffle(bool2 a, bool2 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(bool2, bool2, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two bool2 vectors into a bool4 vector.
Declaration
public static bool4 shuffle(bool2 a, bool2 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
shuffle(bool3, bool3, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two bool3 vectors into a bool value.
Declaration
public static bool shuffle(bool3 a, bool3 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
shuffle(bool3, bool3, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two bool3 vectors into a bool2 vector.
Declaration
public static bool2 shuffle(bool3 a, bool3 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(bool3, bool3, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two bool3 vectors into a bool3 vector.
Declaration
public static bool3 shuffle(bool3 a, bool3 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(bool3, bool3, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two bool3 vectors into a bool4 vector.
Declaration
public static bool4 shuffle(bool3 a, bool3 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
shuffle(bool4, bool4, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two bool4 vectors into a bool value.
Declaration
public static bool shuffle(bool4 a, bool4 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
shuffle(bool4, bool4, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two bool4 vectors into a bool2 vector.
Declaration
public static bool2 shuffle(bool4 a, bool4 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(bool4, bool4, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two bool4 vectors into a bool3 vector.
Declaration
public static bool3 shuffle(bool4 a, bool4 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(bool4, bool4, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two bool4 vectors into a bool4 vector.
Declaration
public static bool4 shuffle(bool4 a, bool4 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
shuffle(double2, double2, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two double2 vectors into a double value.
Declaration
public static double shuffle(double2 a, double2 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.Double |
|
shuffle(double2, double2, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two double2 vectors into a double2 vector.
Declaration
public static double2 shuffle(double2 a, double2 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(double2, double2, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two double2 vectors into a double3 vector.
Declaration
public static double3 shuffle(double2 a, double2 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(double2, double2, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two double2 vectors into a double4 vector.
Declaration
public static double4 shuffle(double2 a, double2 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
shuffle(double3, double3, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two double3 vectors into a double value.
Declaration
public static double shuffle(double3 a, double3 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.Double |
|
shuffle(double3, double3, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two double3 vectors into a double2 vector.
Declaration
public static double2 shuffle(double3 a, double3 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(double3, double3, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two double3 vectors into a double3 vector.
Declaration
public static double3 shuffle(double3 a, double3 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(double3, double3, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two double3 vectors into a double4 vector.
Declaration
public static double4 shuffle(double3 a, double3 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
shuffle(double4, double4, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two double4 vectors into a double value.
Declaration
public static double shuffle(double4 a, double4 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.Double |
|
shuffle(double4, double4, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two double4 vectors into a double2 vector.
Declaration
public static double2 shuffle(double4 a, double4 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(double4, double4, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two double4 vectors into a double3 vector.
Declaration
public static double3 shuffle(double4 a, double4 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(double4, double4, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two double4 vectors into a double4 vector.
Declaration
public static double4 shuffle(double4 a, double4 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
shuffle(float2, float2, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two float2 vectors into a float value.
Declaration
public static float shuffle(float2 a, float2 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.Single |
|
shuffle(float2, float2, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two float2 vectors into a float2 vector.
Declaration
public static float2 shuffle(float2 a, float2 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(float2, float2, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two float2 vectors into a float3 vector.
Declaration
public static float3 shuffle(float2 a, float2 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(float2, float2, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two float2 vectors into a float4 vector.
Declaration
public static float4 shuffle(float2 a, float2 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
shuffle(float3, float3, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two float3 vectors into a float value.
Declaration
public static float shuffle(float3 a, float3 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.Single |
|
shuffle(float3, float3, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two float3 vectors into a float2 vector.
Declaration
public static float2 shuffle(float3 a, float3 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(float3, float3, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two float3 vectors into a float3 vector.
Declaration
public static float3 shuffle(float3 a, float3 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(float3, float3, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two float3 vectors into a float4 vector.
Declaration
public static float4 shuffle(float3 a, float3 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
shuffle(float4, float4, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two float4 vectors into a float value.
Declaration
public static float shuffle(float4 a, float4 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.Single |
|
shuffle(float4, float4, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two float4 vectors into a float2 vector.
Declaration
public static float2 shuffle(float4 a, float4 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(float4, float4, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two float4 vectors into a float3 vector.
Declaration
public static float3 shuffle(float4 a, float4 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(float4, float4, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two float4 vectors into a float4 vector.
Declaration
public static float4 shuffle(float4 a, float4 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
shuffle(int2, int2, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two int2 vectors into an int value.
Declaration
public static int shuffle(int2 a, int2 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.Int32 |
|
shuffle(int2, int2, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two int2 vectors into an int2 vector.
Declaration
public static int2 shuffle(int2 a, int2 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(int2, int2, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two int2 vectors into an int3 vector.
Declaration
public static int3 shuffle(int2 a, int2 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(int2, int2, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two int2 vectors into an int4 vector.
Declaration
public static int4 shuffle(int2 a, int2 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
shuffle(int3, int3, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two int3 vectors into an int value.
Declaration
public static int shuffle(int3 a, int3 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.Int32 |
|
shuffle(int3, int3, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two int3 vectors into an int2 vector.
Declaration
public static int2 shuffle(int3 a, int3 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(int3, int3, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two int3 vectors into an int3 vector.
Declaration
public static int3 shuffle(int3 a, int3 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(int3, int3, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two int3 vectors into an int4 vector.
Declaration
public static int4 shuffle(int3 a, int3 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
shuffle(int4, int4, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two int4 vectors into an int value.
Declaration
public static int shuffle(int4 a, int4 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.Int32 |
|
shuffle(int4, int4, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two int4 vectors into an int2 vector.
Declaration
public static int2 shuffle(int4 a, int4 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(int4, int4, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two int4 vectors into an int3 vector.
Declaration
public static int3 shuffle(int4 a, int4 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(int4, int4, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two int4 vectors into an int4 vector.
Declaration
public static int4 shuffle(int4 a, int4 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
shuffle(uint2, uint2, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two uint2 vectors into a uint value.
Declaration
public static uint shuffle(uint2 a, uint2 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
shuffle(uint2, uint2, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two uint2 vectors into a uint2 vector.
Declaration
public static uint2 shuffle(uint2 a, uint2 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(uint2, uint2, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two uint2 vectors into a uint3 vector.
Declaration
public static uint3 shuffle(uint2 a, uint2 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(uint2, uint2, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two uint2 vectors into a uint4 vector.
Declaration
public static uint4 shuffle(uint2 a, uint2 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
shuffle(uint3, uint3, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two uint3 vectors into a uint value.
Declaration
public static uint shuffle(uint3 a, uint3 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
shuffle(uint3, uint3, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two uint3 vectors into a uint2 vector.
Declaration
public static uint2 shuffle(uint3 a, uint3 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(uint3, uint3, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two uint3 vectors into a uint3 vector.
Declaration
public static uint3 shuffle(uint3 a, uint3 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(uint3, uint3, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two uint3 vectors into a uint4 vector.
Declaration
public static uint4 shuffle(uint3 a, uint3 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
shuffle(uint4, uint4, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two uint4 vectors into a uint value.
Declaration
public static uint shuffle(uint4 a, uint4 b, math.ShuffleComponent x)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
shuffle(uint4, uint4, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two uint4 vectors into a uint2 vector.
Declaration
public static uint2 shuffle(uint4 a, uint4 b, math.ShuffleComponent x, math.ShuffleComponent y)
Parameters
Returns
shuffle(uint4, uint4, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two uint4 vectors into a uint3 vector.
Declaration
public static uint3 shuffle(uint4 a, uint4 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z)
Parameters
Returns
shuffle(uint4, uint4, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent, math.ShuffleComponent)
Returns the result of specified shuffling of the components from two uint4 vectors into a uint4 vector.
Declaration
public static uint4 shuffle(uint4 a, uint4 b, math.ShuffleComponent x, math.ShuffleComponent y, math.ShuffleComponent z, math.ShuffleComponent w)
Parameters
Returns
sign(Double)
Returns the sign of a double value. -1.0 if it is less than zero, 0.0 if it is zero and 1.0 if it greater than zero.
Declaration
public static double sign(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
sign(Single)
Returns the sign of a float value. -1.0f if it is less than zero, 0.0f if it is zero and 1.0f if it greater than zero.
Declaration
public static float sign(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
sign(double2)
Returns the componentwise sign of a double2 value. 1.0 for positive components, 0.0 for zero components and -1.0 for negative components.
Declaration
public static double2 sign(double2 x)
Parameters
Returns
sign(double3)
Returns the componentwise sign of a double3 value. 1.0 for positive components, 0.0 for zero components and -1.0 for negative components.
Declaration
public static double3 sign(double3 x)
Parameters
Returns
sign(double4)
Returns the componentwise sign of a double4 value. 1.0 for positive components, 0.0 for zero components and -1.0 for negative components.
Declaration
public static double4 sign(double4 x)
Parameters
Returns
sign(float2)
Returns the componentwise sign of a float2 value. 1.0f for positive components, 0.0f for zero components and -1.0f for negative components.
Declaration
public static float2 sign(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
sign(float3)
Returns the componentwise sign of a float3 value. 1.0f for positive components, 0.0f for zero components and -1.0f for negative components.
Declaration
public static float3 sign(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
sign(float4)
Returns the componentwise sign of a float4 value. 1.0f for positive components, 0.0f for zero components and -1.0f for negative components.
Declaration
public static float4 sign(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
sin(Double)
Returns the sine of a double value.
Declaration
public static double sin(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
sin(Single)
Returns the sine of a float value.
Declaration
public static float sin(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
sin(double2)
Returns the componentwise sine of a double2 vector.
Declaration
public static double2 sin(double2 x)
Parameters
Returns
sin(double3)
Returns the componentwise sine of a double3 vector.
Declaration
public static double3 sin(double3 x)
Parameters
Returns
sin(double4)
Returns the componentwise sine of a double4 vector.
Declaration
public static double4 sin(double4 x)
Parameters
Returns
sin(float2)
Returns the componentwise sine of a float2 vector.
Declaration
public static float2 sin(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
sin(float3)
Returns the componentwise sine of a float3 vector.
Declaration
public static float3 sin(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
sin(float4)
Returns the componentwise sine of a float4 vector.
Declaration
public static float4 sin(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
sincos(Double, out Double, out Double)
Returns the sine and cosine of the input double value x through the out parameters s and c.
Declaration
public static void sincos(double x, out double s, out double c)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
s |
|
System.Double |
c |
|
sincos(Single, out Single, out Single)
Returns the sine and cosine of the input float value x through the out parameters s and c.
Declaration
public static void sincos(float x, out float s, out float c)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
s |
|
System.Single |
c |
|
sincos(double2, out double2, out double2)
Returns the componentwise sine and cosine of the input double2 vector x through the out parameters s and c.
Declaration
public static void sincos(double2 x, out double2 s, out double2 c)
Parameters
sincos(double3, out double3, out double3)
Returns the componentwise sine and cosine of the input double3 vector x through the out parameters s and c.
Declaration
public static void sincos(double3 x, out double3 s, out double3 c)
Parameters
sincos(double4, out double4, out double4)
Returns the componentwise sine and cosine of the input double4 vector x through the out parameters s and c.
Declaration
public static void sincos(double4 x, out double4 s, out double4 c)
Parameters
sincos(float2, out float2, out float2)
Returns the componentwise sine and cosine of the input float2 vector x through the out parameters s and c.
Declaration
public static void sincos(float2 x, out float2 s, out float2 c)
Parameters
sincos(float3, out float3, out float3)
Returns the componentwise sine and cosine of the input float3 vector x through the out parameters s and c.
Declaration
public static void sincos(float3 x, out float3 s, out float3 c)
Parameters
sincos(float4, out float4, out float4)
Returns the componentwise sine and cosine of the input float4 vector x through the out parameters s and c.
Declaration
public static void sincos(float4 x, out float4 s, out float4 c)
Parameters
sinh(Double)
Returns the hyperbolic sine of a double value.
Declaration
public static double sinh(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
sinh(Single)
Returns the hyperbolic sine of a float value.
Declaration
public static float sinh(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
sinh(double2)
Returns the componentwise hyperbolic sine of a double2 vector.
Declaration
public static double2 sinh(double2 x)
Parameters
Returns
sinh(double3)
Returns the componentwise hyperbolic sine of a double3 vector.
Declaration
public static double3 sinh(double3 x)
Parameters
Returns
sinh(double4)
Returns the componentwise hyperbolic sine of a double4 vector.
Declaration
public static double4 sinh(double4 x)
Parameters
Returns
sinh(float2)
Returns the componentwise hyperbolic sine of a float2 vector.
Declaration
public static float2 sinh(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
sinh(float3)
Returns the componentwise hyperbolic sine of a float3 vector.
Declaration
public static float3 sinh(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
sinh(float4)
Returns the componentwise hyperbolic sine of a float4 vector.
Declaration
public static float4 sinh(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
slerp(quaternion, quaternion, Single)
Returns the result of a spherical interpolation between two quaternions q1 and a2 using an interpolation parameter t.
Declaration
public static quaternion slerp(quaternion q1, quaternion q2, float t)
Parameters
Returns
smoothstep(Double, Double, Double)
Returns a smooth Hermite interpolation between 0.0 and 1.0 when x is in [a, b].
Declaration
public static double smoothstep(double a, double b, double x)
Parameters
Type |
Name |
Description |
System.Double |
a |
|
System.Double |
b |
|
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
smoothstep(Single, Single, Single)
Returns a smooth Hermite interpolation between 0.0f and 1.0f when x is in [a, b].
Declaration
public static float smoothstep(float a, float b, float x)
Parameters
Type |
Name |
Description |
System.Single |
a |
|
System.Single |
b |
|
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
smoothstep(double2, double2, double2)
Returns a componentwise smooth Hermite interpolation between 0.0 and 1.0 when x is in [a, b].
Declaration
public static double2 smoothstep(double2 a, double2 b, double2 x)
Parameters
Returns
smoothstep(double3, double3, double3)
Returns a componentwise smooth Hermite interpolation between 0.0 and 1.0 when x is in [a, b].
Declaration
public static double3 smoothstep(double3 a, double3 b, double3 x)
Parameters
Returns
smoothstep(double4, double4, double4)
Returns a componentwise smooth Hermite interpolation between 0.0 and 1.0 when x is in [a, b].
Declaration
public static double4 smoothstep(double4 a, double4 b, double4 x)
Parameters
Returns
smoothstep(float2, float2, float2)
Returns a componentwise smooth Hermite interpolation between 0.0f and 1.0f when x is in [a, b].
Declaration
public static float2 smoothstep(float2 a, float2 b, float2 x)
Parameters
Returns
smoothstep(float3, float3, float3)
Returns a componentwise smooth Hermite interpolation between 0.0f and 1.0f when x is in [a, b].
Declaration
public static float3 smoothstep(float3 a, float3 b, float3 x)
Parameters
Returns
smoothstep(float4, float4, float4)
Returns a componentwise smooth Hermite interpolation between 0.0f and 1.0f when x is in [a, b].
Declaration
public static float4 smoothstep(float4 a, float4 b, float4 x)
Parameters
Returns
sqrt(Double)
Returns the square root of a double value.
Declaration
public static double sqrt(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
sqrt(Single)
Returns the square root of a float value.
Declaration
public static float sqrt(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
sqrt(double2)
Returns the componentwise square root of a double2 vector.
Declaration
public static double2 sqrt(double2 x)
Parameters
Returns
sqrt(double3)
Returns the componentwise square root of a double3 vector.
Declaration
public static double3 sqrt(double3 x)
Parameters
Returns
sqrt(double4)
Returns the componentwise square root of a double4 vector.
Declaration
public static double4 sqrt(double4 x)
Parameters
Returns
sqrt(float2)
Returns the componentwise square root of a float2 vector.
Declaration
public static float2 sqrt(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
sqrt(float3)
Returns the componentwise square root of a float3 vector.
Declaration
public static float3 sqrt(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
sqrt(float4)
Returns the componentwise square root of a float4 vector.
Declaration
public static float4 sqrt(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
step(Double, Double)
Computes a step function. Returns 1.0 when x >= y, 0.0 otherwise.
Declaration
public static double step(double y, double x)
Parameters
Type |
Name |
Description |
System.Double |
y |
|
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
step(Single, Single)
Computes a step function. Returns 1.0f when x >= y, 0.0f otherwise.
Declaration
public static float step(float y, float x)
Parameters
Type |
Name |
Description |
System.Single |
y |
|
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
step(double2, double2)
Returns the result of a componentwise step function where each component is 1.0f when x >= y and 0.0f otherwise.
Declaration
public static double2 step(double2 y, double2 x)
Parameters
Returns
step(double3, double3)
Returns the result of a componentwise step function where each component is 1.0f when x >= y and 0.0f otherwise.
Declaration
public static double3 step(double3 y, double3 x)
Parameters
Returns
step(double4, double4)
Returns the result of a componentwise step function where each component is 1.0f when x >= y and 0.0f otherwise.
Declaration
public static double4 step(double4 y, double4 x)
Parameters
Returns
step(float2, float2)
Returns the result of a componentwise step function where each component is 1.0f when x >= y and 0.0f otherwise.
Declaration
public static float2 step(float2 y, float2 x)
Parameters
Returns
step(float3, float3)
Returns the result of a componentwise step function where each component is 1.0f when x >= y and 0.0f otherwise.
Declaration
public static float3 step(float3 y, float3 x)
Parameters
Returns
step(float4, float4)
Returns the result of a componentwise step function where each component is 1.0f when x >= y and 0.0f otherwise.
Declaration
public static float4 step(float4 y, float4 x)
Parameters
Returns
tan(Double)
Returns the tangent of a double value.
Declaration
public static double tan(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
tan(Single)
Returns the tangent of a float value.
Declaration
public static float tan(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
tan(double2)
Returns the componentwise tangent of a double2 vector.
Declaration
public static double2 tan(double2 x)
Parameters
Returns
tan(double3)
Returns the componentwise tangent of a double3 vector.
Declaration
public static double3 tan(double3 x)
Parameters
Returns
tan(double4)
Returns the componentwise tangent of a double4 vector.
Declaration
public static double4 tan(double4 x)
Parameters
Returns
tan(float2)
Returns the componentwise tangent of a float2 vector.
Declaration
public static float2 tan(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
tan(float3)
Returns the componentwise tangent of a float3 vector.
Declaration
public static float3 tan(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
tan(float4)
Returns the componentwise tangent of a float4 vector.
Declaration
public static float4 tan(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
tanh(Double)
Returns the hyperbolic tangent of a double value.
Declaration
public static double tanh(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
tanh(Single)
Returns the hyperbolic tangent of a float value.
Declaration
public static float tanh(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
tanh(double2)
Returns the componentwise hyperbolic tangent of a double2 vector.
Declaration
public static double2 tanh(double2 x)
Parameters
Returns
tanh(double3)
Returns the componentwise hyperbolic tangent of a double3 vector.
Declaration
public static double3 tanh(double3 x)
Parameters
Returns
tanh(double4)
Returns the componentwise hyperbolic tangent of a double4 vector.
Declaration
public static double4 tanh(double4 x)
Parameters
Returns
tanh(float2)
Returns the componentwise hyperbolic tangent of a float2 vector.
Declaration
public static float2 tanh(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
tanh(float3)
Returns the componentwise hyperbolic tangent of a float3 vector.
Declaration
public static float3 tanh(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
tanh(float4)
Returns the componentwise hyperbolic tangent of a float4 vector.
Declaration
public static float4 tanh(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
Return the result of transforming a double3 point by a double4x4 matrix
Declaration
public static double3 transform(double4x4 a, double3 b)
Parameters
Returns
Return the result of transforming a float3 point by a float4x4 matrix
Declaration
public static float3 transform(float4x4 a, float3 b)
Parameters
Returns
Returns the result of transforming a float3 point by a RigidTransform.
Declaration
public static float3 transform(RigidTransform a, float3 pos)
Parameters
Returns
transpose(bool2x2)
Return the bool2x2 transpose of a bool2x2 matrix.
Declaration
public static bool2x2 transpose(bool2x2 v)
Parameters
Returns
transpose(bool2x3)
Return the bool3x2 transpose of a bool2x3 matrix.
Declaration
public static bool3x2 transpose(bool2x3 v)
Parameters
Returns
transpose(bool2x4)
Return the bool4x2 transpose of a bool2x4 matrix.
Declaration
public static bool4x2 transpose(bool2x4 v)
Parameters
Returns
transpose(bool3x2)
Return the bool2x3 transpose of a bool3x2 matrix.
Declaration
public static bool2x3 transpose(bool3x2 v)
Parameters
Returns
transpose(bool3x3)
Return the bool3x3 transpose of a bool3x3 matrix.
Declaration
public static bool3x3 transpose(bool3x3 v)
Parameters
Returns
transpose(bool3x4)
Return the bool4x3 transpose of a bool3x4 matrix.
Declaration
public static bool4x3 transpose(bool3x4 v)
Parameters
Returns
transpose(bool4x2)
Return the bool2x4 transpose of a bool4x2 matrix.
Declaration
public static bool2x4 transpose(bool4x2 v)
Parameters
Returns
transpose(bool4x3)
Return the bool3x4 transpose of a bool4x3 matrix.
Declaration
public static bool3x4 transpose(bool4x3 v)
Parameters
Returns
transpose(bool4x4)
Return the bool4x4 transpose of a bool4x4 matrix.
Declaration
public static bool4x4 transpose(bool4x4 v)
Parameters
Returns
transpose(double2x2)
Return the double2x2 transpose of a double2x2 matrix.
Declaration
public static double2x2 transpose(double2x2 v)
Parameters
Returns
transpose(double2x3)
Return the double3x2 transpose of a double2x3 matrix.
Declaration
public static double3x2 transpose(double2x3 v)
Parameters
Returns
transpose(double2x4)
Return the double4x2 transpose of a double2x4 matrix.
Declaration
public static double4x2 transpose(double2x4 v)
Parameters
Returns
transpose(double3x2)
Return the double2x3 transpose of a double3x2 matrix.
Declaration
public static double2x3 transpose(double3x2 v)
Parameters
Returns
transpose(double3x3)
Return the double3x3 transpose of a double3x3 matrix.
Declaration
public static double3x3 transpose(double3x3 v)
Parameters
Returns
transpose(double3x4)
Return the double4x3 transpose of a double3x4 matrix.
Declaration
public static double4x3 transpose(double3x4 v)
Parameters
Returns
transpose(double4x2)
Return the double2x4 transpose of a double4x2 matrix.
Declaration
public static double2x4 transpose(double4x2 v)
Parameters
Returns
transpose(double4x3)
Return the double3x4 transpose of a double4x3 matrix.
Declaration
public static double3x4 transpose(double4x3 v)
Parameters
Returns
transpose(double4x4)
Return the double4x4 transpose of a double4x4 matrix.
Declaration
public static double4x4 transpose(double4x4 v)
Parameters
Returns
transpose(float2x2)
Return the float2x2 transpose of a float2x2 matrix.
Declaration
public static float2x2 transpose(float2x2 v)
Parameters
Returns
transpose(float2x3)
Return the float3x2 transpose of a float2x3 matrix.
Declaration
public static float3x2 transpose(float2x3 v)
Parameters
Returns
transpose(float2x4)
Return the float4x2 transpose of a float2x4 matrix.
Declaration
public static float4x2 transpose(float2x4 v)
Parameters
Returns
transpose(float3x2)
Return the float2x3 transpose of a float3x2 matrix.
Declaration
public static float2x3 transpose(float3x2 v)
Parameters
Returns
transpose(float3x3)
Return the float3x3 transpose of a float3x3 matrix.
Declaration
public static float3x3 transpose(float3x3 v)
Parameters
Returns
transpose(float3x4)
Return the float4x3 transpose of a float3x4 matrix.
Declaration
public static float4x3 transpose(float3x4 v)
Parameters
Returns
transpose(float4x2)
Return the float2x4 transpose of a float4x2 matrix.
Declaration
public static float2x4 transpose(float4x2 v)
Parameters
Returns
transpose(float4x3)
Return the float3x4 transpose of a float4x3 matrix.
Declaration
public static float3x4 transpose(float4x3 v)
Parameters
Returns
transpose(float4x4)
Return the float4x4 transpose of a float4x4 matrix.
Declaration
public static float4x4 transpose(float4x4 v)
Parameters
Returns
transpose(int2x2)
Return the int2x2 transpose of a int2x2 matrix.
Declaration
public static int2x2 transpose(int2x2 v)
Parameters
Type |
Name |
Description |
int2x2 |
v |
|
Returns
transpose(int2x3)
Return the int3x2 transpose of a int2x3 matrix.
Declaration
public static int3x2 transpose(int2x3 v)
Parameters
Type |
Name |
Description |
int2x3 |
v |
|
Returns
transpose(int2x4)
Return the int4x2 transpose of a int2x4 matrix.
Declaration
public static int4x2 transpose(int2x4 v)
Parameters
Type |
Name |
Description |
int2x4 |
v |
|
Returns
transpose(int3x2)
Return the int2x3 transpose of a int3x2 matrix.
Declaration
public static int2x3 transpose(int3x2 v)
Parameters
Type |
Name |
Description |
int3x2 |
v |
|
Returns
transpose(int3x3)
Return the int3x3 transpose of a int3x3 matrix.
Declaration
public static int3x3 transpose(int3x3 v)
Parameters
Type |
Name |
Description |
int3x3 |
v |
|
Returns
transpose(int3x4)
Return the int4x3 transpose of a int3x4 matrix.
Declaration
public static int4x3 transpose(int3x4 v)
Parameters
Type |
Name |
Description |
int3x4 |
v |
|
Returns
transpose(int4x2)
Return the int2x4 transpose of a int4x2 matrix.
Declaration
public static int2x4 transpose(int4x2 v)
Parameters
Type |
Name |
Description |
int4x2 |
v |
|
Returns
transpose(int4x3)
Return the int3x4 transpose of a int4x3 matrix.
Declaration
public static int3x4 transpose(int4x3 v)
Parameters
Type |
Name |
Description |
int4x3 |
v |
|
Returns
transpose(int4x4)
Return the int4x4 transpose of a int4x4 matrix.
Declaration
public static int4x4 transpose(int4x4 v)
Parameters
Type |
Name |
Description |
int4x4 |
v |
|
Returns
transpose(uint2x2)
Return the uint2x2 transpose of a uint2x2 matrix.
Declaration
public static uint2x2 transpose(uint2x2 v)
Parameters
Returns
transpose(uint2x3)
Return the uint3x2 transpose of a uint2x3 matrix.
Declaration
public static uint3x2 transpose(uint2x3 v)
Parameters
Returns
transpose(uint2x4)
Return the uint4x2 transpose of a uint2x4 matrix.
Declaration
public static uint4x2 transpose(uint2x4 v)
Parameters
Returns
transpose(uint3x2)
Return the uint2x3 transpose of a uint3x2 matrix.
Declaration
public static uint2x3 transpose(uint3x2 v)
Parameters
Returns
transpose(uint3x3)
Return the uint3x3 transpose of a uint3x3 matrix.
Declaration
public static uint3x3 transpose(uint3x3 v)
Parameters
Returns
transpose(uint3x4)
Return the uint4x3 transpose of a uint3x4 matrix.
Declaration
public static uint4x3 transpose(uint3x4 v)
Parameters
Returns
transpose(uint4x2)
Return the uint2x4 transpose of a uint4x2 matrix.
Declaration
public static uint2x4 transpose(uint4x2 v)
Parameters
Returns
transpose(uint4x3)
Return the uint3x4 transpose of a uint4x3 matrix.
Declaration
public static uint3x4 transpose(uint4x3 v)
Parameters
Returns
transpose(uint4x4)
Return the uint4x4 transpose of a uint4x4 matrix.
Declaration
public static uint4x4 transpose(uint4x4 v)
Parameters
Returns
trunc(Double)
Returns the result of truncating a double value to an integral double value.
Declaration
public static double trunc(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
trunc(Single)
Returns the result of truncating a float value to an integral float value.
Declaration
public static float trunc(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
trunc(double2)
Returns the result of a componentwise truncation of a double2 value to an integral double2 value.
Declaration
public static double2 trunc(double2 x)
Parameters
Returns
trunc(double3)
Returns the result of a componentwise truncation of a double3 value to an integral double3 value.
Declaration
public static double3 trunc(double3 x)
Parameters
Returns
trunc(double4)
Returns the result of a componentwise truncation of a double4 value to an integral double4 value.
Declaration
public static double4 trunc(double4 x)
Parameters
Returns
trunc(float2)
Returns the result of a componentwise truncation of a float2 value to an integral float2 value.
Declaration
public static float2 trunc(float2 x)
Parameters
Type |
Name |
Description |
float2 |
x |
|
Returns
trunc(float3)
Returns the result of a componentwise truncation of a float3 value to an integral float3 value.
Declaration
public static float3 trunc(float3 x)
Parameters
Type |
Name |
Description |
float3 |
x |
|
Returns
trunc(float4)
Returns the result of a componentwise truncation of a float4 value to an integral float4 value.
Declaration
public static float4 trunc(float4 x)
Parameters
Type |
Name |
Description |
float4 |
x |
|
Returns
tzcnt(Int32)
Returns number of trailing zeros in the binary representations of an int value.
Declaration
public static int tzcnt(int x)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
tzcnt(Int64)
Returns number of trailing zeros in the binary representations of a long value.
Declaration
public static int tzcnt(long x)
Parameters
Type |
Name |
Description |
System.Int64 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
tzcnt(UInt32)
Returns number of trailing zeros in the binary representations of a uint value.
Declaration
public static int tzcnt(uint x)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
tzcnt(UInt64)
Returns number of trailing zeros in the binary representations of a ulong value.
Declaration
public static int tzcnt(ulong x)
Parameters
Type |
Name |
Description |
System.UInt64 |
x |
|
Returns
Type |
Description |
System.Int32 |
|
tzcnt(int2)
Returns the componentwise number of leading zeros in the binary representations of an int2 vector.
Declaration
public static int2 tzcnt(int2 x)
Parameters
Type |
Name |
Description |
int2 |
x |
|
Returns
tzcnt(int3)
Returns the componentwise number of leading zeros in the binary representations of an int3 vector.
Declaration
public static int3 tzcnt(int3 v)
Parameters
Type |
Name |
Description |
int3 |
v |
|
Returns
tzcnt(int4)
Returns the componentwise number of leading zeros in the binary representations of an int4 vector.
Declaration
public static int4 tzcnt(int4 v)
Parameters
Type |
Name |
Description |
int4 |
v |
|
Returns
tzcnt(uint2)
Returns the componentwise number of leading zeros in the binary representations of an uint2 vector.
Declaration
public static int2 tzcnt(uint2 x)
Parameters
Type |
Name |
Description |
uint2 |
x |
|
Returns
tzcnt(uint3)
Returns the componentwise number of leading zeros in the binary representations of an uint3 vector.
Declaration
public static int3 tzcnt(uint3 x)
Parameters
Type |
Name |
Description |
uint3 |
x |
|
Returns
tzcnt(uint4)
Returns the componentwise number of leading zeros in the binary representations of an uint4 vector.
Declaration
public static int4 tzcnt(uint4 x)
Parameters
Type |
Name |
Description |
uint4 |
x |
|
Returns
uint2(Boolean)
Returns a uint2 vector constructed from a single bool value by converting it to uint and assigning it to every component.
Declaration
public static uint2 uint2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
uint2(Double)
Returns a uint2 vector constructed from a single double value by converting it to uint and assigning it to every component.
Declaration
public static uint2 uint2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
uint2(Int32)
Returns a uint2 vector constructed from a single int value by converting it to uint and assigning it to every component.
Declaration
public static uint2 uint2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
uint2(Single)
Returns a uint2 vector constructed from a single float value by converting it to uint and assigning it to every component.
Declaration
public static uint2 uint2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
uint2(UInt32)
Returns a uint2 vector constructed from a single uint value by assigning it to every component.
Declaration
public static uint2 uint2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
uint2(UInt32, UInt32)
Returns a uint2 vector constructed from two uint values.
Declaration
public static uint2 uint2(uint x, uint y)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
System.UInt32 |
y |
|
Returns
uint2(bool2)
Return a uint2 vector constructed from a bool2 vector by componentwise conversion.
Declaration
public static uint2 uint2(bool2 v)
Parameters
Type |
Name |
Description |
bool2 |
v |
|
Returns
uint2(double2)
Return a uint2 vector constructed from a double2 vector by componentwise conversion.
Declaration
public static uint2 uint2(double2 v)
Parameters
Returns
uint2(float2)
Return a uint2 vector constructed from a float2 vector by componentwise conversion.
Declaration
public static uint2 uint2(float2 v)
Parameters
Type |
Name |
Description |
float2 |
v |
|
Returns
uint2(int2)
Return a uint2 vector constructed from a int2 vector by componentwise conversion.
Declaration
public static uint2 uint2(int2 v)
Parameters
Type |
Name |
Description |
int2 |
v |
|
Returns
uint2(uint2)
Returns a uint2 vector constructed from a uint2 vector.
Declaration
public static uint2 uint2(uint2 xy)
Parameters
Type |
Name |
Description |
uint2 |
xy |
|
Returns
uint2x2(Boolean)
Returns a uint2x2 matrix constructed from a single bool value by converting it to uint and assigning it to every component.
Declaration
public static uint2x2 uint2x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
uint2x2(Double)
Returns a uint2x2 matrix constructed from a single double value by converting it to uint and assigning it to every component.
Declaration
public static uint2x2 uint2x2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
uint2x2(Int32)
Returns a uint2x2 matrix constructed from a single int value by converting it to uint and assigning it to every component.
Declaration
public static uint2x2 uint2x2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
uint2x2(Single)
Returns a uint2x2 matrix constructed from a single float value by converting it to uint and assigning it to every component.
Declaration
public static uint2x2 uint2x2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
uint2x2(UInt32)
Returns a uint2x2 matrix constructed from a single uint value by assigning it to every component.
Declaration
public static uint2x2 uint2x2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
uint2x2(UInt32, UInt32, UInt32, UInt32)
Returns a uint2x2 matrix constructed from from 4 uint values given in row-major order.
Declaration
public static uint2x2 uint2x2(uint m00, uint m01, uint m10, uint m11)
Parameters
Type |
Name |
Description |
System.UInt32 |
m00 |
|
System.UInt32 |
m01 |
|
System.UInt32 |
m10 |
|
System.UInt32 |
m11 |
|
Returns
uint2x2(bool2x2)
Return a uint2x2 matrix constructed from a bool2x2 matrix by componentwise conversion.
Declaration
public static uint2x2 uint2x2(bool2x2 v)
Parameters
Returns
uint2x2(double2x2)
Return a uint2x2 matrix constructed from a double2x2 matrix by componentwise conversion.
Declaration
public static uint2x2 uint2x2(double2x2 v)
Parameters
Returns
uint2x2(float2x2)
Return a uint2x2 matrix constructed from a float2x2 matrix by componentwise conversion.
Declaration
public static uint2x2 uint2x2(float2x2 v)
Parameters
Returns
uint2x2(int2x2)
Return a uint2x2 matrix constructed from a int2x2 matrix by componentwise conversion.
Declaration
public static uint2x2 uint2x2(int2x2 v)
Parameters
Type |
Name |
Description |
int2x2 |
v |
|
Returns
uint2x2(uint2, uint2)
Returns a uint2x2 matrix constructed from two uint2 vectors.
Declaration
public static uint2x2 uint2x2(uint2 c0, uint2 c1)
Parameters
Returns
uint2x3(Boolean)
Returns a uint2x3 matrix constructed from a single bool value by converting it to uint and assigning it to every component.
Declaration
public static uint2x3 uint2x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
uint2x3(Double)
Returns a uint2x3 matrix constructed from a single double value by converting it to uint and assigning it to every component.
Declaration
public static uint2x3 uint2x3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
uint2x3(Int32)
Returns a uint2x3 matrix constructed from a single int value by converting it to uint and assigning it to every component.
Declaration
public static uint2x3 uint2x3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
uint2x3(Single)
Returns a uint2x3 matrix constructed from a single float value by converting it to uint and assigning it to every component.
Declaration
public static uint2x3 uint2x3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
uint2x3(UInt32)
Returns a uint2x3 matrix constructed from a single uint value by assigning it to every component.
Declaration
public static uint2x3 uint2x3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
uint2x3(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)
Returns a uint2x3 matrix constructed from from 6 uint values given in row-major order.
Declaration
public static uint2x3 uint2x3(uint m00, uint m01, uint m02, uint m10, uint m11, uint m12)
Parameters
Type |
Name |
Description |
System.UInt32 |
m00 |
|
System.UInt32 |
m01 |
|
System.UInt32 |
m02 |
|
System.UInt32 |
m10 |
|
System.UInt32 |
m11 |
|
System.UInt32 |
m12 |
|
Returns
uint2x3(bool2x3)
Return a uint2x3 matrix constructed from a bool2x3 matrix by componentwise conversion.
Declaration
public static uint2x3 uint2x3(bool2x3 v)
Parameters
Returns
uint2x3(double2x3)
Return a uint2x3 matrix constructed from a double2x3 matrix by componentwise conversion.
Declaration
public static uint2x3 uint2x3(double2x3 v)
Parameters
Returns
uint2x3(float2x3)
Return a uint2x3 matrix constructed from a float2x3 matrix by componentwise conversion.
Declaration
public static uint2x3 uint2x3(float2x3 v)
Parameters
Returns
uint2x3(int2x3)
Return a uint2x3 matrix constructed from a int2x3 matrix by componentwise conversion.
Declaration
public static uint2x3 uint2x3(int2x3 v)
Parameters
Type |
Name |
Description |
int2x3 |
v |
|
Returns
uint2x3(uint2, uint2, uint2)
Returns a uint2x3 matrix constructed from three uint2 vectors.
Declaration
public static uint2x3 uint2x3(uint2 c0, uint2 c1, uint2 c2)
Parameters
Returns
uint2x4(Boolean)
Returns a uint2x4 matrix constructed from a single bool value by converting it to uint and assigning it to every component.
Declaration
public static uint2x4 uint2x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
uint2x4(Double)
Returns a uint2x4 matrix constructed from a single double value by converting it to uint and assigning it to every component.
Declaration
public static uint2x4 uint2x4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
uint2x4(Int32)
Returns a uint2x4 matrix constructed from a single int value by converting it to uint and assigning it to every component.
Declaration
public static uint2x4 uint2x4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
uint2x4(Single)
Returns a uint2x4 matrix constructed from a single float value by converting it to uint and assigning it to every component.
Declaration
public static uint2x4 uint2x4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
uint2x4(UInt32)
Returns a uint2x4 matrix constructed from a single uint value by assigning it to every component.
Declaration
public static uint2x4 uint2x4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
uint2x4(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)
Returns a uint2x4 matrix constructed from from 8 uint values given in row-major order.
Declaration
public static uint2x4 uint2x4(uint m00, uint m01, uint m02, uint m03, uint m10, uint m11, uint m12, uint m13)
Parameters
Type |
Name |
Description |
System.UInt32 |
m00 |
|
System.UInt32 |
m01 |
|
System.UInt32 |
m02 |
|
System.UInt32 |
m03 |
|
System.UInt32 |
m10 |
|
System.UInt32 |
m11 |
|
System.UInt32 |
m12 |
|
System.UInt32 |
m13 |
|
Returns
uint2x4(bool2x4)
Return a uint2x4 matrix constructed from a bool2x4 matrix by componentwise conversion.
Declaration
public static uint2x4 uint2x4(bool2x4 v)
Parameters
Returns
uint2x4(double2x4)
Return a uint2x4 matrix constructed from a double2x4 matrix by componentwise conversion.
Declaration
public static uint2x4 uint2x4(double2x4 v)
Parameters
Returns
uint2x4(float2x4)
Return a uint2x4 matrix constructed from a float2x4 matrix by componentwise conversion.
Declaration
public static uint2x4 uint2x4(float2x4 v)
Parameters
Returns
uint2x4(int2x4)
Return a uint2x4 matrix constructed from a int2x4 matrix by componentwise conversion.
Declaration
public static uint2x4 uint2x4(int2x4 v)
Parameters
Type |
Name |
Description |
int2x4 |
v |
|
Returns
uint2x4(uint2, uint2, uint2, uint2)
Returns a uint2x4 matrix constructed from four uint2 vectors.
Declaration
public static uint2x4 uint2x4(uint2 c0, uint2 c1, uint2 c2, uint2 c3)
Parameters
Returns
uint3(Boolean)
Returns a uint3 vector constructed from a single bool value by converting it to uint and assigning it to every component.
Declaration
public static uint3 uint3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
uint3(Double)
Returns a uint3 vector constructed from a single double value by converting it to uint and assigning it to every component.
Declaration
public static uint3 uint3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
uint3(Int32)
Returns a uint3 vector constructed from a single int value by converting it to uint and assigning it to every component.
Declaration
public static uint3 uint3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
uint3(Single)
Returns a uint3 vector constructed from a single float value by converting it to uint and assigning it to every component.
Declaration
public static uint3 uint3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
uint3(UInt32)
Returns a uint3 vector constructed from a single uint value by assigning it to every component.
Declaration
public static uint3 uint3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
uint3(UInt32, UInt32, UInt32)
Returns a uint3 vector constructed from three uint values.
Declaration
public static uint3 uint3(uint x, uint y, uint z)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
System.UInt32 |
y |
|
System.UInt32 |
z |
|
Returns
uint3(UInt32, uint2)
Returns a uint3 vector constructed from a uint value and a uint2 vector.
Declaration
public static uint3 uint3(uint x, uint2 yz)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
uint2 |
yz |
|
Returns
uint3(bool3)
Return a uint3 vector constructed from a bool3 vector by componentwise conversion.
Declaration
public static uint3 uint3(bool3 v)
Parameters
Type |
Name |
Description |
bool3 |
v |
|
Returns
uint3(double3)
Return a uint3 vector constructed from a double3 vector by componentwise conversion.
Declaration
public static uint3 uint3(double3 v)
Parameters
Returns
uint3(float3)
Return a uint3 vector constructed from a float3 vector by componentwise conversion.
Declaration
public static uint3 uint3(float3 v)
Parameters
Type |
Name |
Description |
float3 |
v |
|
Returns
uint3(int3)
Return a uint3 vector constructed from a int3 vector by componentwise conversion.
Declaration
public static uint3 uint3(int3 v)
Parameters
Type |
Name |
Description |
int3 |
v |
|
Returns
uint3(uint2, UInt32)
Returns a uint3 vector constructed from a uint2 vector and a uint value.
Declaration
public static uint3 uint3(uint2 xy, uint z)
Parameters
Type |
Name |
Description |
uint2 |
xy |
|
System.UInt32 |
z |
|
Returns
uint3(uint3)
Returns a uint3 vector constructed from a uint3 vector.
Declaration
public static uint3 uint3(uint3 xyz)
Parameters
Type |
Name |
Description |
uint3 |
xyz |
|
Returns
uint3x2(Boolean)
Returns a uint3x2 matrix constructed from a single bool value by converting it to uint and assigning it to every component.
Declaration
public static uint3x2 uint3x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
uint3x2(Double)
Returns a uint3x2 matrix constructed from a single double value by converting it to uint and assigning it to every component.
Declaration
public static uint3x2 uint3x2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
uint3x2(Int32)
Returns a uint3x2 matrix constructed from a single int value by converting it to uint and assigning it to every component.
Declaration
public static uint3x2 uint3x2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
uint3x2(Single)
Returns a uint3x2 matrix constructed from a single float value by converting it to uint and assigning it to every component.
Declaration
public static uint3x2 uint3x2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
uint3x2(UInt32)
Returns a uint3x2 matrix constructed from a single uint value by assigning it to every component.
Declaration
public static uint3x2 uint3x2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
uint3x2(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)
Returns a uint3x2 matrix constructed from from 6 uint values given in row-major order.
Declaration
public static uint3x2 uint3x2(uint m00, uint m01, uint m10, uint m11, uint m20, uint m21)
Parameters
Type |
Name |
Description |
System.UInt32 |
m00 |
|
System.UInt32 |
m01 |
|
System.UInt32 |
m10 |
|
System.UInt32 |
m11 |
|
System.UInt32 |
m20 |
|
System.UInt32 |
m21 |
|
Returns
uint3x2(bool3x2)
Return a uint3x2 matrix constructed from a bool3x2 matrix by componentwise conversion.
Declaration
public static uint3x2 uint3x2(bool3x2 v)
Parameters
Returns
uint3x2(double3x2)
Return a uint3x2 matrix constructed from a double3x2 matrix by componentwise conversion.
Declaration
public static uint3x2 uint3x2(double3x2 v)
Parameters
Returns
uint3x2(float3x2)
Return a uint3x2 matrix constructed from a float3x2 matrix by componentwise conversion.
Declaration
public static uint3x2 uint3x2(float3x2 v)
Parameters
Returns
uint3x2(int3x2)
Return a uint3x2 matrix constructed from a int3x2 matrix by componentwise conversion.
Declaration
public static uint3x2 uint3x2(int3x2 v)
Parameters
Type |
Name |
Description |
int3x2 |
v |
|
Returns
uint3x2(uint3, uint3)
Returns a uint3x2 matrix constructed from two uint3 vectors.
Declaration
public static uint3x2 uint3x2(uint3 c0, uint3 c1)
Parameters
Returns
uint3x3(Boolean)
Returns a uint3x3 matrix constructed from a single bool value by converting it to uint and assigning it to every component.
Declaration
public static uint3x3 uint3x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
uint3x3(Double)
Returns a uint3x3 matrix constructed from a single double value by converting it to uint and assigning it to every component.
Declaration
public static uint3x3 uint3x3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
uint3x3(Int32)
Returns a uint3x3 matrix constructed from a single int value by converting it to uint and assigning it to every component.
Declaration
public static uint3x3 uint3x3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
uint3x3(Single)
Returns a uint3x3 matrix constructed from a single float value by converting it to uint and assigning it to every component.
Declaration
public static uint3x3 uint3x3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
uint3x3(UInt32)
Returns a uint3x3 matrix constructed from a single uint value by assigning it to every component.
Declaration
public static uint3x3 uint3x3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
uint3x3(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)
Returns a uint3x3 matrix constructed from from 9 uint values given in row-major order.
Declaration
public static uint3x3 uint3x3(uint m00, uint m01, uint m02, uint m10, uint m11, uint m12, uint m20, uint m21, uint m22)
Parameters
Type |
Name |
Description |
System.UInt32 |
m00 |
|
System.UInt32 |
m01 |
|
System.UInt32 |
m02 |
|
System.UInt32 |
m10 |
|
System.UInt32 |
m11 |
|
System.UInt32 |
m12 |
|
System.UInt32 |
m20 |
|
System.UInt32 |
m21 |
|
System.UInt32 |
m22 |
|
Returns
uint3x3(bool3x3)
Return a uint3x3 matrix constructed from a bool3x3 matrix by componentwise conversion.
Declaration
public static uint3x3 uint3x3(bool3x3 v)
Parameters
Returns
uint3x3(double3x3)
Return a uint3x3 matrix constructed from a double3x3 matrix by componentwise conversion.
Declaration
public static uint3x3 uint3x3(double3x3 v)
Parameters
Returns
uint3x3(float3x3)
Return a uint3x3 matrix constructed from a float3x3 matrix by componentwise conversion.
Declaration
public static uint3x3 uint3x3(float3x3 v)
Parameters
Returns
uint3x3(int3x3)
Return a uint3x3 matrix constructed from a int3x3 matrix by componentwise conversion.
Declaration
public static uint3x3 uint3x3(int3x3 v)
Parameters
Type |
Name |
Description |
int3x3 |
v |
|
Returns
uint3x3(uint3, uint3, uint3)
Returns a uint3x3 matrix constructed from three uint3 vectors.
Declaration
public static uint3x3 uint3x3(uint3 c0, uint3 c1, uint3 c2)
Parameters
Returns
uint3x4(Boolean)
Returns a uint3x4 matrix constructed from a single bool value by converting it to uint and assigning it to every component.
Declaration
public static uint3x4 uint3x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
uint3x4(Double)
Returns a uint3x4 matrix constructed from a single double value by converting it to uint and assigning it to every component.
Declaration
public static uint3x4 uint3x4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
uint3x4(Int32)
Returns a uint3x4 matrix constructed from a single int value by converting it to uint and assigning it to every component.
Declaration
public static uint3x4 uint3x4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
uint3x4(Single)
Returns a uint3x4 matrix constructed from a single float value by converting it to uint and assigning it to every component.
Declaration
public static uint3x4 uint3x4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
uint3x4(UInt32)
Returns a uint3x4 matrix constructed from a single uint value by assigning it to every component.
Declaration
public static uint3x4 uint3x4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
uint3x4(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)
Returns a uint3x4 matrix constructed from from 12 uint values given in row-major order.
Declaration
public static uint3x4 uint3x4(uint m00, uint m01, uint m02, uint m03, uint m10, uint m11, uint m12, uint m13, uint m20, uint m21, uint m22, uint m23)
Parameters
Type |
Name |
Description |
System.UInt32 |
m00 |
|
System.UInt32 |
m01 |
|
System.UInt32 |
m02 |
|
System.UInt32 |
m03 |
|
System.UInt32 |
m10 |
|
System.UInt32 |
m11 |
|
System.UInt32 |
m12 |
|
System.UInt32 |
m13 |
|
System.UInt32 |
m20 |
|
System.UInt32 |
m21 |
|
System.UInt32 |
m22 |
|
System.UInt32 |
m23 |
|
Returns
uint3x4(bool3x4)
Return a uint3x4 matrix constructed from a bool3x4 matrix by componentwise conversion.
Declaration
public static uint3x4 uint3x4(bool3x4 v)
Parameters
Returns
uint3x4(double3x4)
Return a uint3x4 matrix constructed from a double3x4 matrix by componentwise conversion.
Declaration
public static uint3x4 uint3x4(double3x4 v)
Parameters
Returns
uint3x4(float3x4)
Return a uint3x4 matrix constructed from a float3x4 matrix by componentwise conversion.
Declaration
public static uint3x4 uint3x4(float3x4 v)
Parameters
Returns
uint3x4(int3x4)
Return a uint3x4 matrix constructed from a int3x4 matrix by componentwise conversion.
Declaration
public static uint3x4 uint3x4(int3x4 v)
Parameters
Type |
Name |
Description |
int3x4 |
v |
|
Returns
uint3x4(uint3, uint3, uint3, uint3)
Returns a uint3x4 matrix constructed from four uint3 vectors.
Declaration
public static uint3x4 uint3x4(uint3 c0, uint3 c1, uint3 c2, uint3 c3)
Parameters
Returns
uint4(Boolean)
Returns a uint4 vector constructed from a single bool value by converting it to uint and assigning it to every component.
Declaration
public static uint4 uint4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
uint4(Double)
Returns a uint4 vector constructed from a single double value by converting it to uint and assigning it to every component.
Declaration
public static uint4 uint4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
uint4(Int32)
Returns a uint4 vector constructed from a single int value by converting it to uint and assigning it to every component.
Declaration
public static uint4 uint4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
uint4(Single)
Returns a uint4 vector constructed from a single float value by converting it to uint and assigning it to every component.
Declaration
public static uint4 uint4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
uint4(UInt32)
Returns a uint4 vector constructed from a single uint value by assigning it to every component.
Declaration
public static uint4 uint4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
uint4(UInt32, UInt32, UInt32, UInt32)
Returns a uint4 vector constructed from four uint values.
Declaration
public static uint4 uint4(uint x, uint y, uint z, uint w)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
System.UInt32 |
y |
|
System.UInt32 |
z |
|
System.UInt32 |
w |
|
Returns
uint4(UInt32, UInt32, uint2)
Returns a uint4 vector constructed from two uint values and a uint2 vector.
Declaration
public static uint4 uint4(uint x, uint y, uint2 zw)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
System.UInt32 |
y |
|
uint2 |
zw |
|
Returns
uint4(UInt32, uint2, UInt32)
Returns a uint4 vector constructed from a uint value, a uint2 vector and a uint value.
Declaration
public static uint4 uint4(uint x, uint2 yz, uint w)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
uint2 |
yz |
|
System.UInt32 |
w |
|
Returns
uint4(UInt32, uint3)
Returns a uint4 vector constructed from a uint value and a uint3 vector.
Declaration
public static uint4 uint4(uint x, uint3 yzw)
Parameters
Type |
Name |
Description |
System.UInt32 |
x |
|
uint3 |
yzw |
|
Returns
uint4(bool4)
Return a uint4 vector constructed from a bool4 vector by componentwise conversion.
Declaration
public static uint4 uint4(bool4 v)
Parameters
Type |
Name |
Description |
bool4 |
v |
|
Returns
uint4(double4)
Return a uint4 vector constructed from a double4 vector by componentwise conversion.
Declaration
public static uint4 uint4(double4 v)
Parameters
Returns
uint4(float4)
Return a uint4 vector constructed from a float4 vector by componentwise conversion.
Declaration
public static uint4 uint4(float4 v)
Parameters
Type |
Name |
Description |
float4 |
v |
|
Returns
uint4(int4)
Return a uint4 vector constructed from a int4 vector by componentwise conversion.
Declaration
public static uint4 uint4(int4 v)
Parameters
Type |
Name |
Description |
int4 |
v |
|
Returns
uint4(uint2, UInt32, UInt32)
Returns a uint4 vector constructed from a uint2 vector and two uint values.
Declaration
public static uint4 uint4(uint2 xy, uint z, uint w)
Parameters
Type |
Name |
Description |
uint2 |
xy |
|
System.UInt32 |
z |
|
System.UInt32 |
w |
|
Returns
uint4(uint2, uint2)
Returns a uint4 vector constructed from two uint2 vectors.
Declaration
public static uint4 uint4(uint2 xy, uint2 zw)
Parameters
Returns
uint4(uint3, UInt32)
Returns a uint4 vector constructed from a uint3 vector and a uint value.
Declaration
public static uint4 uint4(uint3 xyz, uint w)
Parameters
Type |
Name |
Description |
uint3 |
xyz |
|
System.UInt32 |
w |
|
Returns
uint4(uint4)
Returns a uint4 vector constructed from a uint4 vector.
Declaration
public static uint4 uint4(uint4 xyzw)
Parameters
Type |
Name |
Description |
uint4 |
xyzw |
|
Returns
uint4x2(Boolean)
Returns a uint4x2 matrix constructed from a single bool value by converting it to uint and assigning it to every component.
Declaration
public static uint4x2 uint4x2(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
uint4x2(Double)
Returns a uint4x2 matrix constructed from a single double value by converting it to uint and assigning it to every component.
Declaration
public static uint4x2 uint4x2(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
uint4x2(Int32)
Returns a uint4x2 matrix constructed from a single int value by converting it to uint and assigning it to every component.
Declaration
public static uint4x2 uint4x2(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
uint4x2(Single)
Returns a uint4x2 matrix constructed from a single float value by converting it to uint and assigning it to every component.
Declaration
public static uint4x2 uint4x2(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
uint4x2(UInt32)
Returns a uint4x2 matrix constructed from a single uint value by assigning it to every component.
Declaration
public static uint4x2 uint4x2(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
uint4x2(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)
Returns a uint4x2 matrix constructed from from 8 uint values given in row-major order.
Declaration
public static uint4x2 uint4x2(uint m00, uint m01, uint m10, uint m11, uint m20, uint m21, uint m30, uint m31)
Parameters
Type |
Name |
Description |
System.UInt32 |
m00 |
|
System.UInt32 |
m01 |
|
System.UInt32 |
m10 |
|
System.UInt32 |
m11 |
|
System.UInt32 |
m20 |
|
System.UInt32 |
m21 |
|
System.UInt32 |
m30 |
|
System.UInt32 |
m31 |
|
Returns
uint4x2(bool4x2)
Return a uint4x2 matrix constructed from a bool4x2 matrix by componentwise conversion.
Declaration
public static uint4x2 uint4x2(bool4x2 v)
Parameters
Returns
uint4x2(double4x2)
Return a uint4x2 matrix constructed from a double4x2 matrix by componentwise conversion.
Declaration
public static uint4x2 uint4x2(double4x2 v)
Parameters
Returns
uint4x2(float4x2)
Return a uint4x2 matrix constructed from a float4x2 matrix by componentwise conversion.
Declaration
public static uint4x2 uint4x2(float4x2 v)
Parameters
Returns
uint4x2(int4x2)
Return a uint4x2 matrix constructed from a int4x2 matrix by componentwise conversion.
Declaration
public static uint4x2 uint4x2(int4x2 v)
Parameters
Type |
Name |
Description |
int4x2 |
v |
|
Returns
uint4x2(uint4, uint4)
Returns a uint4x2 matrix constructed from two uint4 vectors.
Declaration
public static uint4x2 uint4x2(uint4 c0, uint4 c1)
Parameters
Returns
uint4x3(Boolean)
Returns a uint4x3 matrix constructed from a single bool value by converting it to uint and assigning it to every component.
Declaration
public static uint4x3 uint4x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
uint4x3(Double)
Returns a uint4x3 matrix constructed from a single double value by converting it to uint and assigning it to every component.
Declaration
public static uint4x3 uint4x3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
uint4x3(Int32)
Returns a uint4x3 matrix constructed from a single int value by converting it to uint and assigning it to every component.
Declaration
public static uint4x3 uint4x3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
uint4x3(Single)
Returns a uint4x3 matrix constructed from a single float value by converting it to uint and assigning it to every component.
Declaration
public static uint4x3 uint4x3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
uint4x3(UInt32)
Returns a uint4x3 matrix constructed from a single uint value by assigning it to every component.
Declaration
public static uint4x3 uint4x3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
uint4x3(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)
Returns a uint4x3 matrix constructed from from 12 uint values given in row-major order.
Declaration
public static uint4x3 uint4x3(uint m00, uint m01, uint m02, uint m10, uint m11, uint m12, uint m20, uint m21, uint m22, uint m30, uint m31, uint m32)
Parameters
Type |
Name |
Description |
System.UInt32 |
m00 |
|
System.UInt32 |
m01 |
|
System.UInt32 |
m02 |
|
System.UInt32 |
m10 |
|
System.UInt32 |
m11 |
|
System.UInt32 |
m12 |
|
System.UInt32 |
m20 |
|
System.UInt32 |
m21 |
|
System.UInt32 |
m22 |
|
System.UInt32 |
m30 |
|
System.UInt32 |
m31 |
|
System.UInt32 |
m32 |
|
Returns
uint4x3(bool4x3)
Return a uint4x3 matrix constructed from a bool4x3 matrix by componentwise conversion.
Declaration
public static uint4x3 uint4x3(bool4x3 v)
Parameters
Returns
uint4x3(double4x3)
Return a uint4x3 matrix constructed from a double4x3 matrix by componentwise conversion.
Declaration
public static uint4x3 uint4x3(double4x3 v)
Parameters
Returns
uint4x3(float4x3)
Return a uint4x3 matrix constructed from a float4x3 matrix by componentwise conversion.
Declaration
public static uint4x3 uint4x3(float4x3 v)
Parameters
Returns
uint4x3(int4x3)
Return a uint4x3 matrix constructed from a int4x3 matrix by componentwise conversion.
Declaration
public static uint4x3 uint4x3(int4x3 v)
Parameters
Type |
Name |
Description |
int4x3 |
v |
|
Returns
uint4x3(uint4, uint4, uint4)
Returns a uint4x3 matrix constructed from three uint4 vectors.
Declaration
public static uint4x3 uint4x3(uint4 c0, uint4 c1, uint4 c2)
Parameters
Returns
uint4x4(Boolean)
Returns a uint4x4 matrix constructed from a single bool value by converting it to uint and assigning it to every component.
Declaration
public static uint4x4 uint4x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
uint4x4(Double)
Returns a uint4x4 matrix constructed from a single double value by converting it to uint and assigning it to every component.
Declaration
public static uint4x4 uint4x4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
uint4x4(Int32)
Returns a uint4x4 matrix constructed from a single int value by converting it to uint and assigning it to every component.
Declaration
public static uint4x4 uint4x4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
uint4x4(Single)
Returns a uint4x4 matrix constructed from a single float value by converting it to uint and assigning it to every component.
Declaration
public static uint4x4 uint4x4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
uint4x4(UInt32)
Returns a uint4x4 matrix constructed from a single uint value by assigning it to every component.
Declaration
public static uint4x4 uint4x4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
uint4x4(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)
Returns a uint4x4 matrix constructed from from 16 uint values given in row-major order.
Declaration
public static uint4x4 uint4x4(uint m00, uint m01, uint m02, uint m03, uint m10, uint m11, uint m12, uint m13, uint m20, uint m21, uint m22, uint m23, uint m30, uint m31, uint m32, uint m33)
Parameters
Type |
Name |
Description |
System.UInt32 |
m00 |
|
System.UInt32 |
m01 |
|
System.UInt32 |
m02 |
|
System.UInt32 |
m03 |
|
System.UInt32 |
m10 |
|
System.UInt32 |
m11 |
|
System.UInt32 |
m12 |
|
System.UInt32 |
m13 |
|
System.UInt32 |
m20 |
|
System.UInt32 |
m21 |
|
System.UInt32 |
m22 |
|
System.UInt32 |
m23 |
|
System.UInt32 |
m30 |
|
System.UInt32 |
m31 |
|
System.UInt32 |
m32 |
|
System.UInt32 |
m33 |
|
Returns
uint4x4(bool4x4)
Return a uint4x4 matrix constructed from a bool4x4 matrix by componentwise conversion.
Declaration
public static uint4x4 uint4x4(bool4x4 v)
Parameters
Returns
uint4x4(double4x4)
Return a uint4x4 matrix constructed from a double4x4 matrix by componentwise conversion.
Declaration
public static uint4x4 uint4x4(double4x4 v)
Parameters
Returns
uint4x4(float4x4)
Return a uint4x4 matrix constructed from a float4x4 matrix by componentwise conversion.
Declaration
public static uint4x4 uint4x4(float4x4 v)
Parameters
Returns
uint4x4(int4x4)
Return a uint4x4 matrix constructed from a int4x4 matrix by componentwise conversion.
Declaration
public static uint4x4 uint4x4(int4x4 v)
Parameters
Type |
Name |
Description |
int4x4 |
v |
|
Returns
uint4x4(uint4, uint4, uint4, uint4)
Returns a uint4x4 matrix constructed from four uint4 vectors.
Declaration
public static uint4x4 uint4x4(uint4 c0, uint4 c1, uint4 c2, uint4 c3)
Parameters
Returns
unitexp(quaternion)
Returns the natural exponent of a quaternion. Assumes w is zero.
Declaration
public static quaternion unitexp(quaternion q)
Parameters
Returns
unitlog(quaternion)
Returns the natural logarithm of a unit length quaternion.
Declaration
public static quaternion unitlog(quaternion q)
Parameters
Returns
unlerp(Double, Double, Double)
Returns the result of normalizing a floating point value x to a range [a, b]. The opposite of lerp. Equivalent to (x - a) / (b - a).
Declaration
public static double unlerp(double a, double b, double x)
Parameters
Type |
Name |
Description |
System.Double |
a |
|
System.Double |
b |
|
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
unlerp(Single, Single, Single)
Returns the result of normalizing a floating point value x to a range [a, b]. The opposite of lerp. Equivalent to (x - a) / (b - a).
Declaration
public static float unlerp(float a, float b, float x)
Parameters
Type |
Name |
Description |
System.Single |
a |
|
System.Single |
b |
|
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
unlerp(double2, double2, double2)
Returns the componentwise result of normalizing a floating point value x to a range [a, b]. The opposite of lerp. Equivalent to (x - a) / (b - a).
Declaration
public static double2 unlerp(double2 a, double2 b, double2 x)
Parameters
Returns
unlerp(double3, double3, double3)
Returns the componentwise result of normalizing a floating point value x to a range [a, b]. The opposite of lerp. Equivalent to (x - a) / (b - a).
Declaration
public static double3 unlerp(double3 a, double3 b, double3 x)
Parameters
Returns
unlerp(double4, double4, double4)
Returns the componentwise result of normalizing a floating point value x to a range [a, b]. The opposite of lerp. Equivalent to (x - a) / (b - a).
Declaration
public static double4 unlerp(double4 a, double4 b, double4 x)
Parameters
Returns
unlerp(float2, float2, float2)
Returns the componentwise result of normalizing a floating point value x to a range [a, b]. The opposite of lerp. Equivalent to (x - a) / (b - a).
Declaration
public static float2 unlerp(float2 a, float2 b, float2 x)
Parameters
Returns
unlerp(float3, float3, float3)
Returns the componentwise result of normalizing a floating point value x to a range [a, b]. The opposite of lerp. Equivalent to (x - a) / (b - a).
Declaration
public static float3 unlerp(float3 a, float3 b, float3 x)
Parameters
Returns
unlerp(float4, float4, float4)
Returns the componentwise result of normalizing a floating point value x to a range [a, b]. The opposite of lerp. Equivalent to (x - a) / (b - a).
Declaration
public static float4 unlerp(float4 a, float4 b, float4 x)
Parameters
Returns
up()
Declaration
public static float3 up()
Returns