文档

Unity Engine

Unity Engine

GetDefaultTexture(string)

Gets the default texture assigned to the shader importer for the shader property with given name.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

name

Returns

Type

Description

Texture