73 :
params(in_sourcePosition, in_fDistanceScalingFactor, in_fLevel)
514 namespace SpatialAudio
AkAcousticSurface()
Constructor.
AKRESULT __cdecl QuerySoundPropagationPaths(AkGameObjectID in_gameObjectID, AkVector &out_listenerPos, AkVector &out_emitterPos, AkPropagationPathInfo *out_aPaths, AkUInt32 &io_uArraySize)
AKRESULT __cdecl SetPosition(AkGameObjectID in_gameObjectID, const AkTransform &in_sourcePosition)
Structure for retrieving information about the sound propagation paths that have been calculated via ...
AkUniqueID reflectAuxBusID
void SetOneTexture(AkUniqueID in_texture)
AkUInt32 reflectionsOrder
AKRESULT __cdecl SetEmitterAuxSendValues(AkGameObjectID in_gameObjectID, AkAuxSendValue *in_pAuxSends, AkUInt32 in_uNumAux)
AkUInt32 AkAuxBusID
Auxilliary bus ID.
AkPortalID portals[kMaxNodes]
ID of the portal's that the path passes through. portal[0] is the portal closest to the listener; por...
AKRESULT __cdecl RemoveRoom(AkRoomID in_RoomID)
AkUInt32 numPathPoints
Number of valid elements in the pathPoint[], surfaces[], and diffraction[] arrays.
AkAcousticSurface surfaces[AK_MAX_REFLECTION_PATH_LENGTH]
AkTriangle(AkVertIdx in_pt0, AkVertIdx in_pt1, AkVertIdx in_pt2, AkSurfIdx in_surfaceInfo)
Constructor.
AkUniqueID arTextureID[AK_MAX_NUM_TEXTURE]
Unique IDs of the Acoustics Texture ShareSets used to filter this image source.
AkUInt32 AkImageSourceID
Image Source ID.
static const AkAuxBusID AK_INVALID_AUX_ID
Invalid auxiliary bus ID (or no Aux bus ID)
Parameters passed to SetPortal.
Triangle for a spatial audio mesh.
AkVector nodes[kMaxNodes]
Diffraction points.
AkReal32 reflectionsAuxBusGain
Send gain (0.f-1.f) that is applied when sending to the bus that has the AkReflect plug-in....
AkEmitterSettings()
Constructor.
AK::SpatialAudio::OsString strName
Name used to identify portal (optional).
AkMemPoolId uPoolID
User-provided pool ID (see AK::MemoryMgr::CreatePool).
AkPortalParams()
Constructor.
AKRESULT
Standard function call result.
AkGeometryParams()
Constructor.
AkReal32 RoomGameObj_AuxSendLevelToSelf
AkRoomParams()
Constructor.
AKRESULT __cdecl RegisterEmitter(AkGameObjectID in_gameObjectID, const AkEmitterSettings &in_settings)
AkReal32 angles[kMaxNodes]
Raw diffraction angles at each point, in radians.
AKRESULT __cdecl QueryReflectionPaths(AkGameObjectID in_gameObjectID, AkVector &out_listenerPos, AkVector &out_emitterPos, AkReflectionPathInfo *out_aPaths, AkUInt32 &io_uArraySize)
AK::SpatialAudio::OsString name
Name given to this sound emitter.
AkVector occlusionPoint
The point that was hit to cause the path to be occluded. Note that the spatial audio library must be ...
AkVertIdx point2
Index into the vertex table passed into AkGeometryParams that describes the third vertex of the trian...
AkUInt32 uNumTexture
Number of valid textures in the texture array.
AkUInt32 reflectorFilterMask
#define AK_EXTERNAPIFUNC(__TYPE__, __NAME__)
AkReal32 diffraction
Calculated total diffraction from this path, normalize to the range [0,1].
AkAcousticSurface * Surfaces
AKRESULT __cdecl SetGeometry(AkGeometrySetID in_GeomSetID, const AkGeometryParams &in_params)
AkReal32 reflectionMaxPathLength
AKRESULT __cdecl SetGameObjectInRoom(AkGameObjectID in_gameObjectID, AkRoomID in_CurrentRoomID)
AkReal32 fDiffractionShadowAttenFactor
Multiplier that is applied to the distance attenuation of diffracted sounds (sounds that are in the '...
AKRESULT __cdecl SetRoom(AkRoomID in_RoomID, const AkRoomParams &in_Params)
AkRoomID rooms[kMaxNodes+1]
ID's of the rooms that the path passes through. There is always one more room than portal....
AkMemPoolId __cdecl GetPoolID()
Access the internal pool ID passed to Init.
Settings for a sound emitter.
bool EnableDiffraction
Switch to enable or disable geometric diffraction for this Geometry.
AkTriIdx NumTriangles
Number of triangles in Triangles.
AkDiffractionFlags
AkDiffractionFlags determine if diffraction values for sound passing through portals will be calculat...
const char * strName
Name to describe this surface.
Auxiliary bus sends information per game object per given auxiliary bus.
bool EnableDiffractionOnBoundaryEdges
Switch to enable or disable geometric diffraction on boundary edges for this Geometry....
AKRESULT __cdecl RemoveImageSource(AkImageSourceID in_srcID, AkUniqueID in_AuxBusID, AkGameObjectID in_gameObjectID=AK_INVALID_GAME_OBJECT)
Use Wwise obstruction for dry-path diffraction. Dry-path diffraction is related to the angle off of a...
AkUInt32 diffractionMaxEdges
AkReal32 diffraction[AK_MAX_REFLECTION_PATH_LENGTH]
Diffraction amount, normalized to the range [0,1].
const AkReal32 kDefaultMaxPathLength
AkUInt32 AkUniqueID
Unique 32-bit ID.
AkUInt32 reflectorChannelMask
Bitfield of channels that this surface belongs to. When processing the reflections,...
AkImageSourceSettings(AkVector in_sourcePosition, AkReal32 in_fDistanceScalingFactor, AkReal32 in_fLevel)
AkImageSourceParams params
Image source parameters.
AKRESULT __cdecl Init(const AkSpatialAudioInitSettings &in_initSettings)
Initialize the SpatialAudio API.
AkUInt64 AkGameObjectID
Game object ID.
AkReal32 fDiffractionShadowDegrees
AkUInt32 diffractionMaxPaths
AkUInt32 uDiffractionFlags
Enable or disable specific diffraction features. See AkDiffractionFlags.
AK::SpatialAudio::OsString strName
Name used to identify room (optional)
AkReal32 length
The sum of all straight line path segments, including the segment from the listener to nodePoint[0],...
AKRESULT __cdecl RemovePortal(AkPortalID in_PortalID)
bool isOccluded
True if the sound path was occluded. Note that the spatial audio library must be recompiled with #def...
Initialization settings of the spatial audio module.
AKRESULT __cdecl UnregisterListener(AkGameObjectID in_gameObjectID)
void SetName(const char *in_pName)
AKRESULT __cdecl SetEmitterObstructionAndOcclusion(AkGameObjectID in_gameObjectID, AkReal32 in_fObstruction, AkReal32 in_fOcclusion)
AkReal32 obstructionValue
Obstruction value for this path.
AkUInt32 numNodes
Represents the number of valid nodes in nodePoint[] and the number of valid portals in portals[]....
AkUInt32 uMaxSoundPropagationDepth
Maximum number of portals that sound can propagate through; must be less than or equal to AK_MAX_SOUN...
AKRESULT __cdecl SetImageSource(AkImageSourceID in_srcID, const AkImageSourceSettings &in_info, AkUniqueID in_AuxBusID, AkRoomID in_roomID, AkGameObjectID in_gameObjectID=AK_INVALID_GAME_OBJECT)
AkVertIdx point0
Index into the vertex table passed into AkGeometryParams that describes the first vertex of the trian...
AkVertex * Vertices
Number of vertices in Vertices.
bool RoomGameObj_KeepRegistered
AkSpatialAudioInitSettings()
AkReal32 roomReverbAuxBusGain
AkUInt32 numReflections
Number of reflections in the pathPoint[] array. Shadow zone diffraction does not count as a reflectio...
Parameters passed to SetRoom.
AkTriangle()
Constructor.
#define AK_MAX_REFLECTION_PATH_LENGTH
AkTransform virtualPos
Virtual emitter position.
static const AkMemPoolId AK_INVALID_POOL_ID
Invalid pool ID.
AKRESULT __cdecl UnregisterEmitter(AkGameObjectID in_gameObjectID)
AkReal32 level
Linear gain applied to image source.
AkVertex(AkReal32 in_X, AkReal32 in_Y, AkReal32 in_Z)
Constructor.
static const AkGameObjectID AK_INVALID_GAME_OBJECT
Invalid game object (may also mean all game objects)
#define AK_DEFAULT_DIFFR_SHADOW_ATTEN
AKRESULT __cdecl RegisterListener(AkGameObjectID in_gameObjectID)
Base type for ID's used by Wwise spatial audio.
#define AK_INVALID_VERTEX
AkSurfIdx NumSurfaces
Number of of AkTriangleInfo structures in in_pTriangleInfo and number of AkTriIdx's in in_infoMap.
AK::SpatialAudio::String name
Name given to image source, can be used to identify the image source in the AK Reflect plugin UI.
static const AkUInt32 kMaxNodes
Defines the maximum number of nodes that a user can retrieve information about. Longer paths will be ...
AkUInt32 uPoolSize
Desired memory pool size if a new pool should be created. A pool will be created if uPoolID is not se...
static const AkUniqueID AK_INVALID_UNIQUE_ID
Invalid unique 32-bit ID.
AkReal32 totLength
Total path length.
AkUInt8 useImageSources
Enable reflections from image sources that have been added via the AK::SpatialAudio::SetImageSource()...
AkImageSourceTexture texture
Acoustic texture that goes with this image source.
AkReal32 dryDiffraction
The dry diffraction amount is normalized in the range [0,1], and calculated from the maximum deviatio...
Parameters passed to SetGeometry.
#define AK_DEFAULT_DIFFR_SHADOW_DEGREES
AKRESULT __cdecl SetPortal(AkPortalID in_PortalID, const AkPortalParams &in_Params)
AkUInt32 nodeCount
Total number of nodes in the path. Defines the number of valid entries in the nodes and angles arrays...
AkReal32 gain
The cumulative gain (linear) of all portals traversed.
static const AkUInt32 kMaxNodes
Defines the maximum number of nodes that a user can retrieve information about. Longer paths will be ...
AkInt32 AkMemPoolId
Memory pool ID.
An emitter that is not in the same room as the listener will have its apparent or virtual position ca...
AKRESULT __cdecl RemoveGeometry(AkGeometrySetID in_SetID)
AKRESULT __cdecl QueryDiffractionPaths(AkGameObjectID in_gameObjectID, AkVector &out_listenerPos, AkVector &out_emitterPos, AkDiffractionPathInfo *out_aPaths, AkUInt32 &io_uArraySize)
AkVector imageSource
Apparent source of the reflected sound that follows this path.
#define AK_INVALID_SURFACE
AkImageSourceSettings & operator=(const AkImageSourceSettings &src)
Operator =.
Set the Wwise built-in game parameter value for diffraction angle. This is a flexible approach that c...
AkReal32 diffractionMaxPathLength
Vertex for a spatial audio mesh.
AKRESULT __cdecl SetPortalObstructionAndOcclusion(AkPortalID in_PortalID, AkReal32 in_fObstruction, AkReal32 in_fOcclusion)
Structure for retrieving information about the indirect paths of a sound that have been calculated vi...
AkVector pathPoint[AK_MAX_REFLECTION_PATH_LENGTH]
AkVector nodePoint[kMaxNodes]
Nodes in the path; they repreent vertices within the bounds of a portal's opening.
AkVertIdx point1
Index into the vertex table passed into AkGeometryParams that describes the second vertex of the tria...
#define AK_MAX_SOUND_PROPAGATION_DEPTH