UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SoundNode.h File Reference
#include "CoreMinimal.h"
#include "Math/RandomStream.h"
#include "UObject/ObjectMacros.h"
#include "UObject/Object.h"
#include "UObject/Class.h"
#include "Sound/SoundWave.h"
#include "SoundNode.generated.h"

Go to the source code of this file.

Classes

class  USoundNode
 

Macros

#define DECLARE_SOUNDNODE_ELEMENT(Type, Name)
 
#define DECLARE_SOUNDNODE_ELEMENT_PTR(Type, Name)
 
#define RETRIEVE_SOUNDNODE_PAYLOAD(Size)
 

Macro Definition Documentation

◆ DECLARE_SOUNDNODE_ELEMENT

#define DECLARE_SOUNDNODE_ELEMENT (   Type,
  Name 
)
Value:
Type& Name = *((Type*)(Payload)); \
Payload += sizeof(Type);

◆ DECLARE_SOUNDNODE_ELEMENT_PTR

#define DECLARE_SOUNDNODE_ELEMENT_PTR (   Type,
  Name 
)
Value:
Type* Name = (Type*)(Payload); \
Payload += sizeof(Type);

◆ RETRIEVE_SOUNDNODE_PAYLOAD

#define RETRIEVE_SOUNDNODE_PAYLOAD (   Size)
Value:
uint8* Payload = NULL; \
uint32* RequiresInitialization = NULL; \
{ \
uint32* TempOffset = ActiveSound.SoundNodeOffsetMap.Find(NodeWaveInstanceHash); \
{ \
Offset = ActiveSound.SoundNodeData.AddZeroed( Size + sizeof(uint32)); \
ActiveSound.SoundNodeOffsetMap.Add( NodeWaveInstanceHash, Offset ); \
RequiresInitialization = (uint32*) &ActiveSound.SoundNodeData[Offset]; \
*RequiresInitialization = 1; \
Offset += sizeof(uint32); \
} \
else \
{ \
RequiresInitialization = (uint32*) &ActiveSound.SoundNodeData[*TempOffset]; \
Offset = *TempOffset + sizeof(uint32); \
} \
Payload = &ActiveSound.SoundNodeData[Offset]; \
}
#define NULL
Definition oodle2base.h:134
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32 Offset
Definition VulkanMemory.cpp:4033
uint32 Size
Definition VulkanMemory.cpp:4034
uint8_t uint8
Definition binka_ue_file_header.h:8
uint32_t uint32
Definition binka_ue_file_header.h:6