C# Класс MaterialProcessor, ThreeDWorld

Наследование: UnityEditor.AssetPostprocessor
Показать файл Открыть проект

Открытые методы

Метод Описание
HandleMaterial ( string materialLocation, string mtlFileContents ) : void
OnPostprocessModel ( GameObject obj ) : void
OnPreprocessModel ( ) : void
ProcessMtlFile ( string fileLocation ) : void

Приватные методы

Метод Описание
LookUpMtlPrefix ( string mtlKey, string mtlContents ) : string
OnPostprocessAllAssets ( string importedAssets, string deletedAssets, string movedAssets, string movedFromAssetPaths ) : void
SetShaderTagToTransparent ( string fullMaterialPath ) : void
TryRegressProperties ( Material mat, string mtlContents ) : void
TrySetColor ( string mtlKey, string mtlAlphaKey, string shaderKey, Material mat, string mtlContents ) : void
TrySetTexMap ( string mtlKey, string shaderKey, Material mat, string texDirectory, string mtlContents ) : void

Описание методов

HandleMaterial() публичный Метод

public HandleMaterial ( string materialLocation, string mtlFileContents ) : void
materialLocation string
mtlFileContents string
Результат void

OnPostprocessModel() публичный Метод

public OnPostprocessModel ( GameObject obj ) : void
obj GameObject
Результат void

OnPreprocessModel() публичный Метод

public OnPreprocessModel ( ) : void
Результат void

ProcessMtlFile() публичный Метод

public ProcessMtlFile ( string fileLocation ) : void
fileLocation string
Результат void