3#include <GuiFoundation/GuiFoundationDLL.h>
5#include <GuiFoundation/PropertyGrid/DefaultState.h>
22 const plUuid m_RootObjectGuid;
23 const plUuid m_CreateFromPrefab;
24 const plUuid m_PrefabSeedGuid;
25 plInt32 m_iRootDepth = 0;
This is the base interface for all properties in the reflection system. It provides enough informatio...
Definition AbstractProperty.h:150
A 8bit per channel unsigned normalized (values interpreted as 0-1) color storage format that represen...
Definition Color8UNorm.h:99
Interface for querying and restoring the default state of objects and containers.
Definition DefaultState.h:110
virtual plStatus CreateRevertContainerDiff(SuperArray superPtr, plObjectAccessorBase *pAccessor, const plDocumentObject *pObject, const plAbstractProperty *pProp, plDeque< plAbstractGraphDiffOperation > &out_diff)=0
Queries an array of diff operations that can be executed to revert the object container.
virtual plColorGammaUB GetBackgroundColor() const =0
Returns a color to be used in the property grid. Only the hue of the color is used....
virtual plInt32 GetRootDepth() const =0
Returns the root depth of this provider instance.
virtual plVariant GetDefaultValue(SuperArray superPtr, plObjectAccessorBase *pAccessor, const plDocumentObject *pObject, const plAbstractProperty *pProp, plVariant index=plVariant())=0
Returns the default value of an object's property at a given index.
Definition DocumentObjectBase.h:11
Definition ObjectAccessorBase.h:8
Default state provider that reflects the default state defined in the prefab template.
Definition PrefabDefaultStateProvider.h:9
virtual plString GetStateProviderName() const override
Returns the name of this state provider. Can be used to check what the outer most provider is for GUI...
Definition PrefabDefaultStateProvider.h:16
A Shared ptr manages a shared object and destroys that object when no one references it anymore....
Definition SharedPtr.h:10
This data type is the abstraction for 128-bit Uuid (also known as GUID) instances.
Definition Uuid.h:11
plVariant is a class that can store different types of variables, which is useful in situations where...
Definition Variant.h:44
An plResult with an additional message for the reason of failure.
Definition Status.h:12