Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2022.1.16.8522 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
Go to the documentation of this file.
27 #ifndef _AK_VECTORVALUERAMP_H_
28 #define _AK_VECTORVALUERAMP_H_
40 const AkReal32 fIncrement = (in_fStopValue-in_fStartValue)/in_uNumFrames;
41 const AkReal32 f4xInc = 4.f*fIncrement;
44 fVal[0] = in_fStartValue;
45 fVal[1] = fVal[0] + fIncrement;
46 fVal[2] = fVal[1] + fIncrement;
47 fVal[3] = fVal[2] + fIncrement;
64 #ifdef AKSIMD_V2F32_SUPPORTED
67 class CAkVectorValueRampV2
73 const AkReal32 fIncrement = (in_fStopValue-in_fStartValue)/in_uNumFrames;
74 const AkReal32 f2xInc = 2.f*fIncrement;
76 AKSIMD_BUILD_V2F32(
const AKSIMD_V2F32 vStartOffset, 0.f, fIncrement );
79 vValueRamp = l_vValueRamp;
98 #endif //_AK_VECTORVALUERAMP_H_
CAkVectorValueRampV4 CAkVectorValueRamp
AkForceInline AKSIMD_V4F32 Setup(AkReal32 in_fStartValue, AkReal32 in_fStopValue, AkUInt32 in_uNumFrames)
float AkReal32
32-bit floating point
uint32_t AkUInt32
Unsigned 32-bit integer.
AkForceInline AKSIMD_V4F32 Tick()
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