ExpressionFunctions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class ExpressionFunctions.
public static class ExpressionFunctions
type ExpressionFunctions = class
Public Class ExpressionFunctions
- Inheritance
-
ExpressionFunctions
Methods
| Abs(ScalarNode) |
Returns the absolute value of the specified input. For vectors, the absolute value of each subchannel is returned. |
| Abs(Vector2Node) |
Returns the absolute value of the specified input. For vectors, the absolute value of each subchannel is returned. |
| Abs(Vector3Node) |
Returns the absolute value of the specified input. For vectors, the absolute value of each subchannel is returned. |
| Abs(Vector4Node) |
Returns the absolute value of the specified input. For vectors, the absolute value of each subchannel is returned. . |
| ACos(ScalarNode) |
Returns the angle (in radians) whose cosine is the specified number. |
| And(BooleanNode, BooleanNode) |
Performs a logical AND operation on two boolean values as: val1 && val2. |
| ASin(ScalarNode) |
Returns the angle (in radians) whose sine is the specified number. |
| ATan(ScalarNode) |
Returns the angle (in radians) whose tangent is the specified number. |
| Ceil(ScalarNode) |
Returns the smallest integral value that is greater than or equal to the specified value. |
| Clamp(ScalarNode, ScalarNode, ScalarNode) |
Restricts a value to be within a specified range. For vectors, each subchannel is clamped. |
| Clamp(Vector2Node, Vector2Node, Vector2Node) |
Restricts a value to be within a specified range. For vectors, each subchannel is clamped. |
| Clamp(Vector3Node, Vector3Node, Vector3Node) |
Restricts a value to be within a specified range. For vectors, each subchannel is clamped. |
| Clamp(Vector4Node, Vector4Node, Vector4Node) |
Restricts a value to be within a specified range. For vectors, each subchannel is clamped. |
| ColorHsl(ScalarNode, ScalarNode, ScalarNode) |
Creates a color in the HSL format. |
| ColorLerp(ColorNode, ColorNode, ScalarNode) |
Linearly interpolates between two colors in the default color space. |
| ColorLerpHsl(ColorNode, ColorNode, ScalarNode) |
Linearly interpolates between two colors in the HSL color space. |
| ColorLerpRgb(ColorNode, ColorNode, ScalarNode) |
Linearly interpolates between two colors in the RBG color space. |
| ColorRgb(ScalarNode, ScalarNode, ScalarNode, ScalarNode) |
Creates a Color in the ARGB format. |
| Concatenate(QuaternionNode, QuaternionNode) |
Concatenates two Quaternions; the result represents the first rotation followed by the second rotation. |
| Conditional(BooleanNode, ColorNode, ColorNode) |
Returns one of two values, depending on the value of the boolean condition. |
| Conditional(BooleanNode, Matrix3x2Node, Matrix3x2Node) |
Returns one of two values, depending on the value of the boolean condition. |
| Conditional(BooleanNode, Matrix4x4Node, Matrix4x4Node) |
Returns one of two values, depending on the value of the boolean condition. |
| Conditional(BooleanNode, QuaternionNode, QuaternionNode) |
Returns one of two values, depending on the value of the boolean condition. |
| Conditional(BooleanNode, ScalarNode, ScalarNode) |
Returns one of two values, depending on the value of the boolean condition. |
| Conditional(BooleanNode, Vector2Node, Vector2Node) |
Returns one of two values, depending on the value of the boolean condition. |
| Conditional(BooleanNode, Vector3Node, Vector3Node) |
Returns one of two values, depending on the value of the boolean condition. |
| Conditional(BooleanNode, Vector4Node, Vector4Node) |
Returns one of two values, depending on the value of the boolean condition. |
| Cos(ScalarNode) |
Returns the cosine of the specified angle (in radians). |
| CreateMatrix4x4FromAxisAngle(Vector3Node, ScalarNode) |
Creates a matrix that rotates around an arbitrary vector. |
| CreateQuaternionFromAxisAngle(Vector3Node, ScalarNode) |
Creates a quaternion that rotates around an arbitrary vector. |
| CreateRotation(ScalarNode) |
Creates a rotation matrix using the given rotation in radians. |
| CreateScale(Vector2Node) |
Creates a scale matrix from the specified vector scale. |
| CreateScale(Vector3Node) |
Creates a scale matrix from the specified vector scale. |
| CreateSkew(ScalarNode, ScalarNode, Vector2Node) |
Creates a skew matrix from the specified angles in radians. |
| CreateTranslation(Vector2Node) |
Creates a translation matrix from the specified vector. |
| CreateTranslation(Vector3Node) |
Creates a translation matrix from the specified vector. |
| Distance(ScalarNode, ScalarNode) |
Returns the distance between two vectors as: sqrt((x1-x2)^2 + (y1-y2)^2 + ...). |
| Distance(Vector2Node, Vector2Node) |
Returns the distance between two vectors as: sqrt((x1-x2)^2 + (y1-y2)^2 + ...). |
| Distance(Vector3Node, Vector3Node) |
Returns the distance between two vectors as: sqrt((x1-x2)^2 + (y1-y2)^2 + ...). |
| Distance(Vector4Node, Vector4Node) |
Returns the distance between two vectors as: sqrt((x1-x2)^2 + (y1-y2)^2 + ...). |
| DistanceSquared(ScalarNode, ScalarNode) |
Returns the squared distance between two vectors as: ((x1-x2)^2 + (y1-y2)^2 + ...). |
| DistanceSquared(Vector2Node, Vector2Node) |
Returns the squared distance between two vectors as: ((x1-x2)^2 + (y1-y2)^2 + ...). |
| DistanceSquared(Vector3Node, Vector3Node) |
Returns the squared distance between two vectors as: ((x1-x2)^2 + (y1-y2)^2 + ...). |
| DistanceSquared(Vector4Node, Vector4Node) |
Returns the squared distance between two vectors as: ((x1-x2)^2 + (y1-y2)^2 + ...). |
| Floor(ScalarNode) |
Returns the largest integer less than or equal to the specified value. |
| Inverse(Matrix3x2Node) |
Returns the inverse of the specified matrix. |
| Inverse(Matrix4x4Node) |
Returns the inverse of the specified matrix. |
| Length(QuaternionNode) |
Returns the length of the vector as: sqrt(x^2 + y^2 + ...). |
| Length(ScalarNode) |
Returns the length of the vector as: sqrt(x^2 + y^2 + ...). |
| Length(Vector2Node) |
Returns the length of the vector as: sqrt(x^2 + y^2 + ...). |
| Length(Vector3Node) |
Returns the length of the vector as: sqrt(x^2 + y^2 + ...). |
| Length(Vector4Node) |
Returns the length of the vector as: sqrt(x^2 + y^2 + ...). |
| LengthSquared(QuaternionNode) |
Returns the squared length of the vector as: (x^2 + y^2 + ...). |
| LengthSquared(ScalarNode) |
Returns the squared length of the vector as: (x^2 + y^2 + ...). |
| LengthSquared(Vector2Node) |
Returns the squared length of the vector as: (x^2 + y^2 + ...). |
| LengthSquared(Vector3Node) |
Returns the squared length of the vector as: (x^2 + y^2 + ...). |
| LengthSquared(Vector4Node) |
Returns the squared length of the vector as: (x^2 + y^2 + ...). |
| Lerp(ScalarNode, ScalarNode, ScalarNode) |
Linearly interpolates between two vectors as: Output.x = x1 + (x2-x1)*progress. |
| Lerp(Vector2Node, Vector2Node, ScalarNode) |
Linearly interpolates between two vectors as: Output.x = x1 + (x2-x1)*progress. |
| Lerp(Vector3Node, Vector3Node, ScalarNode) |
Linearly interpolates between two vectors as: Output.x = x1 + (x2-x1)*progress. |
| Lerp(Vector4Node, Vector4Node, ScalarNode) |
Linearly interpolates between two vectors as: Output.x = x1 + (x2-x1)*progress. |
| Ln(ScalarNode) |
Returns the natural (base e) logarithm of a specified number. |
| Log10(ScalarNode) |
Returns the base 10 logarithm of a specified number. |
| Matrix3x2(ScalarNode, ScalarNode, ScalarNode, ScalarNode, ScalarNode, ScalarNode) |
Creates a matrix whose subchannels have the specified values. |
| Matrix4x4(Matrix3x2Node) |
Creates a 4x4 matrix from a 3x2 matrix. |
| Matrix4x4(ScalarNode, ScalarNode, ScalarNode, ScalarNode, ScalarNode, ScalarNode, ScalarNode, ScalarNode, ScalarNode, ScalarNode, ScalarNode, ScalarNode, ScalarNode, ScalarNode, ScalarNode, ScalarNode) |
Creates a matrix whose subchannels have the specified values. |
| Max(ScalarNode, ScalarNode) |
Returns the maximum of two values. For vectors, the max of each subchannel is returned. |
| Max(Vector2Node, Vector2Node) |
Returns the maximum of two values. For vectors, the max of each subchannel is returned. |
| Max(Vector3Node, Vector3Node) |
Returns the maximum of two values. For vectors, the max of each subchannel is returned. |
| Max(Vector4Node, Vector4Node) |
Returns the maximum of two values. For vectors, the max of each subchannel is returned. |
| Min(ScalarNode, ScalarNode) |
Returns the minimum of two values. For vectors, the min of each subchannel is returned. |
| Min(Vector2Node, Vector2Node) |
Returns the minimum of two values. For vectors, the min of each subchannel is returned. |
| Min(Vector3Node, Vector3Node) |
Returns the minimum of two values. For vectors, the min of each subchannel is returned. |
| Min(Vector4Node, Vector4Node) |
Returns the minimum of two values. For vectors, the min of each subchannel is returned. |
| Mod(ScalarNode, ScalarNode) |
Returns the remainder resulting from dividing val1/val2. For vectors, the remainder for each subchannel is returned. |
| Mod(Vector2Node, Vector2Node) |
Returns the remainder resulting from dividing val1/val2. For vectors, the remainder for each subchannel is returned. |
| Mod(Vector3Node, Vector3Node) |
Returns the remainder resulting from dividing val1/val2. For vectors, the remainder for each subchannel is returned. |
| Mod(Vector4Node, Vector4Node) |
Returns the remainder resulting from dividing val1/val2. For vectors, the remainder for each subchannel is returned. |
| Normalize(QuaternionNode) |
Returns the normalized version of a vector. |
| Normalize(Vector2Node) |
Returns the normalized version of a vector. |
| Normalize(Vector3Node) |
Returns the normalized version of a vector. |
| Normalize(Vector4Node) |
Returns the normalized version of a vector. |
| Not(BooleanNode) |
Performs a logical NOT operation on a specified boolean value as: !val. |
| Or(BooleanNode, BooleanNode) |
Performs a logical OR operation on two boolean values as: val1 || val2. |
| Pow(ScalarNode, ScalarNode) |
Returns a specified number raised to the specified power. |
| Quaternion(ScalarNode, ScalarNode, ScalarNode, ScalarNode) |
Creates a quaternion whose subchannels have the specified values. |
| Round(ScalarNode) |
Rounds a floating point value to the nearest integral value. |
| Scale(Matrix3x2Node, ScalarNode) |
Multiply each subchannel of the specified vector/matrix by a float value. |
| Scale(Matrix4x4Node, ScalarNode) |
Multiply each subchannel of the specified vector/matrix by a float value. |
| Scale(ScalarNode, ScalarNode) |
Multiply each subchannel of the specified vector/matrix by a float value. |
| Scale(Vector2Node, ScalarNode) |
Multiply each subchannel of the specified vector/matrix by a float value. |
| Scale(Vector3Node, ScalarNode) |
Multiply each subchannel of the specified vector/matrix by a float value. |
| Scale(Vector4Node, ScalarNode) |
Multiply each subchannel of the specified vector/matrix by a float value. |
| Sin(ScalarNode) |
Returns the sine of the specified angle (in radians). |
| Slerp(QuaternionNode, QuaternionNode, ScalarNode) |
Spherically interpolates between two quaternions. |
| Sqrt(ScalarNode) |
Returns the square root of a specified number. |
| Square(ScalarNode) |
Returns the specified number multiplied by itself. |
| Tan(ScalarNode) |
Returns the tangent of the specified angle (in radians). |
| ToDegrees(ScalarNode) |
Converts an angle in radians to degrees as: val*180/PI. |
| ToRadians(ScalarNode) |
Converts an angle in degrees to radians as: val*PI/180. |
| Transform(Vector2Node, Matrix3x2Node) |
Transforms a vector by the specified matrix. |
| Transform(Vector4Node, Matrix4x4Node) |
Transforms a vector by the specified matrix. |
| Vector2(ScalarNode, ScalarNode) |
Creates a vector whose subchannels have the specified values. |
| Vector3(ScalarNode, ScalarNode, ScalarNode) |
Creates a vector whose subchannels have the specified values. |
| Vector4(ScalarNode, ScalarNode, ScalarNode, ScalarNode) |
Creates a vector whose subchannels have the specified values. |