checkEnvelopeTime - 18684092/Steering-Wheel-Project GitHub Wiki

CheckEnvelopeTime

Access: Private

Prototype: bool checkEnvelopeTime(Uint32 mS, Uint32 aLen, Uint32 fLen)

Parameters: mS is the duration of the effect, aLen is the attack length in mS and fLen is the fade length in mS. Attack and Fade are part of the effect’s envelope.

Return Value: Boolean true if within range, false otherwise.

Description: aLen + fLen <= mS – the envelope can not take longer than the overall duration of the envelope.

Note:

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()