DowncastSoundfieldRef

This helper function is used to downcast abstract objects during callbacks.

Windows
MacOS
Linux

References

Module

AudioExtensions

Header

/Engine/Source/Runtime/AudioExtensions/Public/ISoundfieldFormat.h

Include

#include "ISoundfieldFormat.h"

Syntax

template<typename ToType, typename FromType>
ToType & DowncastSoundfieldRef
(
    FromType & InRef
)

Remarks

This helper function is used to downcast abstract objects during callbacks. Since implementing this API requires frequent downcasting of opaque data, and RTTI is not enabled by default in our codebase, This is useful for avoiding programmer error.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss