Open 3D Engine (O3DE), the successor to Lumberyard, is now available in Developer Preview. Download O3DE or visit the AWS Game Tech blog to learn more. |
Variables |
|
static const AZ::Crc32 | EditorData |
This element enables you to add attributes that apply to an entire class.
More...
|
|
static const AZ::Crc32 | Group |
This element represents a logical group that you can add attributes to.
More...
|
|
Variable Documentation
◆ EditorData
|
static |
This element enables you to add attributes that apply to an entire class.
A class should not have more than one of these.
Expected value type: This can be any value (the value is unused).
Example:
The following example shows how to add classwide attributes to the edit context reflection of
EditorAreaLightComponent
.
◆ Group
|
static |
This element represents a logical group that you can add attributes to.
When you create a group, subsequent data elements are indented and placed under an expander in Lumberyard Editor.
Expected value type:
AZStd::string
. This is used as the group's name.
Example:
Assume that you want to create a group called
Decal Settings
that contains two data elements,
Offset
and
Visible
, that are expanded in Lumberyard Editor as follows:
The corresponding reflection code is the following: