ExpressionValues.Constant.CreateConstantVector2 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
| CreateConstantVector2(String) |
Creates a named constant parameter of type Vector2. |
| CreateConstantVector2(String, Vector2) |
Creates a named constant parameter of type Vector2, initialized with the specified value. |
CreateConstantVector2(String)
Creates a named constant parameter of type Vector2.
public static CommunityToolkit.WinUI.Animations.Expressions.Vector2Node CreateConstantVector2(string paramName);
static member CreateConstantVector2 : string -> CommunityToolkit.WinUI.Animations.Expressions.Vector2Node
Public Shared Function CreateConstantVector2 (paramName As String) As Vector2Node
Parameters
- paramName
- String
The name that will be used to refer to the parameter at a later time.
Returns
Vector2Node.
Applies to
CreateConstantVector2(String, Vector2)
Creates a named constant parameter of type Vector2, initialized with the specified value.
public static CommunityToolkit.WinUI.Animations.Expressions.Vector2Node CreateConstantVector2(string paramName, System.Numerics.Vector2 value);
static member CreateConstantVector2 : string * System.Numerics.Vector2 -> CommunityToolkit.WinUI.Animations.Expressions.Vector2Node
Public Shared Function CreateConstantVector2 (paramName As String, value As Vector2) As Vector2Node
Parameters
- paramName
- String
The name that will be used to refer to the parameter at a later time.
- value
- Vector2
The value of the parameter.
Returns
Vector2Node.