Rect3D.Location Property

Definition

Gets or sets a Point3D that represents the origin of the Rect3D.

C#
public System.Windows.Media.Media3D.Point3D Location { get; set; }

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

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10