Tile map object.
More...
#include <Urho3D/Urho2D/TileMapDefs2D.h>
|
TileMapObjectType2D | GetObjectType () const |
|
const ea::string & | GetName () const |
|
const ea::string & | GetType () const |
|
const Vector2 & | GetPosition () const |
|
const Vector2 & | GetSize () const |
|
unsigned | GetNumPoints () const |
|
const Vector2 & | GetPoint (unsigned index) const |
| Return point at index (use for script).
|
|
unsigned | GetTileGid () const |
|
bool | GetTileFlipX () const |
|
bool | GetTileFlipY () const |
|
bool | GetTileSwapXY () const |
|
Sprite2D * | GetTileSprite () const |
|
bool | HasProperty (const ea::string &name) const |
| Return has property.
|
|
const ea::string & | GetProperty (const ea::string &name) const |
| Return property value.
|
|
| RefCounted () |
| Construct. Allocate the reference count structure and set an initial self weak reference.
|
|
virtual | ~RefCounted () |
| Destruct. Mark as expired and also delete the reference count structure if no outside weak references exist.
|
|
| RefCounted (const RefCounted &rhs)=delete |
| Prevent copy construction.
|
|
RefCounted & | operator= (const RefCounted &rhs)=delete |
| Prevent assignment.
|
|
int | AddRef () |
|
int | ReleaseRef () |
|
int | Refs () const |
|
int | WeakRefs () const |
|
RefCount * | RefCountPtr () const |
| Return pointer to the reference count structure.
|
|
bool | HasScriptObject () const |
| Return true if script runtime object wrapping this native object exists.
|
|
bool | IsScriptStrongRef () const |
| Return true if script reference is strong.
|
|
◆ GetName()
const ea::string & Urho3D::TileMapObject2D::GetName |
( |
| ) |
const |
|
inline |
◆ GetNumPoints()
unsigned Urho3D::TileMapObject2D::GetNumPoints |
( |
| ) |
const |
Return number of points (use for script).
◆ GetObjectType()
◆ GetPosition()
const Vector2 & Urho3D::TileMapObject2D::GetPosition |
( |
| ) |
const |
|
inline |
◆ GetSize()
const Vector2 & Urho3D::TileMapObject2D::GetSize |
( |
| ) |
const |
|
inline |
Return size (for rectangle and ellipse).
◆ GetTileFlipX()
bool Urho3D::TileMapObject2D::GetTileFlipX |
( |
| ) |
const |
|
inline |
◆ GetTileFlipY()
bool Urho3D::TileMapObject2D::GetTileFlipY |
( |
| ) |
const |
|
inline |
◆ GetTileGid()
unsigned Urho3D::TileMapObject2D::GetTileGid |
( |
| ) |
const |
|
inline |
◆ GetTileSprite()
Sprite2D * Urho3D::TileMapObject2D::GetTileSprite |
( |
| ) |
const |
◆ GetTileSwapXY()
bool Urho3D::TileMapObject2D::GetTileSwapXY |
( |
| ) |
const |
|
inline |
Return tile swap X and Y.
◆ GetType()
const ea::string & Urho3D::TileMapObject2D::GetType |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: