PropertyType¶
Struct | orca.geometry
Defines a custom property type that can be attached to engine objects.
Overview¶
Fields¶
| Field | Type | Description |
|---|---|---|
Name |
string |
Unique name identifier for the property type. |
Category |
string |
Organizational category for this property, used for grouping in editors and UIs. |
DataType |
DataType |
Underlying data type that determines how the property value is interpreted and stored. |
DefaultValue |
string |
Default value assigned when the property is not explicitly set. |
TypeString |
string |
String representation of the property type, used to store struct/object type names. |
EnumValues |
string |
Null-terminated array of enum value name strings for kDataTypeEnum properties. |
AffectLayout |
bool |
Indicates whether this property affects element layout (e.g., size or alignment). |
AffectRender |
bool |
Indicates whether this property influences the rendering output. |
IsReadOnly |
bool |
If true, the property value cannot be modified at runtime or through the editor. |
IsHidden |
bool |
If true, the property is excluded from the UI or inspector views. |
IsInherited |
bool |
Specifies whether the property value can be inherited from parent components. |
Key |
string |
Internal key name used for property identification and lookup. |
Value |
string |
Runtime value stored in this property instance. |
Step |
float |
Increment step used for numeric adjustments in UI controls. |
UpperBound |
float |
Maximum allowed value for numeric properties. |
LowerBound |
float |
Minimum allowed value for numeric properties. |
ShortIdentifier |
uint |
Unique short identifier for the property type, automatically generated from implicit property name. |
FullIdentifier |
uint |
Unique full identifier for the property type, automatically generated from explicit (ie. Grid.Columns) property name. |
Offset |
uint |
Byte offset of the property within the structure. |
DataSize |
uint |
Size of the property data in bytes. |
IsArray |
bool |
Indicates whether the property is an array type, will generate Num* property to indicate the number of elements. |