Export (0) Print
Expand All

Rect3D.Location Property

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

Namespace:  System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public Point3D Location { get; set; }

Property Value

Type: System.Windows.Media.Media3D.Point3D
Point3D that represents the origin of the Rect3D, typically the back bottom left corner. The default value is (0,0,0).

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft