Version
menu

Wwise SDK 2025.1.0
AkCmd_SetScalingFactor Struct Reference

#include <AkCommandTypes.h>

Public Attributes

AkGameObjectID gameObjectID
 Game Object ID. More...
 
AkReal32 scalingFactor
 Scaling factor. More...
 

Detailed Description

Sets the scaling factor of a Game Object. Modifies the attenuation computations on this Game Object to simulate sounds with a larger or smaller area of effect.

This command can fail for the following reasons:

  • AK_InvalidParameter: gameObjectID is not a valid game object ID or scalingFactor is outside the valid range.
  • AK_IDNotFound: gameObjectID is not a registered game object ID.
See also
AkCommand_SetScalingFactor

Definition at line 462 of file AkCommandTypes.h.


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