terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
UnityEngine.Sprite Class Referencesealed
+ Inheritance diagram for UnityEngine.Sprite:
+ Collaboration diagram for UnityEngine.Sprite:

Public Member Functions

unsafe int GetInstanceID ()
 
override int GetHashCode ()
 
override bool Equals (object other)
 
static void Destroy (Object obj, [DefaultValue("0.0F")] float t)
 
static void DestroyImmediate (Object obj, [DefaultValue("false")] bool allowDestroyingAssets)
 
static Object[] FindObjectsOfType (Type type, bool includeInactive)
 
static void DontDestroyOnLoad ([NotNull("NullExceptionObject")] Object target)
 
override string ToString ()
 

Static Public Member Functions

static implicit operator bool (Object exists)
 
static Object Instantiate (Object original, Vector3 position, Quaternion rotation)
 
static Object Instantiate (Object original)
 
static T Instantiate< T > (T original)
 
static T Instantiate< T > (T original, Vector3 position, Quaternion rotation)
 
static void Destroy (Object obj)
 
static void DestroyImmediate (Object obj)
 
static T[] FindObjectsOfType< T > ()
 
static bool operator== (Object x, Object y)
 
static bool operator!= (Object x, Object y)
 

Package Functions

int GetPackingMode ()
 
int GetPacked ()
 
Rect GetTextureRect ()
 
Vector4 GetInnerUVs ()
 
Vector4 GetOuterUVs ()
 
Vector4 GetPadding ()
 
static Object FindObjectFromInstanceID (int instanceID)
 

Static Package Attributes

static int OffsetOfInstanceIDInCPlusPlusObject
 

Properties

Bounds bounds [get, set]
 
Rect rect [get, set]
 
Vector4 border [get, set]
 
Texture2D texture [get, set]
 
float pixelsPerUnit [get, set]
 
Texture2D associatedAlphaSplitTexture [get, set]
 
Vector2 pivot [get, set]
 
bool packed [get, set]
 
SpritePackingMode packingMode [get, set]
 
Rect textureRect [get, set]
 
Vector2[] vertices [get, set]
 
ushort[] triangles [get, set]
 
Vector2[] uv [get, set]
 
string name [get, set]
 
HideFlags hideFlags [set]
 

Private Member Functions

 Sprite ()
 
void GetTextureRect_Injected (out Rect ret)
 
void GetInnerUVs_Injected (out Vector4 ret)
 
void GetOuterUVs_Injected (out Vector4 ret)
 
void GetPadding_Injected (out Vector4 ret)
 
void get_bounds_Injected (out Bounds ret)
 
void get_rect_Injected (out Rect ret)
 
void get_border_Injected (out Vector4 ret)
 
void get_pivot_Injected (out Vector2 ret)
 
IntPtr GetCachedPtr ()
 
static string ToString (Object obj)
 
static int GetOffsetOfInstanceIDInCPlusPlusObject ()
 
static Object Internal_CloneSingle ([NotNull("NullExceptionObject")] Object data)
 
static string GetName ([NotNull("NullExceptionObject")] Object obj)
 
static void SetName ([NotNull("NullExceptionObject")] Object obj, string name)
 
static Object Internal_InstantiateSingle_Injected (Object data, ref Vector3 pos, ref Quaternion rot)
 

Static Private Member Functions

static bool CompareBaseObjects (Object lhs, Object rhs)
 
static bool IsNativeObjectAlive (Object o)
 
static void CheckNullArgument (object arg, string message)
 
static Object Internal_InstantiateSingle ([NotNull("NullExceptionObject")] Object data, Vector3 pos, Quaternion rot)
 

Private Attributes

IntPtr m_CachedPtr
 

Static Private Attributes

const string objectIsNullMessage = "The Object you want to instantiate is null."
 
const string cloneDestroyedMessage = "Instantiate failed because the clone was destroyed during creation. This can happen if DestroyImmediate is called in MonoBehaviour.Awake."
 

Detailed Description

Definition at line 17 of file Sprite.cs.


The documentation for this class was generated from the following file: