ドキュメント

Unity Engine

Unity Engine

ShaderImporter

Shader importer lets you modify shader import settings from Editor scripts.
読み終わるまでの所要時間 4 分最終更新 1ヶ月前

Definition

public sealed class ShaderImporter : AssetImporter

Properties

Property

Description

preprocessorOverrideThis property has no effect.

Methods

Method

Description

GetDefaultTextureGets the default texture assigned to the shader importer for the shader property with given name.
GetNonModifiableTextureGets the non-modifiable texture assigned to the shader importer for the shader property with given name.
GetShaderGets the reference to the shader imported by this importer.
SetDefaultTexturesSets the default textures for each texture material property.
SetNonModifiableTexturesSets the non-modifiable textures for each texture material property.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.