Version

menu_open
Wwise SDK 2018.1.11

◆ GetCustomPropertyValue() [1/2]

AKRESULT __cdecl AK::SoundEngine::Query::GetCustomPropertyValue ( AkUniqueID  in_ObjectID,
AkUInt32  in_uPropID,
AkInt32 out_iValue 
)

Get the value of a custom property of integer or boolean type.

Returns
AK_PartialSuccess if the object was found but no matching custom property was found on this object. Note that it could mean this value is the default value.
Parameters
in_ObjectID Object ID, this is the 32bit ShortID of the AudioFileSource or Sound object found in the .wwu XML file. At runtime it can only be retrieved by the AK_Duration callback when registered with PostEvent(), or by calling Query::QueryAudioObjectIDs() to get all the shortIDs associated with an event.
in_uPropID Property ID of your custom property found under the Custom Properties tab of the Wwise project settings.
out_iValue Property Value

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