Menu
Lumberyard
C++ API Reference (Version 1.10)

AZ::Edit::PropertyVisibility Namespace Reference

Variables

static const AZ::Crc32 Show
 Specifies that the property should be shown in Lumberyard Editor. More...
 
static const AZ::Crc32 ShowChildrenOnly
 Specifies that only the child properties should be shown in Lumberyard Editor. More...
 
static const AZ::Crc32 Hide
 Specifies that the property should be hidden in Lumberyard Editor. More...
 

Variable Documentation

◆ Hide

const AZ::Crc32 AZ::Edit::PropertyVisibility::Hide
static

Specifies that the property should be hidden in Lumberyard Editor.

Example: The following example shows how to specify that the EditorEntityIconComponent should be hidden.

editContext->Class<EditorEntityIconComponent>("EntityIcon", "Edit-time entity icon in the Entity Inspector and Viewport");
->Attribute(AZ::Edit::Attributes::HideIcon, true);

◆ Show

const AZ::Crc32 AZ::Edit::PropertyVisibility::Show
static

Specifies that the property should be shown in Lumberyard Editor.

◆ ShowChildrenOnly

const AZ::Crc32 AZ::Edit::PropertyVisibility::ShowChildrenOnly
static

Specifies that only the child properties should be shown in Lumberyard Editor.

Example: The following example shows how to specify that only child properties should be displayed for a ConstraintConfiguration.

editContext->Class<ConstraintConfiguration>("Configuration", "Constraint configuration")