unreal.SlateSound

class unreal.SlateSound(resource_object: Object = Ellipsis)

Bases: StructBase

An intermediary to make UBaseSound available for Slate to play sounds

C++ Source:

  • Module: SlateCore

  • File: SlateSound.h

Editor Properties: (see get_editor_property/set_editor_property)

  • resource_object (Object): [Read-Write] Resource Object: Pointer to the USoundBase. Holding onto it as a UObject because USoundBase is not available in Slate core. Edited via FSlateSoundStructCustomization to ensure you can only set USoundBase assets on it.

property resource_object: Object

[Read-Write] Resource Object: Pointer to the USoundBase. Holding onto it as a UObject because USoundBase is not available in Slate core. Edited via FSlateSoundStructCustomization to ensure you can only set USoundBase assets on it.

Type:

(Object)