Skip to content
UploadTextureResultType

数据处理 / UploadTextureResultType

UploadTextureResultType Enumeration

移动编辑器上传贴图返回状态

Table of contents

Enumeration Members

ExistingAsset = 2
Failure = 1
IllegalName = 13
SizeNotPowerOfTwo = 11
Success = 0
TextureIllegalFileName = 14
TextureNotFound = 10
TextureOversized = 12
ThumbnailNotFound = 20
ThumbnailOversized = 21
UnsupportedFormat = 30

Enumeration Members

ExistingAsset

ExistingAsset = 2

服务器已经存在这个资源


Failure

Failure = 1

上传因未知原因失败


IllegalName

IllegalName = 13

非法名称


SizeNotPowerOfTwo

SizeNotPowerOfTwo = 11

大小不是2的N次幂


Success

Success = 0

上传成功


TextureIllegalFileName

TextureIllegalFileName = 14

贴图非法文件名


TextureNotFound

TextureNotFound = 10

未找到


TextureOversized

TextureOversized = 12

大小超限


ThumbnailNotFound

ThumbnailNotFound = 20

缩略图未找到


ThumbnailOversized

ThumbnailOversized = 21

缩略图大小超限


UnsupportedFormat

UnsupportedFormat = 30

文件格式不支持