Description
This enum defines the position transform behavior of transient graphics.
C#
public enum PositionBehavior { World, Viewport, Screen, ScreenLocalOrigin, WorldWithScreenOffset }
Visual Basic
Public Enum PositionBehavior World Viewport Screen ScreenLocalOrigin WorldWithScreenOffset End Enum
Members
Members | Description |
---|---|
World | Specification of transforms in world space. This is the default behavior |
Viewport | This is a normalized viewport 2D coordinate system, X and Y axes running from 0.0 to 1.0, with (0.0, 0.0) at the lower left and (1.0, 1.0) at the upper right |
Screen | This positions the geometry in absolute pixels |
ScreenLocalOrigin | This positions the geometry in absolute pixels by specifying a 2D position for the 3D local coordinate system |
WorldWithScreenOffset | This is specification of position in world space with a screen space pixel offset - useful for something like a label which should track a world point |