Windows Dev Center

PlaneProjection.LocalOffsetX Property

Gets or sets the distance the object is translated along the x-axis of the plane of the object.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

'Declaration
Public Property LocalOffsetX As Double
<PlaneProjection LocalOffsetX="double"/>

Property Value

Type: System.Double
The distance the object is translated along the x-axis of the plane of the object.

Dependency property identifier field: LocalOffsetXProperty

In contrast to GlobalOffsetX, GlobalOffsetY, and GlobalOffsetZ, which translate an object along the axis of the screen, the LocalOffsetX, LocalOffsetY, and LocalOffsetZ properties translate an object along the respective axis of the plane of the object after it has been rotated. Therefore, the rotation of the object determines the direction that the object is translated.

LocalOffsetY works similarly to LocalOffsetX, except that it moves along the vertical axis, so changing RotationX affects the direction LocalOffsetY moves the object.

LocalOffsetZ translates the object perpendicular to the plane of the object as though a vector was drawn directly through the center from behind the object out toward you.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft