Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::DocumentPropertyEditor::Nodes::NodeWithVisiblityControl Struct Reference

Base class for nodes that have a Visibility attribute. More...

#include <PropertyEditorNodes.h>

Inherits AZ::DocumentPropertyEditor::NodeDefinition.

Inherited by AZ::DocumentPropertyEditor::Nodes::Adapter, AZ::DocumentPropertyEditor::Nodes::Container, AZ::DocumentPropertyEditor::Nodes::Label, AZ::DocumentPropertyEditor::Nodes::PropertyEditor, and AZ::DocumentPropertyEditor::Nodes::Row.

Static Public Attributes

static constexpr AZStd::string_view Name = "NodeWithVisiblityControl"
 
static constexpr auto Visibility = AttributeDefinition<PropertyVisibility>("Visibility")
 
static constexpr auto ReadOnly = AttributeDefinition<bool>("ReadOnly")
 
static constexpr auto NameLabelOverride = AttributeDefinition<AZStd::string_view>("NameLabelOverride")
 
static constexpr auto SetTrueLabel = AttributeDefinition<AZStd::string_view>("SetTrueLabel")
 
static constexpr auto SetFalseLabel = AttributeDefinition<AZStd::string_view>("SetFalseLabel")
 
static constexpr auto Disabled = AttributeDefinition<bool>("Disabled")
 
static constexpr auto AncestorDisabled = AttributeDefinition<bool>("AncestorDisabled")
 
- Static Public Attributes inherited from AZ::DocumentPropertyEditor::NodeDefinition
static constexpr AZStd::string_view Name = "<undefined node name>"
 

Additional Inherited Members

- Static Public Member Functions inherited from AZ::DocumentPropertyEditor::NodeDefinition
static bool CanAddToParentNode (const Dom::Value &parentNode)
 
static bool CanBeParentToValue (const Dom::Value &value)
 

Detailed Description

Base class for nodes that have a Visibility attribute.

Member Data Documentation

◆ AncestorDisabled

constexpr auto AZ::DocumentPropertyEditor::Nodes::NodeWithVisiblityControl::AncestorDisabled = AttributeDefinition<bool>("AncestorDisabled")
staticconstexpr

In some cases, a node may need to know that it is descended from a disabled ancestor. For example, disabled elements of a disabled container might require different treatment than disabled elements of an enabled container.


The documentation for this struct was generated from the following file: