Rect3D Rect3D Rect3D Rect3D Constructors

定義

多載

Rect3D(Point3D, Size3D) Rect3D(Point3D, Size3D) Rect3D(Point3D, Size3D) Rect3D(Point3D, Size3D)

初始化 Rect3D 結構的新執行個體。Initializes a new instance of a Rect3D structure.

Rect3D(Double, Double, Double, Double, Double, Double) Rect3D(Double, Double, Double, Double, Double, Double) Rect3D(Double, Double, Double, Double, Double, Double) Rect3D(Double, Double, Double, Double, Double, Double)

初始化 Rect3D 結構的新執行個體。Initializes a new instance of the Rect3D structure.

Rect3D(Point3D, Size3D) Rect3D(Point3D, Size3D) Rect3D(Point3D, Size3D) Rect3D(Point3D, Size3D)

初始化 Rect3D 結構的新執行個體。Initializes a new instance of a Rect3D structure.

public:
 Rect3D(System::Windows::Media::Media3D::Point3D location, System::Windows::Media::Media3D::Size3D size);
public Rect3D (System.Windows.Media.Media3D.Point3D location, System.Windows.Media.Media3D.Size3D size);
new System.Windows.Media.Media3D.Rect3D : System.Windows.Media.Media3D.Point3D * System.Windows.Media.Media3D.Size3D -> System.Windows.Media.Media3D.Rect3D
Public Sub New (location As Point3D, size As Size3D)

參數

location
Point3D Point3D Point3D Point3D

Rect3D 的位置。Location of the new Rect3D.

size
Size3D Size3D Size3D Size3D

Rect3D 的大小。Size of the new Rect3D.

備註

Rect3D通常用來表示MeshGeometry3DModel3D的界限。Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.

Rect3D(Double, Double, Double, Double, Double, Double) Rect3D(Double, Double, Double, Double, Double, Double) Rect3D(Double, Double, Double, Double, Double, Double) Rect3D(Double, Double, Double, Double, Double, Double)

初始化 Rect3D 結構的新執行個體。Initializes a new instance of the Rect3D structure.

public:
 Rect3D(double x, double y, double z, double sizeX, double sizeY, double sizeZ);
public Rect3D (double x, double y, double z, double sizeX, double sizeY, double sizeZ);
new System.Windows.Media.Media3D.Rect3D : double * double * double * double * double * double -> System.Windows.Media.Media3D.Rect3D
Public Sub New (x As Double, y As Double, z As Double, sizeX As Double, sizeY As Double, sizeZ As Double)

參數

x
Double Double Double Double

Rect3D 的 X 軸座標。X-axis coordinate of the new Rect3D.

y
Double Double Double Double

Rect3D 的 Y 軸座標。Y-axis coordinate of the new Rect3D.

z
Double Double Double Double

Rect3D 的 Z 軸座標。Z-axis coordinate of the new Rect3D.

sizeX
Double Double Double Double

Rect3D 在 X 維度的大小。Size of the new Rect3D in the X dimension.

sizeY
Double Double Double Double

Rect3D 在 Y 維度的大小。Size of the new Rect3D in the Y dimension.

sizeZ
Double Double Double Double

Rect3D 在 Z 維度的大小。Size of the new Rect3D in the Z dimension.

適用於