Transformable.setRotationCenter

Sets the center position

Note: if you use this function with setOrigin, the origin takes the place of the rotation center.

  1. void setRotationCenter(float x, float y)
    class Transformable
    final @nogc
    void
    setRotationCenter
    pure nothrow
    (
    float x
    ,
    float y
    )
  2. void setRotationCenter(const Vector2f center)

Meta