setEffectToTimeVaryingMatrix(timeToMatrixFunc) {
        this.gate._stableDuration = 0;
        this.gate._knownMatrixFunc = timeToMatrixFunc;
        this.gate._hasNoEffect = false;
        return this;
    }
@param {!function(time : !number, gateParam: *) : !Matrix} timeToMatrixFunc
@returns {!GateBuilder}