大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0081 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115
...子位置。 direction: Vector3 粒子方向。 Default value rand: Rand = null Default value randomSeeds: Uint32Array = null Returns void Globals "laya/d3/core/particleShuriKen/module/shape/BaseShape" ParticleSystemShapeType BaseShape constructor enable randomDirection shapeType clone cloneTo gener...
来源: Laya3.0_api 发布时间: 20231115
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小...
来源: Laya3.0_api 发布时间: 20231115
...form.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 0)); //...
来源: Laya2.0_文档 发布时间: 20210715
...nvasGraphics = graphicsCanvas.graphics; } private function onMouseDown(e:*=null):void { isDown = true; color = colors[colorCount++ % colors.length]; path.length = 0; } private function onMouseMove(e:*=null):void { if (!isDown) return; path.push(Laya.stage.mouseX); path.push(Laya.stage.mouseY); } pri...
来源: Laya2.0_示例 发布时间: 20251219
...的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.ti...
来源: Laya3.0_api 发布时间: 20231115
...过程中,不会出现该错误 Cannot read property 'currentTarget' of null TypeError: Cannot read property 'currentTarget' of null SimpleSingletonList:[object Object] has in SingletonList. https://developers.weixin.qq.com/community/minigame/doc/000c2ee5ea490818c39ac998d54400 微信论...
来源: Laya_社区 发布时间: 20200707
... Laya.loader.load([{ url: zipUrl, type: Laya.Loader.BUFFER }], null, Laya.Handler.create(this, this.onLoadCfg, null, false)).then( (value) => { JSZip.loadAsync(value).then( (zipData: JSZip) => { ...
来源: Laya_社区 发布时间: 20230208
... higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 laya.physics3D.js:308 Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -...
来源: Laya_社区 发布时间: 20191108