Rect3D.Location 屬性

定義

取得或設定 Point3D,表示 Rect3D 的原點。

public:
 property System::Windows::Media::Media3D::Point3D Location { System::Windows::Media::Media3D::Point3D get(); void set(System::Windows::Media::Media3D::Point3D value); };
public System.Windows.Media.Media3D.Point3D Location { get; set; }
member this.Location : System.Windows.Media.Media3D.Point3D with get, set
Public Property Location As Point3D

屬性值

Point3D

Point3D,表示 Rect3D 的原點,通常是後面左下角。 預設值為 (0,0,0)。

備註

請注意,在 3D 座標系統中,正 Y 軸會指向 (假設相機的 UpDirection 屬性為正) 。 因此,此屬性通常代表場景中 的左下角 Rect3D

Rect3D通常用來表示 或 Model3DMeshGeometry3D 界限。

Size3DRect3D 通常不會用於 XAML,因為 WPF 3D 物件模型中沒有使用這些類型的可設定屬性。

適用於