Show / Hide Table of Contents

Class TextureExtensions

Unity Texture extension methods.

Inheritance
System.Object
TextureExtensions
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 TextureExtensions

Methods

ToTexture2D(Texture)

Convert to .

Declaration
public static Texture2D ToTexture2D(this Texture texture)
Parameters
Type Name Description
Texture texture

Texture to convert.

Returns
Type Description
Texture2D

Converted texture as Texture2D

In This Article
Back to top Generated by DocFX