![]() |
GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
|
Represents a variation of style of an events-based object. More...
#include <EventsBasedObjectVariant.h>
Public Member Functions | |
EventsBasedObjectVariant * | Clone () const |
Return a pointer to a new EventsBasedObjectVariant constructed from this one. | |
const gd::String & | GetName () const |
Get the name of the variant. | |
EventsBasedObjectVariant & | SetName (const gd::String &name_) |
Set the name of the variant. | |
void | SetAssetStoreAssetId (const gd::String &assetStoreId_) |
Change the object asset store id of this variant. | |
const gd::String & | GetAssetStoreAssetId () const |
Return the object asset store id of this variant. | |
void | SetAssetStoreOriginalName (const gd::String &assetStoreOriginalName_) |
Change the original name of the variant in the asset. | |
const gd::String & | GetAssetStoreOriginalName () const |
Return the original name of the variant in the asset. | |
void | SerializeTo (SerializerElement &element) const |
void | UnserializeFrom (gd::Project &project, const SerializerElement &element) |
Layers | |
const gd::LayersContainer & | GetLayers () const |
Get the layers of the variant. | |
gd::LayersContainer & | GetLayers () |
Get the layers of the variant. | |
Child objects | |
gd::ObjectsContainer & | GetObjects () |
Get the objects of the variant. | |
const gd::ObjectsContainer & | GetObjects () const |
Get the objects of the variant. | |
Instances | |
gd::InitialInstancesContainer & | GetInitialInstances () |
Get the instances of the variant. | |
const gd::InitialInstancesContainer & | GetInitialInstances () const |
Get the instances of the variant. | |
int | GetAreaMinX () const |
Get the left bound of the variant. More... | |
void | SetAreaMinX (int areaMinX_) |
Set the left bound of the variant. | |
int | GetAreaMinY () const |
Get the top bound of the variant. More... | |
void | SetAreaMinY (int areaMinY_) |
Set the top bound of the variant. | |
int | GetAreaMinZ () const |
Get the min Z bound of the variant. More... | |
void | SetAreaMinZ (int areaMinZ_) |
Set the min Z bound of the variant. | |
int | GetAreaMaxX () const |
Get the right bound of the variant. More... | |
void | SetAreaMaxX (int areaMaxX_) |
Set the right bound of the variant. | |
int | GetAreaMaxY () const |
Get the bottom bound of the variant. More... | |
void | SetAreaMaxY (int areaMaxY_) |
Set the bottom bound of the variant. | |
int | GetAreaMaxZ () const |
Get the max Z bound of the variant. More... | |
void | SetAreaMaxZ (int areaMaxZ_) |
Set the bottom bound of the variant. | |
Represents a variation of style of an events-based object.
|
inline |
Get the right bound of the variant.
This is used only if there is any initial instances.
|
inline |
Get the bottom bound of the variant.
This is used only if there is any initial instances.
|
inline |
Get the max Z bound of the variant.
This is used only if there is any initial instances.
|
inline |
Get the left bound of the variant.
This is used only if there is any initial instances.
|
inline |
Get the top bound of the variant.
This is used only if there is any initial instances.
|
inline |
Get the min Z bound of the variant.
This is used only if there is any initial instances.