GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Public Member Functions | List of all members
gd::EventsBasedObjectVariant Class Reference

Represents a variation of style of an events-based object. More...

#include <EventsBasedObjectVariant.h>

Public Member Functions

EventsBasedObjectVariantClone () const
 Return a pointer to a new EventsBasedObjectVariant constructed from this one.
 
const gd::StringGetName () const
 Get the name of the variant.
 
EventsBasedObjectVariantSetName (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::StringGetAssetStoreAssetId () 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::StringGetAssetStoreOriginalName () 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::LayersContainerGetLayers () const
 Get the layers of the variant.
 
gd::LayersContainerGetLayers ()
 Get the layers of the variant.
 
Child objects
gd::ObjectsContainerGetObjects ()
 Get the objects of the variant.
 
const gd::ObjectsContainerGetObjects () const
 Get the objects of the variant.
 
Instances
gd::InitialInstancesContainerGetInitialInstances ()
 Get the instances of the variant.
 
const gd::InitialInstancesContainerGetInitialInstances () 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.
 

Detailed Description

Represents a variation of style of an events-based object.

Member Function Documentation

◆ GetAreaMaxX()

int gd::EventsBasedObjectVariant::GetAreaMaxX ( ) const
inline

Get the right bound of the variant.

This is used only if there is any initial instances.

See also
EventsBasedObjectVariant::GetInitialInstances

◆ GetAreaMaxY()

int gd::EventsBasedObjectVariant::GetAreaMaxY ( ) const
inline

Get the bottom bound of the variant.

This is used only if there is any initial instances.

See also
EventsBasedObjectVariant::GetInitialInstances

◆ GetAreaMaxZ()

int gd::EventsBasedObjectVariant::GetAreaMaxZ ( ) const
inline

Get the max Z bound of the variant.

This is used only if there is any initial instances.

See also
EventsBasedObjectVariant::GetInitialInstances

◆ GetAreaMinX()

int gd::EventsBasedObjectVariant::GetAreaMinX ( ) const
inline

Get the left bound of the variant.

This is used only if there is any initial instances.

See also
EventsBasedObjectVariant::GetInitialInstances

◆ GetAreaMinY()

int gd::EventsBasedObjectVariant::GetAreaMinY ( ) const
inline

Get the top bound of the variant.

This is used only if there is any initial instances.

See also
EventsBasedObjectVariant::GetInitialInstances

◆ GetAreaMinZ()

int gd::EventsBasedObjectVariant::GetAreaMinZ ( ) const
inline

Get the min Z bound of the variant.

This is used only if there is any initial instances.

See also
EventsBasedObjectVariant::GetInitialInstances

The documentation for this class was generated from the following files: