#include <ViewportSpriteState.h>
Inheritance diagram for Lamp::ViewportSpriteState:
Public Member Functions | |
| ViewportSpriteState () | |
| コンストラクタ | |
| ViewportSpriteState (const RectangleI &rectangle) | |
| コンストラクタ | |
| virtual | ~ViewportSpriteState () |
| デストラクタ | |
| virtual const SpriteRequest * | getDefaultState () const |
| デフォルトステートの取得 | |
| virtual void | apply (SpriteRenderState *renderState) |
| 適用 | |
| virtual void | setRectangle (const RectangleI &rectangle) |
| 矩形の設定 | |
| virtual void | setRectangle (const Point2i &position, const DimensionI &size) |
| 矩形の設定 | |
| virtual void | setRectangle (int x, int y, int width, int height) |
| 矩形の設定 | |
| virtual const RectangleI & | getRectangle () const |
| 矩形の取得 | |
| virtual bool | isEnabled () const |
| クリップが有効か | |
| virtual void | setPosition (const Point2i &position) |
| クリップ位置の設定 | |
| virtual void | setPosition (int x, int y) |
| クリップ位置の設定 | |
| virtual Point2i | getPosition () const |
| クリップ位置の取得 | |
| virtual void | setSize (const DimensionI &size) |
| サイズの設定 | |
| virtual void | setSize (int width, int height) |
| サイズの設定 | |
| virtual DimensionI | getSize () const |
| サイズの取得 | |
Static Public Attributes | |
| const ViewportSpriteState | disableState |
| 無効 | |
| const ViewportSpriteState | defaultState |
| デフォルト | |
Definition at line 36 of file ViewportSpriteState.h.
|
|
コンストラクタ
Definition at line 44 of file ViewportSpriteState.cpp. |
|
|
適用
Implements Lamp::SpriteState. Definition at line 55 of file ViewportSpriteState.cpp. References isEnabled(), Lamp::RenderingDevice::resetViewport(), and Lamp::RenderingDevice::setViewport(). |
|
|
デフォルトステートの取得
Implements Lamp::SpriteState. Definition at line 73 of file ViewportSpriteState.h. References defaultState. |
|
|
クリップ位置の取得
Definition at line 158 of file ViewportSpriteState.h. References Lamp::RectangleI::x, and Lamp::RectangleI::y. |
|
|
矩形の取得
Definition at line 122 of file ViewportSpriteState.h. |
|
|
サイズの取得
Definition at line 186 of file ViewportSpriteState.h. References Lamp::RectangleI::height, and Lamp::RectangleI::width. |
|
|
クリップが有効か
Definition at line 130 of file ViewportSpriteState.h. Referenced by apply(). |
|
||||||||||||
|
クリップ位置の設定
Definition at line 149 of file ViewportSpriteState.h. References Lamp::RectangleI::x, and Lamp::RectangleI::y. |
|
|
クリップ位置の設定
Definition at line 139 of file ViewportSpriteState.h. References Lamp::Point2i::x, Lamp::RectangleI::x, Lamp::Point2i::y, and Lamp::RectangleI::y. |
|
||||||||||||||||||||
|
矩形の設定
Definition at line 114 of file ViewportSpriteState.h. References Lamp::RectangleI::set(). |
|
||||||||||||
|
矩形の設定
Definition at line 102 of file ViewportSpriteState.h. References Lamp::DimensionI::height, Lamp::RectangleI::set(), Lamp::DimensionI::width, Lamp::Point2i::x, and Lamp::Point2i::y. |
|
|
矩形の設定
Definition at line 93 of file ViewportSpriteState.h. |
|
||||||||||||
|
サイズの設定
Definition at line 177 of file ViewportSpriteState.h. References Lamp::RectangleI::height, and Lamp::RectangleI::width. |
|
|
サイズの設定
Definition at line 167 of file ViewportSpriteState.h. References Lamp::DimensionI::height, Lamp::RectangleI::height, Lamp::DimensionI::width, and Lamp::RectangleI::width. |
1.3.2