Rect3D.Location 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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 代表 的原點 Rect3D,通常位於左下角的後方。 預設值為 (0,0,0)。
備註
請注意,在三維座標系中,正的 Y 軸指向上方(假設相機 UpDirection 的性質為正)。 因此,這個屬性通常代表場景中左 Rect3D 下角的後角。
Rect3D 通常用來表示 a MeshGeometry3D 或 Model3D的界限。
Size3D 且 Rect3D 通常不在 XAML 中使用,因為 WPF 3D 物件模型中不存在使用這些類型的可設定屬性。