Edit

Share via


Vector4.LoadUnsafe Method

Definition

Overloads

LoadUnsafe(Single)

Loads a vector from the given source.

LoadUnsafe(Single, UIntPtr)

Loads a vector from the given source and element offset.

LoadUnsafe(Single)

Source:
Vector4.cs

Loads a vector from the given source.

public:
 static System::Numerics::Vector4 LoadUnsafe(float % source);
public static System.Numerics.Vector4 LoadUnsafe(ref float source);
static member LoadUnsafe : single -> System.Numerics.Vector4
Public Shared Function LoadUnsafe (ByRef source As Single) As Vector4

Parameters

source
Single

The source from which the vector will be loaded.

Returns

The vector loaded from source.

Applies to

LoadUnsafe(Single, UIntPtr)

Source:
Vector4.cs

Important

This API is not CLS-compliant.

Loads a vector from the given source and element offset.

public:
 static System::Numerics::Vector4 LoadUnsafe(float % source, UIntPtr elementOffset);
[System.CLSCompliant(false)]
public static System.Numerics.Vector4 LoadUnsafe(ref float source, UIntPtr elementOffset);
[<System.CLSCompliant(false)>]
static member LoadUnsafe : single * unativeint -> System.Numerics.Vector4
Public Shared Function LoadUnsafe (ByRef source As Single, elementOffset As UIntPtr) As Vector4

Parameters

source
Single

The source to which elementOffset will be added before loading the vector.

elementOffset
UIntPtr

unativeint

The element offset from source from which the vector will be loaded.

Returns

The vector loaded from source plus elementOffset.

Attributes

Applies to