Zdexby TheHolyOneZ
49,743 classes
Class

Sprite

: Object : Object
UnityEngine.Sprite, UnityEngine.CoreModule 0x0018 (24 B) inherited 0x0018 UnityEngine.CoreModule.dll
0x00x0018

Members 0

OffsetSizeNameTypeFlagsDefault
No reflected members.
Inherited from Object 5
OffsetSizeNameTypeFlagsDefault
—0x04kInstanceID_NoneintPrivateStatic+1 flags8
0x08m_CachedPtrlongPrivate—
0x04OffsetOfInstanceIDInCPlusPlusObjectintStatic+2 flags—
—0x08objectIsNullMessagestringPrivateStatic+1 flags—
—0x08cloneDestroyedMessagestringPrivateStatic+1 flags—

Functions 90

SignatureFlagsNativeParams
void .ctor()Private+1 flags0x00
int GetPackingMode()1 flags0x04
int GetPackingRotation()1 flags0x04
int GetPacked()1 flags0x04
Rect GetTextureRect()1 flags0x10
Vector2 GetTextureRectOffset()1 flags0x08
Vector4 GetInnerUVs()1 flags0x10
Vector4 GetOuterUVs()1 flags0x10
Vector4 GetPadding()1 flags0x10
Sprite CreateSpriteWithoutTextureScripting(const Rect& rect, const Vector2& pivot, float pixelsToUnits, Texture2D texture)Static+1 flags0x10
Sprite CreateSprite(Texture2D texture, const Rect& rect, const Vector2& pivot, float pixelsPerUnit, uint extrude, const SpriteMeshType& meshType, const Vector4& border, bool generateFallbackPhysicsShape, const SecondarySpriteTexture[]& secondaryTexture)Static+1 flags0x10
Bounds get_bounds()Public+1 flags0x18
Rect get_rect()Public+1 flags0x10
Vector4 get_border()Public+1 flags0x10
Texture2D get_texture()Public+1 flags0x08
uint get_extrude()2 flags0x04
Texture2D GetSecondaryTexture(int index)1 flags0x08
int GetSecondaryTextureCount()Public0x04
int GetSecondaryTextures(const SecondarySpriteTexture[]& secondaryTexture)Public0x08
float get_pixelsPerUnit()Public+1 flags0x04
float get_spriteAtlasTextureScale()Public+1 flags0x04
Texture2D get_associatedAlphaSplitTexture()Public+1 flags0x08
Vector2 get_pivot()Public+1 flags0x08
bool get_packed()Public+1 flags0x01
SpritePackingMode get_packingMode()Public+1 flags0x04
SpritePackingRotation get_packingRotation()Public+1 flags0x04
Rect get_textureRect()Public+1 flags0x10
Vector2 get_textureRectOffset()Public+1 flags0x08
Vector2[] get_vertices()Public+1 flags0x08
ushort[] get_triangles()Public+1 flags0x08
Vector2[] get_uv()Public+1 flags0x08
int GetPhysicsShapeCount()Public0x04
uint GetScriptableObjectsCount()Public0x04
uint GetScriptableObjects(const ScriptableObject[]& scriptableObjects)Public0x08
bool AddScriptableObject(ScriptableObject obj)Public0x08
bool RemoveScriptableObjectAt(uint i)Public0x04
bool SetScriptableObjectAt(ScriptableObject obj, uint i)Public0x08
int GetPhysicsShapePointCount(int shapeIdx)Public0x04
int Internal_GetPhysicsShapePointCount(int shapeIdx)Private0x04
int GetPhysicsShape(int shapeIdx, List<UnityEngine.Vector2> physicsShape)Public0x08
void GetPhysicsShapeImpl(Sprite sprite, int shapeIdx, List<UnityEngine.Vector2> physicsShape)PrivateStatic0x08
void OverridePhysicsShape(IList<UnityEngine.Vector2[]> physicsShapes)Public0x08
void OverridePhysicsShapeCount(Sprite sprite, int physicsShapeCount)PrivateStatic0x08
void OverridePhysicsShape(Sprite sprite, const Vector2[]& physicsShape, int idx)PrivateStatic0x08
void OverrideGeometry(const Vector2[]& vertices, const ushort[]& triangles)Public0x08
Sprite Create(const Rect& rect, const Vector2& pivot, float pixelsToUnits, Texture2D texture)Static+1 flags0x10
Sprite Create(const Rect& rect, const Vector2& pivot, float pixelsToUnits)Static+1 flags0x10
Sprite Create(Texture2D texture, const Rect& rect, const Vector2& pivot, float pixelsPerUnit, uint extrude, const SpriteMeshType& meshType, const Vector4& border, bool generateFallbackPhysicsShape)PublicStatic0x10
Sprite Create(Texture2D texture, const Rect& rect, const Vector2& pivot, float pixelsPerUnit, uint extrude, const SpriteMeshType& meshType, const Vector4& border, bool generateFallbackPhysicsShape, const SecondarySpriteTexture[]& secondaryTextures)PublicStatic0x10
Sprite Create(Texture2D texture, const Rect& rect, const Vector2& pivot, float pixelsPerUnit, uint extrude, const SpriteMeshType& meshType, const Vector4& border)PublicStatic0x10
Sprite Create(Texture2D texture, const Rect& rect, const Vector2& pivot, float pixelsPerUnit, uint extrude, const SpriteMeshType& meshType)PublicStatic0x10
Sprite Create(Texture2D texture, const Rect& rect, const Vector2& pivot, float pixelsPerUnit, uint extrude)PublicStatic0x10
Sprite Create(Texture2D texture, const Rect& rect, const Vector2& pivot, float pixelsPerUnit)PublicStatic0x10
Sprite Create(Texture2D texture, const Rect& rect, const Vector2& pivot)PublicStatic0x10
int GetPackingMode_Injected(long _unity_self)PrivateStatic0x08
int GetPackingRotation_Injected(long _unity_self)PrivateStatic0x08
int GetPacked_Injected(long _unity_self)PrivateStatic0x08
void GetTextureRect_Injected(long _unity_self, ref Rect& ret)PrivateStatic0x10
void GetTextureRectOffset_Injected(long _unity_self, ref Vector2& ret)PrivateStatic0x08
void GetInnerUVs_Injected(long _unity_self, ref Vector4& ret)PrivateStatic0x10
void GetOuterUVs_Injected(long _unity_self, ref Vector4& ret)PrivateStatic0x10
void GetPadding_Injected(long _unity_self, ref Vector4& ret)PrivateStatic0x10
long CreateSpriteWithoutTextureScripting_Injected(ref Rect& rect, ref Vector2& pivot, float pixelsToUnits, long texture)PrivateStatic0x10
long CreateSprite_Injected(long texture, ref Rect& rect, ref Vector2& pivot, float pixelsPerUnit, uint extrude, const SpriteMeshType& meshType, ref Vector4& border, bool generateFallbackPhysicsShape, const SecondarySpriteTexture[]& secondaryTexture)PrivateStatic0x10
void get_bounds_Injected(long _unity_self, ref Bounds& ret)PrivateStatic0x18
void get_rect_Injected(long _unity_self, ref Rect& ret)PrivateStatic0x10
void get_border_Injected(long _unity_self, ref Vector4& ret)PrivateStatic0x10
long get_texture_Injected(long _unity_self)PrivateStatic0x08
uint get_extrude_Injected(long _unity_self)PrivateStatic0x08
long GetSecondaryTexture_Injected(long _unity_self, int index)PrivateStatic0x08
int GetSecondaryTextureCount_Injected(long _unity_self)PrivateStatic0x08
int GetSecondaryTextures_Injected(long _unity_self, const SecondarySpriteTexture[]& secondaryTexture)PrivateStatic0x08
float get_pixelsPerUnit_Injected(long _unity_self)PrivateStatic0x08
float get_spriteAtlasTextureScale_Injected(long _unity_self)PrivateStatic0x08
long get_associatedAlphaSplitTexture_Injected(long _unity_self)PrivateStatic0x08
void get_pivot_Injected(long _unity_self, ref Vector2& ret)PrivateStatic0x08
Vector2[] get_vertices_Injected(long _unity_self)PrivateStatic0x08
ushort[] get_triangles_Injected(long _unity_self)PrivateStatic0x08
Vector2[] get_uv_Injected(long _unity_self)PrivateStatic0x08
int GetPhysicsShapeCount_Injected(long _unity_self)PrivateStatic0x08
uint GetScriptableObjectsCount_Injected(long _unity_self)PrivateStatic0x08
uint GetScriptableObjects_Injected(long _unity_self, const ScriptableObject[]& scriptableObjects)PrivateStatic0x08
bool AddScriptableObject_Injected(long _unity_self, long obj)PrivateStatic0x08
bool RemoveScriptableObjectAt_Injected(long _unity_self, uint i)PrivateStatic0x08
bool SetScriptableObjectAt_Injected(long _unity_self, long obj, uint i)PrivateStatic0x08
int Internal_GetPhysicsShapePointCount_Injected(long _unity_self, int shapeIdx)PrivateStatic0x08
void GetPhysicsShapeImpl_Injected(long sprite, int shapeIdx, ref BlittableListWrapper& physicsShape)PrivateStatic0x18
void OverridePhysicsShapeCount_Injected(long sprite, int physicsShapeCount)PrivateStatic0x08
void OverridePhysicsShape_Injected(long sprite, ref ManagedSpanWrapper& physicsShape, int idx)PrivateStatic0x10
void OverrideGeometry_Injected(long _unity_self, ref ManagedSpanWrapper& vertices, ref ManagedSpanWrapper& triangles)PrivateStatic0x10

Used by 96

types with a member, parameter or interface of this type