Rect3D.Offset Method (Rect3D, Vector3D)


Gets or sets an offset value by which the location of a Rect3D is translated.

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public static Rect3D Offset(
	Rect3D rect,
	Vector3D offsetVector


Type: System.Windows.Media.Media3D.Rect3D

Rect3D to be translated.

Type: System.Windows.Media.Media3D.Vector3D

Vector3D that specifies the offset translation.

Return Value

Type: System.Windows.Media.Media3D.Rect3D

A Rect3D value that represents the result of the offset.

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

.NET Framework
Available since 3.0
Return to top