CriWare Unreal Engine
Plug-ins for CriWare solutions.
Loading...
Searching...
No Matches
FAtomSoundBaseCustomization Class Reference

#include <AtomSoundBaseCustomization.h>

Inheritance diagram for FAtomSoundBaseCustomization:

Public Member Functions

virtual void CustomizeChildren (TSharedRef< IPropertyHandle > StructPropertyHandle, class IDetailChildrenBuilder &ChildBuilder, IPropertyTypeCustomizationUtils &StructCustomizationUtils) override
virtual void CustomizeHeader (TSharedRef< IPropertyHandle > PropertyHandle, class FDetailWidgetRow &HeaderRow, IPropertyTypeCustomizationUtils &CustomizationUtils) override

Static Public Member Functions

static TSharedRef< IPropertyTypeCustomization > MakeInstance ()

Private Member Functions

bool CanCustomize (UClass *PropertyClass)
TStrongObjectPtr< UParentObjectPropertyHolder_Base > CreateSoundBankPropertyHolder (UClass *PropertyClass)
void CustomizeRow (TSharedRef< IPropertyHandle > StructPropertyHandle, class FDetailWidgetRow &Row)
bool IsMapKeyHandle (const TSharedRef< IPropertyHandle > &Handle) const
EVisibility IsSoundBankSelected () const
bool IsSoundPickerEnabled () const
void OnAssetDropped (const FDragDropEvent &, const FAssetData &Asset)
bool OnIsAssetAcceptableForDropWithReason (const FAssetData &Asset, FText &OutReason)
void OnSoundBankPropertyChanged ()

Private Attributes

TSharedPtr< IPropertyHandle > SoundBankHandle
TStrongObjectPtr< UParentObjectPropertyHolder_Base > SoundBankHolder
TSharedPtr< IPropertyHandle > SoundBaseHandle
TSharedPtr< FSubObjectPicker > SoundBasePicker

Detailed Description

Customization for AtomSoundBase properties with any derived type support.

Member Function Documentation

◆ CanCustomize()

bool FAtomSoundBaseCustomization::CanCustomize ( UClass * PropertyClass)
private

◆ CreateSoundBankPropertyHolder()

TStrongObjectPtr< UParentObjectPropertyHolder_Base > FAtomSoundBaseCustomization::CreateSoundBankPropertyHolder ( UClass * PropertyClass)
private

◆ CustomizeChildren()

void FAtomSoundBaseCustomization::CustomizeChildren ( TSharedRef< IPropertyHandle > StructPropertyHandle,
class IDetailChildrenBuilder & ChildBuilder,
IPropertyTypeCustomizationUtils & StructCustomizationUtils )
overridevirtual

◆ CustomizeHeader()

void FAtomSoundBaseCustomization::CustomizeHeader ( TSharedRef< IPropertyHandle > PropertyHandle,
class FDetailWidgetRow & HeaderRow,
IPropertyTypeCustomizationUtils & CustomizationUtils )
overridevirtual

◆ CustomizeRow()

void FAtomSoundBaseCustomization::CustomizeRow ( TSharedRef< IPropertyHandle > StructPropertyHandle,
class FDetailWidgetRow & Row )
private

◆ IsMapKeyHandle()

bool FAtomSoundBaseCustomization::IsMapKeyHandle ( const TSharedRef< IPropertyHandle > & Handle) const
private

◆ IsSoundBankSelected()

EVisibility FAtomSoundBaseCustomization::IsSoundBankSelected ( ) const
private

◆ IsSoundPickerEnabled()

bool FAtomSoundBaseCustomization::IsSoundPickerEnabled ( ) const
private

◆ MakeInstance()

TSharedRef< IPropertyTypeCustomization > FAtomSoundBaseCustomization::MakeInstance ( )
static

◆ OnAssetDropped()

void FAtomSoundBaseCustomization::OnAssetDropped ( const FDragDropEvent & ,
const FAssetData & Asset )
private

◆ OnIsAssetAcceptableForDropWithReason()

bool FAtomSoundBaseCustomization::OnIsAssetAcceptableForDropWithReason ( const FAssetData & Asset,
FText & OutReason )
private

◆ OnSoundBankPropertyChanged()

void FAtomSoundBaseCustomization::OnSoundBankPropertyChanged ( )
private

Member Data Documentation

◆ SoundBankHandle

TSharedPtr<IPropertyHandle> FAtomSoundBaseCustomization::SoundBankHandle
private

AtomSoundBank to select sound from.

◆ SoundBankHolder

TStrongObjectPtr<UParentObjectPropertyHolder_Base> FAtomSoundBaseCustomization::SoundBankHolder
private

local sound bank.

◆ SoundBaseHandle

TSharedPtr<IPropertyHandle> FAtomSoundBaseCustomization::SoundBaseHandle
private

AtomSoundBase being edited.

◆ SoundBasePicker

TSharedPtr<FSubObjectPicker> FAtomSoundBaseCustomization::SoundBasePicker
private

The sub-object picker.


The documentation for this class was generated from the following files: