ExpressionFunctions.Length Method
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.
Overloads
| 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 + ...). |
Length(QuaternionNode)
Returns the length of the vector as: sqrt(x^2 + y^2 + ...).
public static CommunityToolkit.WinUI.Animations.Expressions.ScalarNode Length(CommunityToolkit.WinUI.Animations.Expressions.QuaternionNode val);
static member Length : CommunityToolkit.WinUI.Animations.Expressions.QuaternionNode -> CommunityToolkit.WinUI.Animations.Expressions.ScalarNode
Public Shared Function Length (val As QuaternionNode) As ScalarNode
Parameters
- val
- QuaternionNode
Vector value to return the length of.
Returns
ScalarNode.
Applies to
Length(ScalarNode)
Returns the length of the vector as: sqrt(x^2 + y^2 + ...).
public static CommunityToolkit.WinUI.Animations.Expressions.ScalarNode Length(CommunityToolkit.WinUI.Animations.Expressions.ScalarNode val);
static member Length : CommunityToolkit.WinUI.Animations.Expressions.ScalarNode -> CommunityToolkit.WinUI.Animations.Expressions.ScalarNode
Public Shared Function Length (val As ScalarNode) As ScalarNode
Parameters
- val
- ScalarNode
Vector value to return the length of.
Returns
ScalarNode.
Applies to
Length(Vector2Node)
Returns the length of the vector as: sqrt(x^2 + y^2 + ...).
public static CommunityToolkit.WinUI.Animations.Expressions.ScalarNode Length(CommunityToolkit.WinUI.Animations.Expressions.Vector2Node val);
static member Length : CommunityToolkit.WinUI.Animations.Expressions.Vector2Node -> CommunityToolkit.WinUI.Animations.Expressions.ScalarNode
Public Shared Function Length (val As Vector2Node) As ScalarNode
Parameters
- val
- Vector2Node
Vector value to return the length of.
Returns
ScalarNode.
Applies to
Length(Vector3Node)
Returns the length of the vector as: sqrt(x^2 + y^2 + ...).
public static CommunityToolkit.WinUI.Animations.Expressions.ScalarNode Length(CommunityToolkit.WinUI.Animations.Expressions.Vector3Node val);
static member Length : CommunityToolkit.WinUI.Animations.Expressions.Vector3Node -> CommunityToolkit.WinUI.Animations.Expressions.ScalarNode
Public Shared Function Length (val As Vector3Node) As ScalarNode
Parameters
- val
- Vector3Node
Vector value to return the length of.
Returns
ScalarNode.
Applies to
Length(Vector4Node)
Returns the length of the vector as: sqrt(x^2 + y^2 + ...).
public static CommunityToolkit.WinUI.Animations.Expressions.ScalarNode Length(CommunityToolkit.WinUI.Animations.Expressions.Vector4Node val);
static member Length : CommunityToolkit.WinUI.Animations.Expressions.Vector4Node -> CommunityToolkit.WinUI.Animations.Expressions.ScalarNode
Public Shared Function Length (val As Vector4Node) As ScalarNode
Parameters
- val
- Vector4Node
Vector value to return the length of.
Returns
ScalarNode.