语言

Vector3.LoadUnsafe 方法

定义

重载

名称 说明
LoadUnsafe(Single)

从给定源加载向量。

LoadUnsafe(Single, UIntPtr)

从给定的源和元素偏移量加载向量。

LoadUnsafe(Single)

Source:
Vector3.cs
Source:
Vector3.cs

从给定源加载向量。

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

参数

source
Single

将从中加载矢量的源。

返回

从 source中加载的向量。

适用于

LoadUnsafe(Single, UIntPtr)

Source:
Vector3.cs
Source:
Vector3.cs

重要

此 API 不符合 CLS。

从给定的源和元素偏移量加载向量。

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

参数

source
Single

加载向量之前将添加到的 elementOffset 源。

elementOffset
UIntPtr

unativeint

从中加载矢量的元素偏移量 source 。

返回

从 source 加号 elementOffset加载的矢量。

特性

适用于