Version

menu_open
Wwise SDK 2023.1.8
AkReflectGameData.h
AkUInt32 uNumChar
Number of characters in image source name.
AkReflectImageSource(AkImageSourceID in_uID, AkVector64 in_sourcePosition, AkReal32 in_fDistanceScalingFactor, AkReal32 in_fLevel)
#define AK_MAX_NUM_TEXTURE
AkReflectImageSource arSources[1]
Variable array of image sources. You should allocate storage for the structure by calling AkReflectGa...
AkImageSourceTexture texture
Image source's acoustic textures. Note that changing any of these textures across frames for a given ...
Data used to describe one image source in Reflect.
AkUInt64 AkGameObjectID
Game object ID.
Definition: AkTypes.h:60
AkUInt32 uNumTexture
Number of valid textures in the texture array.
AkReal32 fDiffraction
Diffraction amount, normalized to the range [0,1].
AkReal32 fLevel
Game-controlled level for this source, linear.
AkUInt32 AkImageSourceID
Image Source ID.
Definition: AkTypes.h:84
AkReal32 fDistanceScalingFactor
Image source distance scaling. This number effectively scales the sourcePosition vector with respect ...
uint8_t AkUInt8
Unsigned 8-bit integer.
AkUInt32 uNumImageSources
Number of image sources passed in the variable array, below.
void SetName(const char *in_pName)
#define NULL
Definition: AkTypes.h:46
float AkReal32
32-bit floating point
AkUInt32 AkUniqueID
Unique 32-bit ID.
Definition: AkTypes.h:52
static AkUInt32 GetSize(AkUInt32 in_uNumSources)
Helper function for computing the size required to allocate the AkReflectGameData structure.
AkGameObjectID listenerID
ID of the listener used to compute spatialization and distance evaluation from within the targeted Re...
AkUInt8 uDiffractionListenerSide
If there is a shadow zone diffraction before reaching the listener in the reflection path,...
AkImageSourceID uID
Image source ID (for matching delay lines across frames)
Data structure sent by the game to an instance of the Reflect plug-in.
AkReflectGameData()
Default constructor.
static const AkUniqueID AK_INVALID_UNIQUE_ID
Invalid unique 32-bit ID.
Definition: AkTypes.h:95
AkImageSourceParams(AkVector64 in_sourcePosition, AkReal32 in_fDistanceScalingFactor, AkReal32 in_fLevel)
const char * pName
Optional image source name. Appears in Reflect's editor when profiling.
AkReal64 Y
Y Position.
Definition: AkTypes.h:356
AkImageSourceName name
Image source name, for profiling.
static const AkGameObjectID AK_INVALID_GAME_OBJECT
Invalid game object (may also mean all game objects)
Definition: AkTypes.h:94
3D 64-bit vector. Intended as storage for world positions of sounds and objects, benefiting from 64-b...
Definition: AkTypes.h:327
uint32_t AkUInt32
Unsigned 32-bit integer.
AkVector64 sourcePosition
Image source position, relative to the world.
void SetName(const char *in_pName)
AkImageSourceParams params
Image source properties.
AkReal64 Z
Z Position.
Definition: AkTypes.h:357
AkUniqueID arTextureID[AK_MAX_NUM_TEXTURE]
Unique IDs of the Acoustics Texture ShareSets used to filter this image source.
AkReal64 X
X Position.
Definition: AkTypes.h:355
AkUInt8 uDiffractionEmitterSide
If there is a shadow zone diffraction just after the emitter in the reflection path,...

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise