/**
         * Return the TextureDisplay.
         * @example
         * <listing>
         * var texturedisplay:Object = factory.getTextureDisplay('dragon');
         * </listing>
         * @param	The name of this Texture.
         * @param	The name of the TextureAtlas.
         * @param	The registration pivotX position.
         * @param	The registration pivotY position.
         * @return An Object.
         */
        public Object GetTextureDisplay(string textureName, string textureAtlasName = null, float pivotX = float.NaN, float pivotY = float.NaN)
        {
            TextureAtlas textureAtlas = null;

            if (textureAtlasName != null)
            {
                textureAtlas = _textureAtlasDic[textureAtlasName];
            }
            if (textureAtlas == null && textureAtlasName == null)
            {
                foreach (KeyValuePair <string, TextureAtlas> atlas in _textureAtlasDic as Dictionary <string, TextureAtlas> )
                {
                    textureAtlas = _textureAtlasDic[atlas.Key];
                    if (textureAtlas.GetRegion(textureName) != null)
                    {
                        break;
                    }
                    textureAtlas = null;
                }
            }
            if (textureAtlas != null)
            {
                if (float.IsNaN(pivotX) || float.IsNaN(pivotY))
                {
                    SkeletonData data = _dataDic[textureAtlasName];
                    if (data != null)
                    {
                        Point pivot = data.GetSubTexturePivot(textureName);
                        if (pivot != null)
                        {
                            pivotX = pivot.X;
                            pivotY = pivot.Y;
                        }
                    }
                }

                return(generateDisplay(textureAtlas, textureName, pivotX, pivotY));
            }
            return(null);
        }