Annotation Interface TmxPropertyInfo
Provides rich metadata for a TMX map object property, including canonical English documentation,
category grouping, value type, default values, and translation keys for localization.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionCategory or group name for organizing properties in inspectors and docs (e.g. "Combat", "Collision", "Graphics").Default value representation string.Canonical English description of the property for documentation and tooltips.Localization resource key for translated descriptions.Expected value type (e.g. "string", "int", "float", "boolean", "color", "enum").
-
Element Details
-
name
-
description
String descriptionCanonical English description of the property for documentation and tooltips.- Returns:
- The English description.
- Default:
""
-
category
String categoryCategory or group name for organizing properties in inspectors and docs (e.g. "Combat", "Collision", "Graphics").- Returns:
- The property category.
- Default:
"General"
-
type
String typeExpected value type (e.g. "string", "int", "float", "boolean", "color", "enum").- Returns:
- The value type string.
- Default:
"string"
-
defaultValue
String defaultValueDefault value representation string.- Returns:
- The default value string.
- Default:
""
-
resourceKey
String resourceKeyLocalization resource key for translated descriptions.- Returns:
- The resource key.
- Default:
""
-