#include <DynamicProperty.h>
Public Member Functions | |
AZ_TYPE_INFO (DynamicProperty, "{B0E7DCC6-65D9-4F0C-86AE-AE768BC027F3}") | |
AZ_CLASS_ALLOCATOR (DynamicProperty, AZ::SystemAllocator) | |
DynamicProperty (const DynamicPropertyConfig &config) | |
void | SetValue (const AZStd::any &value) |
Set property value. | |
const AZStd::any & | GetValue () const |
Returns the current property value. | |
void | SetConfig (const DynamicPropertyConfig &config) |
Set property config. | |
const DynamicPropertyConfig & | GetConfig () const |
Returns the current property value. | |
void | UpdateEditData () |
Rebuilds the dynamic edit data. | |
bool | IsValid () const |
Returns true if the property has a valid value. | |
const AZ::Name | GetId () const |
Returns the ID of the property. | |
AZ::Crc32 | GetVisibility () const |
Returns the current property visibility. | |
bool | IsReadOnly () const |
Returns the current property read only state. | |
Wraps an AZStd::any value and configuration so that it can be displayed and edited in a ReflectedPropertyEditor. Binds all of the data and attributes necessary to configure the controls used for editing in a ReflectedPropertyEditor. Does data validation for range-based properties like sliders and spin boxes.