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

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.
 
const gd::EditorSettings & GetAssociatedEditorSettings () const
 Get the user settings for the IDE.
 
gd::EditorSettings & GetAssociatedEditorSettings ()
 Get the user settings for the IDE.
 
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.
 

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: