Vector2.LoadUnsafe 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
| LoadUnsafe(Single) |
Loads a vector from the given source. |
| LoadUnsafe(Single, UIntPtr) |
LoadUnsafe(Single)
- Source:
- Vector2.cs
Loads a vector from the given source.
public:
static System::Numerics::Vector2 LoadUnsafe(float % source);
public static System.Numerics.Vector2 LoadUnsafe(ref float source);
static member LoadUnsafe : single -> System.Numerics.Vector2
Public Shared Function LoadUnsafe (ByRef source As Single) As Vector2
Parameters
- source
- Single
The source from which the vector will be loaded.
Returns
The vector loaded from source.
Applies to
LoadUnsafe(Single, UIntPtr)
- Source:
- Vector2.cs
Important
This API is not CLS-compliant.
public:
static System::Numerics::Vector2 LoadUnsafe(float % source, UIntPtr elementOffset);
[System.CLSCompliant(false)]
public static System.Numerics.Vector2 LoadUnsafe(ref float source, UIntPtr elementOffset);
[<System.CLSCompliant(false)>]
static member LoadUnsafe : single * unativeint -> System.Numerics.Vector2
Public Shared Function LoadUnsafe (ByRef source As Single, elementOffset As UIntPtr) As Vector2
Parameters
- source
- Single
- elementOffset
-
UIntPtr
unativeint
Returns
- Attributes