Vector4.CreateScalarUnsafe(Single) メソッド

定義

指定した値に初期化 X 、残りの要素が初期化されていない状態でベクターを作成します。

public:
 static System::Numerics::Vector4 CreateScalarUnsafe(float x);
public static System.Numerics.Vector4 CreateScalarUnsafe(float x);
static member CreateScalarUnsafe : single -> System.Numerics.Vector4
Public Shared Function CreateScalarUnsafe (x As Single) As Vector4

パラメーター

x
Single

X フィールドに割り当てる値。

返品

初期化xX残りの要素が初期化されていない状態のVector4

適用対象