大约有 25 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)
...出 //值为n:表示只有LogLevel <= n的日志输出 window.conch.config.setLogLevel(2); } Tips 1、conch只能LayaNative环境下调用,在网页版本中是没有conch定义的,所以需要判断一下是否存在。 4.关于iOS对接微信 在iOS平台下对接微信SDK,微信1.77版...
来源: Laya3.0_文档 发布时间: 20251010
...代码时,如果没有定义,可以这样写:(window as any).conch.config.xxxx。 2、还可以使用if(Render.isConchApp)进行判断。 返回值类为int类型 NET_NO = 0; NET_WIFI = 1; NET_2G = 2; NET_3G = 3; NET_4G = 4; NET_YES = 5; /** * 枚举网络状态 * NET_NO:没有网络 * NET_2G:...
来源: Laya3.0_文档 发布时间: 20251010
...出alert //值为2:表示所有LOGE和LOGW全部弹出alert window.conch.config.setDebugLevel(1); } ``` **Tips** *1、conch只能LayaNative环境下调用,在网页版本中是没有conch定义的,所以需要判断一下是否存在。* *2、如果使用as语言开发的时候,可以通过 ...
来源: Laya2.0_文档 发布时间: 20210715
...nherited Externals Only exported Menu Globals "laya/d3/physics/constraints/ConfigurableConstraint" ConfigurableConstraint Class ConfigurableConstraint ConfigurableConstraint类用于可设置的约束组件 Hierarchy ConstraintComponent ConfigurableConstraint Index Constructors constructor Propertie...
来源: Laya3.0_api 发布时间: 20231115
...ers name: string Uniform block name(must pitch Shader) bufferUsage: number config usage bytelength: number byte length Default value isSingle: boolean = false Returns UniformBufferObject Static getBuffer getBuffer(name: string, index: number): UniformBufferObject Inherited from NativeUniformBufferOb...
来源: Laya3.0_api 发布时间: 20231115
...明物体的动态合并几率低。 关闭动态合批选项 在引擎的Config3D.ts文件中enableDynamicBatch值选项,true为开启动态合批,false为关闭动态合批 图4-1 5.Static Batch 静态批处理是一种绘制调用批处理方法,它组合不移动的网格以减少绘制调...
来源: Laya3.0_文档 发布时间: 20251010
...he/localstorage/logo/logo.png I/LayaBox: require(/sdcard/layabox/scripts/config.js) I/LayaBox: found the file in the package:scripts/config.js I/LayaBox: xhr.GET url=http://stand.alone.version/index.html I/LayaBox: found the file in the package:cache/stand.alone.version/ea224b42 I/LayaBox: >...
来源: Laya_社区 发布时间: 20171218
...的纹理格式。 (图2-5) 在发布目录下可以找到一个”fileconfig.json“文件,这个文件中记录了一些对图片属性设置信息,其中包括使用纹理压缩信息,打开.json文件如下: { "files": { "resources": [ "layabox.png" ] }, "config": [ { "sRGB": true, "...
来源: Laya3.0_文档 发布时间: 20251010
...script编译配置 typescript({ cacheRoot:workSpaceDir + "/.rpt2_cache", tsconfig:workSpaceDir + "/tsconfig.json", check: true, //Set to false to avoid doing any diagnostic checks on the code tsconfigOverride:{compilerOptions:{removeComments: true}}, include:/.*.ts/, }),3、compile.js 完整代码...
来源: Laya_社区 发布时间: 20200607
... : int 动画播放的帧间隔时间(单位:毫秒)。默认值依赖于Config.animationInterval=50,通过Config.animationInterval可以修改默认帧间隔时间。 要想为某动画设置独立的帧间隔时间,可以使用set interval,注意:如果动画正在播放,设置后会...
来源: laya_api 发布时间: 20170929