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

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

2371. Sprite-旋转缩放 [ 48%]

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

2372. laya.d3.math.Matrix4x4 [ 48%]

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

2373. 缓动-缓动函数演示 [ 47%]

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

2374. Uncaught TypeError: Cannot read property 'regClass' of undefined [ 47%]

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

2375. 计时器-延迟调用 [ 47%]

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

2376. Laya3D,支持的IOS版本最低是多少? [ 47%]

...IOS8.4调试的时候,报错代码是这行,纹理创建的时候报了null 2018-03-05 0 0 分享 微博 QZONE 微信 183*****755 赞同来自: Ios9.0以上 2018-03-05 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 c416288806 相关...

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

2377. Texture如何转换成Texture2D有人搞过吗 [ 47%]

...ialog]的texture属性赋值时遇错误:cannot read property 'width' of null VIP功能导出iOS资源,unity插件报 Error to compress texture 问题状态 最新活动: 2019-05-22 15:41 浏览: 1642 关注: 5 人

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

2378. 关于项目分包的问题?? [ 47%]

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

2379. 用xml描述创建一个clip,interval字段妖孽无效 [ 47%]

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

2380. 评论功能没用的吗? [ 47%]

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