大约有 218 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0063 秒)
Laya_社区(141) Laya3.0_api(21) laya_api(14) Laya2.0_api(14) Laya2.0_文档(11) Laya3.0_文档(6) Laya_示例(6) Laya2.0_示例(5)
...reBody:Object; private var world:Object; private var CANNON:Object; public function LayaAir3D() { //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode=Stage.SCALE_FULL; Laya.stage.screenMode=Stage.SCREEN_VERTICAL; //开启统计信息 Stat.show(); //添加3D场景 var scene...
来源: Laya_社区 发布时间: 20170331
...te/instant/./scripting/js-bindings/jswrapper/v8/Object.cpp, 627): Invoking function (0xd5c31040) failed! 添加物理引擎后,在多指操作的情况下会出现这种报错 附件 : --> 5f38bb501210c90c838c0100964d5091.rar 2019-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20190806
... 微信 vison123 赞同来自: /**@private */ __proto.loop=function(){ var mouseY=Laya.stage.mouseY; var mouseX=Laya.stage.mouseX; this._lastOffset=this.isVertical ? (mouseY-this._lastPoint.y):(mouseX-this._lastPoint.x); ...
来源: Laya_社区 发布时间: 20181028
...a.d3.js:18192 Uncaught TypeError: Cannot read property '0' of undefined at Function.Utils3D._mulMatrixArray (laya.d3.js:18192) at SkinnedMeshRender.__proto._renderUpdate (laya.d3.js:37732) at Function.FrustumCulling.renderObjectCulling (laya.d3.js:6487) at Scene.__proto._preRenderScene (laya.d3.js:2...
来源: Laya_社区 发布时间: 20180724
...te(); sp.loadImage("res/apes/monkey2.png",0,0,0,0,Laya.Handler.create(this,function() { console.log(sp.width,sp.height); })); Laya.stage.addChild(sp); loadImage在加载完成的回调函数触发之后才可以正确获取宽高。 直接调用size设置: Laya.loader.load("res/apes/monkey2.png",L...
来源: Laya3.0_文档 发布时间: 20251010
...是在完成当前帧画面更新之后。 AnimationBase callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clear():AnimationBase[override] 停止动画播放,并清理对象属性...
来源: Laya2.0_api 发布时间: 20190513
...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...
来源: Laya3.0_api 发布时间: 20231115
...象池,方便对象复用。 FrameAnimation clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:RenderContext, x:Number, y:Number):void...
来源: laya_api 发布时间: 20170929
...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...
来源: Laya3.0_api 发布时间: 20231115
...Loader; import laya.utils.Handler; public class Animation_Example { public function Animation_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation...
来源: Laya3.0_api 发布时间: 20231115