Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetDefaultTexture(string)

Gets the default texture assigned to the shader importer for the shader property with given name.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public Texture GetDefaultTexture(string name)

Parameters

name

Returns

Type

Description

Texture