UnityEngine.Sprite.INTERNAL_CALL_Create C# (CSharp) Method

INTERNAL_CALL_Create() private method

private INTERNAL_CALL_Create ( Texture2D texture, Rect &rect, Vector2 &pivot, float pixelsPerUnit, uint extrude, SpriteMeshType meshType, Vector4 &border ) : Sprite
texture Texture2D
rect Rect
pivot Vector2
pixelsPerUnit float
extrude uint
meshType SpriteMeshType
border Vector4
return Sprite
        private static extern Sprite INTERNAL_CALL_Create(Texture2D texture, ref Rect rect, ref Vector2 pivot, float pixelsPerUnit, uint extrude, SpriteMeshType meshType, ref Vector4 border);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

コード例 #1
0
ファイル: Sprite.cs プロジェクト: zzrx79/UnityDecompiled
        public static Sprite Create(Texture2D texture, Rect rect, Vector2 pivot, float pixelsPerUnit, uint extrude)
        {
            Vector4        zero     = Vector4.zero;
            SpriteMeshType meshType = SpriteMeshType.Tight;

            return(Sprite.INTERNAL_CALL_Create(texture, ref rect, ref pivot, pixelsPerUnit, extrude, meshType, ref zero));
        }
All Usage Examples Of UnityEngine.Sprite::INTERNAL_CALL_Create