unreal.SmartObjectSlotDefinition
¶
- class unreal.SmartObjectSlotDefinition¶
Bases:
StructBase
Persistent and sharable definition of a smart object slot.
C++ Source:
Plugin: SmartObjects
Module: SmartObjectsModule
File: SmartObjectDefinition.h
Editor Properties: (see get_editor_property/set_editor_property)
activity_tags
(GameplayTagContainer): [Read-Write] Tags identifying this slot’s use case. Can be used while looking for slots supporting given activity. Depending on the tag filtering policy these tags can override the parent object’s tags or be combined with them while applying filters from requests.behavior_definitions
(Array[SmartObjectBehaviorDefinition]): [Read-Write] All available definitions associated to this slot. This allows multiple frameworks to provide their specific behavior definition to the slot. Note that there should be only one definition of each type since the first one will be selected.data
(Array[InstancedStruct]): [Read-Write] Custom data (struct inheriting from SmartObjectSlotDefinitionData) that can be added to the slot definition and accessed through a FSmartObjectSlotViewdebug_draw_color
(Color): [Read-Write]debug_draw_shape
(SmartObjectSlotShape): [Read-Write]debug_draw_size
(float): [Read-Write]enabled
(bool): [Read-Write] Whether the slot is enable initially.id
(Guid): [Read-Write]name
(Name): [Read-Write]offset
(Vector3f): [Read-Write] Offset relative to the parent object where the slot is located.rotation
(Rotator3f): [Read-Write] Rotation relative to the parent object.runtime_tags
(GameplayTagContainer): [Read-Write] Initial runtime tags.selection_preconditions
(WorldConditionQueryDefinition): [Read-Write] Preconditions that must pass for the slot to be selected.user_tag_filter
(GameplayTagQuery): [Read-Write] This slot is available only for users matching this query.