大约有 2,741 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0064 秒)
Laya_社区(1926) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...Laya.timer.frameLoop(1, this, animate); } private function animate(e:Event=null):void { ape.rotation += 2; //心跳缩放 scaleDelta += 0.02; var scaleValue:Number = Math.sin(scaleDelta); ape.scale(scaleValue, scaleValue); } } }
来源: Laya_示例 发布时间: 20251223
...0, m42:Number = 0, m43:Number = 0, m44:Number = 1, elements:Float32Array = null) 创建一个 Matrix4x4 实例。 Matrix4x4 billboard(objectPosition:Vector3, cameraPosition:Vector3, cameraRight:Vector3, cameraUp:Vector3, cameraForward:Vector3, mat:Matrix4x4):void[static] 计算BlillBoard矩阵 Ma...
来源: Laya2.0_api 发布时间: 20190513
...nsList.array = data; } private function renderList(item:ListItemRender,e:*=null):void { item.setLabel(item.dataSource); } private function onEaseFunctionChange(list:List,e:*=null):void { character.pos(100, 50); tween && tween.clear(); tween = Tween.to(character, { x : 350, y:250 }, duration, Ease[li...
来源: Laya2.0_示例 发布时间: 20251223
...调用Java PlatformClass undefined Cannot read property 'displayObject' of null 浏览器运行提示TypeError: xxx is not a function Uncaught unknown animationClip version. Uncaught TypeError: Cannot read property 'props' of undefined 问题状态 最新活动: 2021-09-01 19:47 浏览: 2016 关注:...
来源: Laya_社区 发布时间: 20210901
...a.timer.callLater(this, onCallLater); } } private function onCallLater(e:*=null):void { trace("onCallLater triggered"); var text:Text = new Text(); text.font = "SimHei"; text.fontSize = 30; text.color = "#FFFFFF"; text.text = "打开控制台可见该函数仅触发了一次"; text.size(Laya.stage.w...
来源: Laya2.0_示例 发布时间: 20251223
...IOS8.4调试的时候,报错代码是这行,纹理创建的时候报了null 2018-03-05 0 0 分享 微博 QZONE 微信 183*****755 赞同来自: Ios9.0以上 2018-03-05 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 c416288806 相关...
来源: Laya_社区 发布时间: 20180305
...ialog]的texture属性赋值时遇错误:cannot read property 'width' of null VIP功能导出iOS资源,unity插件报 Error to compress texture 问题状态 最新活动: 2019-05-22 15:41 浏览: 1642 关注: 5 人
来源: Laya_社区 发布时间: 20181221
...entListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); this.stage.scaleMode = StageScaleMode.NO_SCALE; this.stage.align = StageAlign.TOP_LEFT; var loginView:LoginView = new LoginView(); this.addChild(loginView); } } } ...
来源: Laya_社区 发布时间: 20151225
...rstChild; for (var node:XML = xml.firstChild; node != null; node = node.nextSibling) { var id:Number = node.getAttribute("id"); var clip:Clip = new Clip(node.getAttribu...
来源: Laya_社区 发布时间: 20170918
....Sprite3D.load("tlj/tlj.lh"); staticMesh.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { sprite.transform.position = new Laya.Vector3(0,0,-100); }); 在游戏中 调整模型的位置需要在场景加载完后进行操作! 2017-03-16 1 2 分享 微博 QZONE 微信 cuixueyin...
来源: Laya_社区 发布时间: 20170316