engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
IAudioEndpointFactory类 参考abstract

This factory is used to expose Endpoint types to the editor. 更多...

#include <IAudioEndpoint.h>

+ 类 IAudioEndpointFactory 继承关系图:

Public 成员函数

virtual TUniquePtr< IAudioEndpoint > CreateNewEndpointInstance (const FAudioPluginInitializationParams &InitInfo, const IAudioEndpointSettingsProxy &InitialSettings)=0
 Called for every new endpoint submix created with this factory's endpoint type.
 
virtual UClass * GetCustomSettingsClass () const
 Should return the StaticClass of this factory's implementation of UAudioEndpointSettingsBase.
 
virtual const UAudioEndpointSettingsBase * GetDefaultSettings () const =0
 return the settings an endpoint should use if
 
virtual FName GetEndpointTypeName ()=0
 Get the name for the endpoint type that this factory produces. 更多...
 
virtual ~IAudioEndpointFactory ()
 Virtual destructor
 

静态 Public 成员函数

static IAudioEndpointFactory * Get (const FName &InName)
 Get a registered endpoint factory by name.
 
static FName GetModularFeatureName ()
 This is used when calling IModularFeatures::Get().RegisterModularFeature for IAudioEndpointFactory implementations. 更多...
 
static FName GetTypeNameForDefaultEndpoint ()
 This is a special cased name for endpoint submixes that render directly to the default audio device in Audio::FMixerDevice::OnProcessAudioStream.
 
static void RegisterEndpointType (IAudioEndpointFactory *InFactory)
 This needs to be called to make a soundfield format usable by the engine. 更多...
 
static void UnregisterEndpointType (IAudioEndpointFactory *InFactory)
 This needs to be called it an implementation of ISoundfieldFactory is about to be destroyed. 更多...
 

详细描述

This factory is used to expose Endpoint types to the editor.

Once a factory is constructed and RegisterEndpointType is called, it will be exposed as a type of endpoint That a submix in the submix graph could be constructed with.

成员函数说明

◆ GetEndpointTypeName()

virtual FName IAudioEndpointFactory::GetEndpointTypeName ( )
pure virtual

Get the name for the endpoint type that this factory produces.


◆ GetModularFeatureName()

static FName IAudioEndpointFactory::GetModularFeatureName ( )
static

This is used when calling IModularFeatures::Get().RegisterModularFeature for IAudioEndpointFactory implementations.

It's not needed if one uses RegisterEndpointType() to register IAudioEndpointFactory implementations.

◆ RegisterEndpointType()

static void IAudioEndpointFactory::RegisterEndpointType ( IAudioEndpointFactory *  InFactory)
static

This needs to be called to make a soundfield format usable by the engine.

It can be called from a ISoundfieldFactory subclass' constructor

◆ UnregisterEndpointType()

static void IAudioEndpointFactory::UnregisterEndpointType ( IAudioEndpointFactory *  InFactory)
static

This needs to be called it an implementation of ISoundfieldFactory is about to be destroyed.

It can be called from the destructor of an implementation of ISoundfieldFactory.


该类的文档由以下文件生成: