/// <summary> /// Check if the <see cref="ChannelCountMax"/> is valid. /// </summary> /// <returns>Returns true if the <see cref="ChannelCountMax"/> is valid.</returns> public bool IsChannelCountMaxValid() { return(EffectInParameterVersion1.IsChannelCountValid(ChannelCountMax)); }
public override void Update(out BehaviourParameter.ErrorInfo updateErrorInfo, ref EffectInParameterVersion1 parameter, PoolMapper mapper) { Update(out updateErrorInfo, ref parameter, mapper); }
/// <summary> /// Update the internal state from a user version 1 parameter. /// </summary> /// <param name="updateErrorInfo">The possible <see cref="ErrorInfo"/> that was generated.</param> /// <param name="parameter">The user parameter.</param> /// <param name="mapper">The mapper to use.</param> public virtual void Update(out ErrorInfo updateErrorInfo, ref EffectInParameterVersion1 parameter, PoolMapper mapper) { Debug.Assert(IsTypeValid(ref parameter)); updateErrorInfo = new ErrorInfo(); }