C# 클래스 MaterialProcessor, ThreeDWorld

상속: UnityEditor.AssetPostprocessor
파일 보기 프로젝트 열기: dicarlolab/ThreeDWorld

공개 메소드들

메소드 설명
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