Upravit

Sdílet prostřednictvím


Rect3D.Location Property

Definition

Gets or sets a Point3D that represents the origin of the 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

Property Value

Point3D that represents the origin of the Rect3D, typically the back bottom left corner. The default value is (0,0,0).

Remarks

Note that in the 3-D coordinate system, the positive Y axis points up (assuming that the camera's UpDirection property is positive). Therefore, this property usually represents the back bottom left corner of the Rect3D in the scene.

Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.

Size3D and Rect3D are not typically used in XAML, because no settable properties exist in the WPF 3D object model that use those types.

Applies to