• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0081 秒)

891. laya.media.SoundNode_API3.0 [ 69%]

...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...

来源: Laya3.0_api 发布时间: 20231115

892. laya.d3.core.particleshuriken.module.shape.BaseShape_API3.0 [ 69%]

...子位置。 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

893. laya.map.GridSprite_API3.0 [ 69%]

...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...

来源: Laya3.0_api 发布时间: 20231115

894. laya.display.Sprite_API3.0 [ 69%]

...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小...

来源: Laya3.0_api 发布时间: 20231115

895. IDE创建3D示例项目(JavaScript-3D基础(JS)-快速开始一个LayaAir3D项目) [ 69%]

...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

896. 其他引擎的Demo-Example_21 [ 69%]

...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

897. laya.d3.core.Camera_API3.0 [ 69%]

...的函数的名称。例如,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

898. Layabox的event方法在云真机与脚本录制中会报错?(与微信官方联系过,觉得是引擎自身问题) [ 69%]

...过程中,不会出现该错误 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

899. laya3.0中jszip使用异常 [ 69%]

...         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

900. Cannot enlarge memory arrays. [ 69%]

... 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