EzGame.Perspective.Planar.Object.Applied C# (CSharp) 메소드

Applied() 공개 메소드

Get the count of how many filters of the provided filter type(s) (combined) there are
public Applied ( ) : int
리턴 int
        public int Applied(params Type[] Filters)
        {
            var Count = 0;
            if (this.Filters != null)
            {
                for (var i = 0; i < this.Filters.Count; i++) if (Filters.Contains(this.Filters[i].GetType())) Count++;
            }
            return Count;
        }