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.Material Class Reference
+ Inheritance diagram for UnityEngine.Material:
+ Collaboration diagram for UnityEngine.Material:

Public Member Functions

 Material (Shader shader)
 
 Material (Material source)
 
 Material (string contents)
 
bool HasProperty (int nameID)
 
bool HasProperty (string name)
 
void EnableKeyword (string keyword)
 
void DisableKeyword (string keyword)
 
void SetFloat (string name, float value)
 
void SetFloat (int nameID, float value)
 
void SetColor (string name, Color value)
 
void SetColor (int nameID, Color value)
 
void SetVector (int nameID, Vector4 value)
 
void SetTexture (int nameID, Texture value)
 
Color GetColor (string name)
 
Color GetColor (int nameID)
 
Texture GetTexture (string name)
 
Texture GetTexture (int nameID)
 
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

static Object FindObjectFromInstanceID (int instanceID)
 

Static Package Attributes

static int OffsetOfInstanceIDInCPlusPlusObject
 

Properties

Shader shader [get, set]
 
Color color [get, set]
 
Texture mainTexture [get, set]
 
int renderQueue [set]
 
string name [get, set]
 
HideFlags hideFlags [set]
 

Private Member Functions

static void CreateWithShader ([Writable] Material self, [NotNull("ArgumentNullException")] Shader shader)
 
static void CreateWithMaterial ([Writable] Material self, [NotNull("ArgumentNullException")] Material source)
 
static void CreateWithString ([Writable] Material self)
 
int GetFirstPropertyNameIdByAttribute (ShaderPropertyFlags attributeFlag)
 
void SetFloatImpl (int name, float value)
 
void SetColorImpl (int name, Color value)
 
void SetTextureImpl (int name, Texture value)
 
Color GetColorImpl (int name)
 
Texture GetTextureImpl (int name)
 
void SetColorImpl_Injected (int name, ref Color value)
 
void GetColorImpl_Injected (int name, out Color 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 15 of file Material.cs.


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