-
Notifications
You must be signed in to change notification settings - Fork 2
checkAttackLength
Access: Private
Prototype: bool checkAttackLength(Uint32 aLen)
Parameters: Uint32 aLen is time in milliseconds.
Return Value: Boolean true if within range, false otherwise.
Description: The attack length is part of the effect envelope and dictates how long it takes to go from the aLvl (attack level) to the lvl (level). Levels being the strength of the effect.
MIN_ATTACK_LENGTH >= aLen <= SDL_MAX_UINT32
Note: See the constant and periodic effect description.
Related Functions: checkDuration, checkDelay, checkAttackLength, checkFadeLength, checkEnvelopeTime, checkIterations, checkLevel, checkFadeLevel, checkSatLevel, checkCoEfLevel, checkDeadband, checkCentre, checkAttackLevel(), checkEffectNumber(), checkHaptic(), checkParamsConstant(), checkParamsEnvelope(), checkParamsPeriod(), checkParamsCondition(), checkDirection(), checkPeriodType(), checkConditionType(), checkGain()