Show / Hide Table of Contents

Class MaterialExtensions

Unity Material extension methods.

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.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: StansAssets.Foundation.Extensions
Assembly: cs.temp.dll.dll
Syntax
public static class MaterialExtensions

Methods

SetAlpha(Material, Single)

Set's alpha channel for the Material _Color property

Declaration
public static void SetAlpha(this Material material, float value)
Parameters
Type Name Description
Material material

Material to operate with.

System.Single value

Alpha channel value.

In This Article
Back to top Generated by DocFX