Navigation
API > API/Runtime > API/Runtime/AudioExtensions
Description
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.
| Name | DowncastSoundfieldRef |
| Type | function |
| Header File | /Engine/Source/Runtime/AudioExtensions/Public/ISoundfieldFormat.h |
| Include Path | #include "ISoundfieldFormat.h" |
template<typename ToType, typename FromType>
ToType & DowncastSoundfieldRef
(
FromType & InRef
)