Menu
Lumberyard
C++ API Reference (Version 1.10)

AZ::Edit::PropertyRefreshLevels Namespace Reference

Variables

static const AZ::Crc32 None
 Specifies that the properties displayed in the UI should not be refreshed. More...
 
static const AZ::Crc32 ValuesOnly
 Specifies that only the values of the properties displayed in the UI should be refreshed. More...
 
static const AZ::Crc32 AttributesAndValues
 Specifies that the attributes and values of the properties displayed in the UI should be refreshed. More...
 
static const AZ::Crc32 EntireTree
 Specifies that the entire tree displayed in the UI should be refreshed. More...
 

Variable Documentation

◆ AttributesAndValues

const AZ::Crc32 AZ::Edit::PropertyRefreshLevels::AttributesAndValues
static

Specifies that the attributes and values of the properties displayed in the UI should be refreshed.

◆ EntireTree

const AZ::Crc32 AZ::Edit::PropertyRefreshLevels::EntireTree
static

Specifies that the entire tree displayed in the UI should be refreshed.

Example: The following example shows how to specify that the entire tree should be refreshed when a value changes.

editContext->Class<RigidPhysicsConfiguration>("Rigid Body Physics Configuration", "")
->DataElement(AZ::Edit::UIHandlers::ComboBox, &RigidPhysicsConfiguration::m_specifyMassOrDensity, "Specify mass or density", "Whether mass or density is specified.")
->EnumAttribute(RigidPhysicsConfiguration::MassOrDensity::Mass, "Mass")
->EnumAttribute(RigidPhysicsConfiguration::MassOrDensity::Density, "Density");

◆ None

const AZ::Crc32 AZ::Edit::PropertyRefreshLevels::None
static

Specifies that the properties displayed in the UI should not be refreshed.

◆ ValuesOnly

const AZ::Crc32 AZ::Edit::PropertyRefreshLevels::ValuesOnly
static

Specifies that only the values of the properties displayed in the UI should be refreshed.