Show / Hide Table of Contents

Class MaterialExtensions

Inheritance
System.Object
MaterialExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AssetRipper.SourceGenerated.Extensions
Assembly: AssetRipper.SourceGenerated.Extensions.dll
Syntax
public static class MaterialExtensions

Methods

| Improve this Doc View Source

FindPropertyNameByCRC28(IMaterial, UInt32)

Declaration
public static string FindPropertyNameByCRC28(this IMaterial material, uint crc)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_21.IMaterial material
System.UInt32 crc
Returns
Type Description
System.String
| Improve this Doc View Source

GetTextureProperties(IMaterial)

Declaration
public static IEnumerable<KeyValuePair<Utf8String, IUnityTexEnv>> GetTextureProperties(this IMaterial material)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_21.IMaterial material
Returns
Type Description
IEnumerable<KeyValuePair<Utf8String, AssetRipper.SourceGenerated.Subclasses.UnityTexEnv.IUnityTexEnv>>
| Improve this Doc View Source

TryGetTextureProperty(IMaterial, String, out IUnityTexEnv)

Declaration
public static bool TryGetTextureProperty(this IMaterial material, string propertyName, out IUnityTexEnv property)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_21.IMaterial material
System.String propertyName
AssetRipper.SourceGenerated.Subclasses.UnityTexEnv.IUnityTexEnv property
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾