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