Plane コンストラクター

定義

新しい Plane オブジェクトをインスタンス化します。

オーバーロード

名前 説明
Plane(Vector4)

指定した 4 次元ベクトルから Plane オブジェクトを作成します。

Plane(Vector3, Single)

指定した法線から Plane オブジェクトを作成し、原点から法線に沿った距離を作成します。

Plane(Single, Single, Single, Single)

法線の X、Y、Z コンポーネントから Plane オブジェクトを作成し、その法線の原点からの距離を作成します。

Plane(Vector4)

指定した 4 次元ベクトルから Plane オブジェクトを作成します。

public:
 Plane(System::Numerics::Vector4 value);
public Plane(System.Numerics.Vector4 value);
new System.Numerics.Plane : System.Numerics.Vector4 -> System.Numerics.Plane
Public Sub New (value As Vector4)

パラメーター

value
Vector4

最初の 3 つの要素が法線ベクトルを記述し、その W が原点からの法線に沿った距離を定義するベクトル。

適用対象

Plane(Vector3, Single)

指定した法線から Plane オブジェクトを作成し、原点から法線に沿った距離を作成します。

public:
 Plane(System::Numerics::Vector3 normal, float d);
public Plane(System.Numerics.Vector3 normal, float d);
new System.Numerics.Plane : System.Numerics.Vector3 * single -> System.Numerics.Plane
Public Sub New (normal As Vector3, d As Single)

パラメーター

normal
Vector3

平面の法線ベクトル。

d
Single

法線ベクトルに沿った原点からの平面の距離。

適用対象

Plane(Single, Single, Single, Single)

法線の X、Y、Z コンポーネントから Plane オブジェクトを作成し、その法線の原点からの距離を作成します。

public:
 Plane(float x, float y, float z, float d);
public Plane(float x, float y, float z, float d);
new System.Numerics.Plane : single * single * single * single -> System.Numerics.Plane
Public Sub New (x As Single, y As Single, z As Single, d As Single)

パラメーター

x
Single

法線の X 成分。

y
Single

法線の Y 成分。

z
Single

法線の Z 成分。

d
Single

原点からの法線に沿った平面の距離。

適用対象