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

大约有 2,610 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0072 秒)

1061. 3D 鼠标检测 错乱 [ 64%]

...修改laya.d3.js _update方法为 _update() { var i=0,n=0,j=0,m=0; n=this._eventList.length; var cameras=this._scene._cameraPool; if (n > 0){ for (i=0;i < n;i++){ var e=this._eventList; switch (e.type){ case "mousedown": this._mouseTouchDown(); break ; case "mouseup": this._mouseTouchUp(); bre...

来源: Laya_社区 发布时间: 20200119

1062. LayaRender问题 Matter在LayaRender下出现不正常问题 [ 64%]

....Constraint, Composite = Matter.Composite, Composites = Matter.Composites, Events = Matter.Events, Query = Matter.Query, Vector = Matter.Vector; var LayaRender = window.LayaRender; var Sprite = Laya.Sprite; var Stage = Laya.Stage; //var Render = Laya.Render; var Browser = Laya.Browser; var WebGL = L...

来源: Laya_社区 发布时间: 20170728

1063. laya.d3.core.BaseCamera [ 64%]

... Classes | Index | Frames No Frames BaseCameraProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class BaseCameraInheritanceBaseCamera Sprite3D Node EventDispatcher ObjectSubclasses Camera BaseCamera 类用于创建摄像机的父类。 Public Properties Hide Inherited ...

来源: Laya2.0_api 发布时间: 20190513

1064. 粒子编辑器报错 [ 64%]

...10_beta/resources/app/out/vs/layaEditor/h5/layabuilder.max.js:38985:25) at EventHandler.__proto.run (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEditor/h5/laya.js:649:27) at TabEx.__proto.event (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEditor/h5/laya.js:442:53) at Ta...

来源: Laya_社区 发布时间: 20170908

1065. 基础文本 · LayaAir3.0文档 · LAYABOX [ 64%]

...xt.borderColor = "#fa1515"; this.txt.overflow = "scroll"; this.txt.on(Laya.Event.MOUSE_DOWN, this, this.startScrollText); } /* 开始滚动文本 */ startScrollText() { prevX = this.txt.mouseX; prevY = this.txt.mouseY; Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.on(Laya.E...

来源: Laya3.0_文档 发布时间: 20230830

1066. Laya3D 官方请看:有关Laya.MeshSprite3D.instantiate的Bug [ 64%]

...in/layaScene.lh") as Laya.Sprite3D;  scene.addChild(temp);  temp.on(Laya.Event.HIERARCHY_LOADED,this,()=>  {  this.model = Laya.MeshSprite3D.instantiate(temp,scene) as Laya.MeshSprite3D;  if(index == 0)  {  this.model.transform.position = new Laya.Vector3(0.8,0,0);  }  });    //=======...

来源: Laya_社区 发布时间: 20180827

1067. runTime使用(TypeScript-IDE篇(TS)-组件化开发相关) [ 63%]

...; //添加鼠标按下事件侦听。按时时缩小按钮。 this.on(Laya.Event.MOUSE_DOWN,this,this.scaleSmall); //添加鼠标抬起事件侦听。抬起时还原按钮。 this.on(Laya.Event.MOUSE_UP,this, this.scaleBig); //添加鼠标离开事件侦听。离开时还原按钮。 this.on(Laya.Ev...

来源: Laya2.0_文档 发布时间: 20210715

1068. laya.media.SoundNode_API3.0 [ 63%]

... loop mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playEvent rotation scaleX scaleY scene scrollRect skewX skewY source stage staticCache stopEvent target texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChild...

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

1069. 简单粒子效果,发布成单机版apk在移动端安装运行,结果显示不出来 [ 63%]

...proto.onAssetsLoaded (http://www.xxx.com/LayaUISample.max.js:440)     at EventHandler.__proto.run (http://www.xxx.com/LayaUISample.max.js:702)     at ResInfo.__proto.event (http://www.xxx.com/LayaUISample.max.js:495)     at LoaderManager.__proto._endLoad (http://www.xxx.com/LayaUISample.max.js...

来源: Laya_社区 发布时间: 20170522

1070. laya.d3.core.material.PBRMaterial_API3.0 [ 63%]

...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...

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