# Interface IViewportTransform

All Known Implementing Classes:
  `OBBViewportTransform`

public interface IViewportTransform

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Vec2`
  `getCenter()`
  `Vec2`
  `getExtents()`
  `void`
  `getScreenToWorld(Vec2 argScreen, Vec2 argWorld)`
  `void`
  `getScreenVectorToWorld(Vec2 argScreen, Vec2 argWorld)`
  `void`
  `getWorldToScreen(Vec2 argWorld, Vec2 argScreen)`
  `void`
  `getWorldVectorToScreen(Vec2 argWorld, Vec2 argScreen)`
  `boolean`
  `isYFlip()`
  `void`
  `setCamera(float x, float y, float scale)`
  `void`
  `setCenter(float x, float y)`
  `void`
  `setCenter(Vec2 argPos)`
  `void`
  `setExtents(float argHalfWidth, float argHalfHeight)`
  `void`
  `setExtents(Vec2 argExtents)`
  `void`
  `setYFlip(boolean yFlip)`

- ## Method Details

  - ### isYFlip

    boolean isYFlip()

  - ### setYFlip

    void setYFlip(boolean yFlip)

  - ### getExtents

    Vec2 getExtents()

  - ### setExtents

    void setExtents(Vec2 argExtents)

  - ### setExtents

    void setExtents(float argHalfWidth, float argHalfHeight)

  - ### getCenter

    Vec2 getCenter()

  - ### setCenter

    void setCenter(Vec2 argPos)

  - ### setCenter

    void setCenter(float x, float y)

  - ### setCamera

    void setCamera(float x, float y, float scale)

  - ### getWorldVectorToScreen

    void getWorldVectorToScreen(Vec2 argWorld, Vec2 argScreen)

  - ### getScreenVectorToWorld

    void getScreenVectorToWorld(Vec2 argScreen, Vec2 argWorld)

  - ### getWorldToScreen

    void getWorldToScreen(Vec2 argWorld, Vec2 argScreen)

  - ### getScreenToWorld

    void getScreenToWorld(Vec2 argScreen, Vec2 argWorld)