FairyGUI.NTexture.NTexture C# (CSharp) Method

NTexture() public method

public NTexture ( Texture texture, float xScale, float yScale ) : System.Collections.Generic
texture UnityEngine.Texture
xScale float
yScale float
return System.Collections.Generic
        public NTexture(Texture texture, float xScale, float yScale)
        {
            root = this;
            nativeTexture = texture;
            uvRect = new Rect(0, 0, xScale, yScale);
        }

Same methods

NTexture::NTexture ( NTexture root, Rect region ) : System.Collections.Generic
NTexture::NTexture ( Texture texture ) : System.Collections.Generic
NTexture::NTexture ( Texture texture, Rect region ) : System.Collections.Generic