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.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise