大约有 391 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0116 秒)
...eError: Cannot read property 'btCollisionObject' of undefined Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 项目分包后, 运行出错 官网示例摇一摇报...
来源: Laya_社区 发布时间: 20180322
... `!(pattern|pattern|pattern)` | 匹配任何与括号中给定的任一模式都不匹配的 | | `?(pattern|pattern|pattern)` | 匹配括号中给定的任一模式0次或1次,类似于js正则中的`(pattern|pattern|pattern)?` | | `+(pattern|pattern|pattern)` | 匹配括号中给...
来源: Laya2.0_文档 发布时间: 20210715
...装方法: Chrome浏览器进入chrome://extensions/页面,打开开发者模式,将解压后crx文件拖入该页面即可,安装成功后重启浏览器),如果之前有安装开发版的LayaTree,可以直接删除. 需要注意的一点是: 如果需要调试的页面是文件网址,需要...
来源: Laya_社区 发布时间: 20190225
...se.blendMode Defined in laya/display/Sprite.ts:960 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from AnimationBase.blendMode Defined in laya/display/Sprite.ts:964 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns vo...
来源: Laya3.0_api 发布时间: 20231102
... laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:242 开始速度,0模式。 dragSpeedConstantMax dragSpeedConstantMax: number = 0 Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:246 最大开始速度,1模式。 dragSpeedConstantMin dragSpeedConstantMin: number = 0 Define...
来源: Laya3.0_api 发布时间: 20231115
...。 (9)AlphaTestValue alpha测试值 这个需要配合材质的渲染模式为CUTOUT来使用,在CUTOUT模式下,当前顶点的片元颜色值的alpha小于AlphaTestValue时,这个片元的值会被直接丢弃,不进行渲染,我们使用一张蛛网的图作为漫反射贴图,通...
来源: Laya3.0_文档 发布时间: 20251011
...om Resource.DEBUG Defined in laya/resource/Resource.ts:19 是否开启debug模式 Accessors anisoLevel get anisoLevel(): number set anisoLevel(value: number): void Defined in laya/resource/BaseTexture.ts:81 各向异性值 Returns number Defined in laya/resource/BaseTexture.ts:84 各向异性值 Par...
来源: Laya3.0_api 发布时间: 20231115
...t.blendMode Defined in laya/display/Sprite.ts:1056 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from Text.blendMode Defined in laya/display/Sprite.ts:1060 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns void buffe...
来源: Laya3.0_api 发布时间: 20231115
...n laya/d3/component/Volume/reflectionProbe/ReflectionProbe.ts:195 环境光模式。 如果值为AmbientMode.SolidColor一般使用ambientColor作为环境光源,如果值为如果值为AmbientMode.SphericalHarmonics一般使用ambientSphericalHarmonics作为环境光源。 Returns AmbientMode Def...
来源: Laya3.0_api 发布时间: 20231115
...支持默认值。 6.暂不支持实验版 TS 项目。 7.不支持横屏模式。 ### 五.关于全局变量 淘宝创意互动项目没有全局作用域 `window`,引用时需要开发者修改代码。 例如有2个js,a.js 和 b.js ```javascript //a.js 中的内容: var a = function(){ cons...
来源: Laya2.0_文档 发布时间: 20210714