文档

Unity Engine

Unity Engine

ShaderData.Subshader

This class describes a subshader.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public class ShaderData.Subshader

Properties

Property

Description

LevelOfDetailThe level of detail (LOD) specified in this subshader (Read Only).
PassCountThe number of passes for this subshader.

Methods

Method

Description

FindTagValueSearches for the tag specified by
tagName
on this SubShader and returns the value of the tag.
GetPassGet a pass of a subshader.