unreal.SmartObjectDefinitionPreviewData

class unreal.SmartObjectDefinitionPreviewData(object_actor_class: Class = Ellipsis, object_mesh_path: SoftObjectPath = Ellipsis, user_actor_class: Class = Ellipsis, user_validation_filter_class: Class = Ellipsis)

Bases: StructBase

Data used for previewing in the Smart Object editor.

C++ Source:

  • Plugin: SmartObjects

  • Module: SmartObjectsModule

  • File: SmartObjectDefinition.h

Editor Properties: (see get_editor_property/set_editor_property)

  • object_actor_class (Class): [Read-Write] Actor class used as the object for previewing the definition in the asset editor.

  • object_mesh_path (SoftObjectPath): [Read-Write] Path of the static mesh used as the object for previewing the definition in the asset editor.

  • user_actor_class (Class): [Read-Write] Actor class used for previewing the smart object user actor in the asset editor.

  • user_validation_filter_class (Class): [Read-Write] Validation filter used for previewing the smart object user in the asset editor.

property object_actor_class: Class

[Read-Write] Actor class used as the object for previewing the definition in the asset editor.

Type:

(Class)

property object_mesh_path: SoftObjectPath

[Read-Write] Path of the static mesh used as the object for previewing the definition in the asset editor.

Type:

(SoftObjectPath)

property user_actor_class: Class

[Read-Write] Actor class used for previewing the smart object user actor in the asset editor.

Type:

(Class)

property user_validation_filter_class: Class

[Read-Write] Validation filter used for previewing the smart object user in the asset editor.

Type:

(Class)