对象字面量: macro 预定义常量。 CLEANUP_IMAGE_CACHE DEG ENABLE_MULTI_TOUCH ENABLE_TILEDMAP_CULLING ENABLE_TRANSPARENT_CANVAS ENABLE_WEBGL_ANTIALIAS FLT_EPSILON KEY MAX_LABEL_CANVAS_POOL_SIZE ORIENTATION_AUTO ORIENTATION_LANDSCAPE ORIENTATION_PORTRAIT ...
Defined in cocos/core/platform/macro.ts:1054 public FLT_EPSILON : number 用于比较时可忽略的浮点误差值 Defined in cocos/core/platform/macro.ts:894 public KEY : { * : number + : number , : number - : number . : number / : number 0 : number 1 : number 2 : number...
macro 类型索引Details macro类型 模块:_decorator父模块:cc Predefined constants 索引 属性(properties) RADNumberPI / 180 DEGNumberOne degree REPEAT_FOREVERNumber FLT_EPSILONNumber MIN_ZINDEXNumberMinimum z index value for node MAX_ZINDEXNumberMaximum z index value for node ...
FLT_EPSILON; if (r === 0.0) r = cc.FLT_EPSILON; r = cc.Macro.FLT_EPSILON; zenith = Math.acos(z / r); if (x < 0) Expand Down 2 changes: 1 addition & 1 deletion 2 cocos2d/actions/CCActionCatmullRom.js Show comments View file Edit file Delete file This file contains ...
publicFLT_EPSILON:number 用于比较时可忽略的浮点误差值 Defined incocos/core/platform/macro.ts:897 publicKEY: { * :number + :number , :number - :number . :number / :number 0 :number 1 :number 2 :number 3 :number 4 :number 5 :number ...
macro类型 模块:cc父模块:cc Predefined constants 索引 属性(properties) DOWNLOAD_MAX_CONCURRENTNumbercc.macro.DOWNLOAD_MAX_CONCURRENTis deprecated now, please usemaxConcurrencyinstead RADNumberPI / 180 DEGNumberOne degree REPEAT_FOREVERNumber FLT_EPSILONNumber ...
FLT_EPSILON metadescription Type Number Defined in cocos2d/core/platform/CCMacro.js:1218 ONE metadescription Type Number Defined in cocos2d/core/platform/CCMacro.js:1225 ZERO metadescription Type Number Defined in cocos2d/core/platform/CCMacro.js:1231 SRC_ALPHA metadescription Type Number Defined in...
publicFLT_EPSILON:number 用于比较时可忽略的浮点误差值 Defined incocos/core/platform/macro.ts:896 publicKEY: { * :number + :number , :number - :number . :number / :number 0 :number 1 :number 2 :number 3 :number 4 :number 5 :number ...
Defined in cocos/core/platform/macro.ts:1054 public FLT_EPSILON : number 用于比较时可忽略的浮点误差值 Defined in cocos/core/platform/macro.ts:894 public KEY : { * : number + : number , : number - : number . : number / : number 0 : number 1 : number 2 : number...
publicFLT_EPSILON:number 用于比较时可忽略的浮点误差值 Defined incocos/core/platform/macro.ts:894 publicKEY: { * :number + :number , :number - :number . :number / :number 0 :number 1 :number 2 :number 3 :number 4 :number 5 :number ...