@kognifai/cogsengine
    Preparing search index...

    Enumeration PositionModeConst

    Positioning mode.

    Index

    Enumeration Members

    Enumeration Members

    Local: 3
    Pixels: 1

    Position given in screen pixels ranging from [0, 0] in the lower left corner to [viewport.width, viewport.height] in the upper right corner.

    Relative: 0

    Position given in normalized device coordinates, with [-1, -1] corresponding to the lower left of the screen, and [1, 1] to the upper right corner.

    World: 2

    Position given in world space coordinates. Any positional offset is applied in world coordinates, meaning it is not transformed by the local to world transform.