PlaneProjection.LocalOffsetX Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the distance the object is translated along the x-axis of the plane of the object.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<PlaneProjection LocalOffsetX="double"/>
Property Value
Type: System.DoubleThe 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.