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

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

391. 射线检测-射线检测 [ 42%]

...; mat.renderMode = 5; sphereSprite3d.meshRender.material = mat; Laya.timer.frameLoop(1, this, checkHit); } var ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); var point = new Laya.Vector2(); var _corners = new Array(); _corners[0] = new Laya.Vector3(); _corners[1] = new Lay...

来源: Laya_示例 发布时间: 20240930

392. laya.ui.Clip [ 42%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

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

393. laya.ui.UIGroup [ 42%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

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

394. laya.display.Text [ 42%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170929

395. laya.ui.Dialog_API3.0 [ 42%]

...r destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getNodeByID getRepaint getSelfBounds get_anchorX get_anchorY get_heig...

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

396. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 42%]

...ALL; //背景颜色 Laya.stage.bgColor = "#232628"; //帧循环 Laya.timer.frameLoop(1, this, onFrame); this.createTime = 0; function onFrame() { //如果创建对象时间为100帧间隔后 if (this.createTime >= 100) { //每200帧间隔创建30个雪花 for (var i = 0; i 640 + 20 || img1.scaleX ...

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

397. laya.ui.Label [ 42%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

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

398. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 42%]

...or3(); var color = new Laya.Vector4(0, 1, 0, 1); var index = 0; Laya.timer.frameLoop(1, this, function () { index +=1; layaMonkey.meshRender.material.transformUV.offset = new Laya.Vector2(index 0/100.0, index 0/100.0);     layaMonkey.active = !debugModel;     layaMonkey.transform.rotate(rotat...

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

399. laya.d3.core.scene.Scene3D_API3.0 [ 42%]

...r destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRenderType getRepaint getSelfBounds get_anchorX get_anchorY get_height get_sca...

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

400. laya.ui.ScrollBar [ 42%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

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