unreal.SmartObjectDefinition
¶
- class unreal.SmartObjectDefinition(outer=None, name='None')¶
Bases:
unreal.DataAsset
SmartObject definition asset. Contains sharable information that can be used by multiple SmartObject instances at runtime.
C++ Source:
Plugin: SmartObjects
Module: SmartObjectsModule
File: SmartObjectDefinition.h
Editor Properties: (see get_editor_property/set_editor_property)
activity_tags
(GameplayTagContainer): [Read-Write] Activity Tags: Tags identifying this Smart Object’s use case. Can be used while looking for objects supporting given activitydefault_behavior_definitions
(Array(SmartObjectBehaviorDefinition)): [Read-Write] Default Behavior Definitions: List of behavior definitions of different types provided to SO’s user if the slot does not provide one.object_tag_filter
(GameplayTagQuery): [Read-Write] Object Tag Filter: This object is available only when instance matches this query.preview_class
(Class): [Read-Write] Preview Class: Actor class used for previewing the definition in the asset editor.preview_mesh_path
(SoftObjectPath): [Read-Write] Preview Mesh Path: Path of the static mesh used for previewing the definition in the asset editor.slots
(Array(SmartObjectSlotDefinition)): [Read-Write] Slots: Where SmartObject’s user needs to stay to be able to activate it. These will be used by AI to approach the object. Locations are relative to object’s location.user_tag_filter
(GameplayTagQuery): [Read-Write] User Tag Filter: This object is available only for users matching this query.