EzGame.Perspective.Planar.Animation.Texture C# (CSharp) Метод

Texture() публичный Метод

public Texture ( uint Index = null ) : Microsoft.Xna.Framework.Graphics.Texture2D
Index uint
Результат Microsoft.Xna.Framework.Graphics.Texture2D
        public Texture2D Texture(uint? Index = null)
        {
            if (Frames == null) return null;
            if (Index == null)
            {
                if (Frames.Length > this.Index) return Frames[this.Index].Texture;
            }
            else if (Frames.Length > Index) return Frames[(uint) Index].Texture;
            return null;
        }