ZForge.Motion.Controls.CameraView.SetStatus C# (CSharp) Method

SetStatus() private method

private SetStatus ( int s, bool set ) : void
s int
set bool
return void
        private void SetStatus(int s, bool set)
        {
            if (set)
            {
                this.Status = this.Status | s;
            }
            else
            {
                this.Status = this.Status & (~s);
            }
        }