C# 클래스 UnityEditor.TextureImporter

상속: AssetImporter
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ClearPlatformTextureSettings void
DoesSourceTextureHaveAlpha bool
DoesSourceTextureHaveColor bool
FormatFromTextureParameters TextureImporterFormat
GetAllowsAlphaSplitting bool
GetImportWarnings string
GetPlatformTextureSettings bool
GetWidthAndHeight void
INTERNAL_get_spriteBorder void
INTERNAL_get_spritePivot void
INTERNAL_set_spriteBorder void
INTERNAL_set_spritePivot void
Internal_GetPlatformTextureSettings void
IsETC1SupportedByBuildTarget bool
IsSourceTextureHDR bool
IsTextureFormatETC1Compression bool
ReadTextureImportInstructions void
ReadTextureSettings void
SetAllowsAlphaSplitting void
SetPlatformTextureSettings void
SetPlatformTextureSettings void
SetPlatformTextureSettings void
SetPlatformTextureSettings void
SetTextureSettings void

공개 메소드들

메소드 설명
GetAutomaticFormat ( string platform ) : TextureImporterFormat

TODO.

GetDefaultPlatformTextureSettings ( ) : TextureImporterPlatformSettings

Get the default platform specific texture settings.

GetPlatformTextureSettings ( string platform ) : TextureImporterPlatformSettings

Get platform specific texture settings.

GetPlatformTextureSettings ( string platform, int &maxTextureSize, TextureImporterFormat &textureFormat ) : bool
GetPlatformTextureSettings ( string platform, int &maxTextureSize, TextureImporterFormat &textureFormat, int &compressionQuality ) : bool

비공개 메소드들

메소드 설명
ClearPlatformTextureSettings ( string platform ) : void
DoesSourceTextureHaveAlpha ( ) : bool
DoesSourceTextureHaveColor ( ) : bool
FormatFromTextureParameters ( TextureImporterSettings settings, TextureImporterPlatformSettings platformSettings, bool doesTextureContainAlpha, bool sourceWasHDR, BuildTarget destinationPlatform ) : TextureImporterFormat
GetAllowsAlphaSplitting ( ) : bool
GetImportWarnings ( ) : string
GetPlatformTextureSettings ( string platform, int &maxTextureSize, TextureImporterFormat &textureFormat, int &compressionQuality, bool &etc1AlphaSplitEnabled ) : bool
GetWidthAndHeight ( int &width, int &height ) : void
INTERNAL_get_spriteBorder ( Vector4 &value ) : void
INTERNAL_get_spritePivot ( Vector2 &value ) : void
INTERNAL_set_spriteBorder ( Vector4 &value ) : void
INTERNAL_set_spritePivot ( Vector2 &value ) : void
Internal_GetPlatformTextureSettings ( string platform, TextureImporterPlatformSettings dest ) : void
IsETC1SupportedByBuildTarget ( BuildTarget target ) : bool
IsSourceTextureHDR ( ) : bool
IsTextureFormatETC1Compression ( TextureFormat fmt ) : bool
ReadTextureImportInstructions ( BuildTarget target, TextureFormat &desiredFormat, ColorSpace &colorSpace, int &compressionQuality ) : void
ReadTextureSettings ( TextureImporterSettings dest ) : void
SetAllowsAlphaSplitting ( bool flag ) : void
SetPlatformTextureSettings ( TextureImporterPlatformSettings platformSettings ) : void
SetPlatformTextureSettings ( string platform, int maxTextureSize, TextureImporterFormat textureFormat ) : void
SetPlatformTextureSettings ( string platform, int maxTextureSize, TextureImporterFormat textureFormat, [ allowsAlphaSplit ) : void
SetPlatformTextureSettings ( string platform, int maxTextureSize, TextureImporterFormat textureFormat, int compressionQuality, bool allowsAlphaSplit ) : void
SetTextureSettings ( TextureImporterSettings src ) : void

메소드 상세

GetAutomaticFormat() 공개 메소드

TODO.

public GetAutomaticFormat ( string platform ) : TextureImporterFormat
platform string
리턴 TextureImporterFormat

GetDefaultPlatformTextureSettings() 공개 메소드

Get the default platform specific texture settings.

public GetDefaultPlatformTextureSettings ( ) : TextureImporterPlatformSettings
리턴 TextureImporterPlatformSettings

GetPlatformTextureSettings() 공개 메소드

Get platform specific texture settings.

public GetPlatformTextureSettings ( string platform ) : TextureImporterPlatformSettings
platform string The platform whose settings are required (see below).
리턴 TextureImporterPlatformSettings

GetPlatformTextureSettings() 공개 메소드

public GetPlatformTextureSettings ( string platform, int &maxTextureSize, TextureImporterFormat &textureFormat ) : bool
platform string
maxTextureSize int
textureFormat TextureImporterFormat
리턴 bool

GetPlatformTextureSettings() 공개 메소드

public GetPlatformTextureSettings ( string platform, int &maxTextureSize, TextureImporterFormat &textureFormat, int &compressionQuality ) : bool
platform string
maxTextureSize int
textureFormat TextureImporterFormat
compressionQuality int
리턴 bool