PropertyTypes
PropertyTypes 表包含 Unreal Engine 属性的类型信息。
此表主要与 Lua 函数 RegisterCustomProperty 配合使用。
此表会自动填充数据。
请勿修改表内数据。
结构
| 键 | 值 |
|---|---|
| ObjectProperty | internal_value |
| Int8Property | internal_value |
| Int16Property | internal_value |
| IntProperty | internal_value |
| Int64Property | internal_value |
| NameProperty | internal_value |
| FloatProperty | internal_value |
| StrProperty | internal_value |
| ByteProperty | internal_value |
| BoolProperty | internal_value |
| ArrayProperty | internal_value |
| MapProperty | internal_value |
| StructProperty | internal_value |
| ClassProperty | internal_value |
| WeakObjectProperty | internal_value |
| EnumProperty | internal_value |
| TextProperty | internal_value |
| DelegateProperty | internal_value |
| MulticastDelegateProperty | internal_value |
| MulticastInlineDelegateProperty | internal_value |
| MulticastSparseDelegateProperty | internal_value |
示例
local PropertyType = PropertyTypes.ObjectProperty
原文:docs/lua-api/table-definitions/propertytypes.md · 固定提交 560411f18512 · 来源与 MIT 许可