大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0082 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...3-01 0 0 分享 微博 QZONE 微信 huangweixuan 赞同来自: $.Event = function(type, props) { if (!isString(type)) props = type, type = props.type var event = document.createEvent(specialEvents[type] || 'Events'), bubbles = true if (props) for (var name in props) (name == 'bub...
来源: Laya_社区 发布时间: 20170301
... * @param e Event 对象。 */ protected function onMouse(e:Event):void { if (toggle === false && _selected) return; if (e.type === Event.CLICK) { toggle && (selected = !_selected)...
来源: Laya_社区 发布时间: 20170926
...绕一个模型做Tween动画? var y = 1; Laya.timer.frameLoop(30, this, function () { y = y + 1; camera.transform.lookAt(model.transform.position, new Laya.Vector3(0, 1, 0), false); camera.transform.rotate(new Laya.Vector3(0, y, 3), false, false); }); 我想让摄像机围绕一个模型旋转做...
来源: Laya_社区 发布时间: 20170907
...leMode.NO_SCALE; stage.addEventListener(Event.RESIZE,stageResize); private function stageResize(event:Event):void { trace(stage.stageWidth) trace(stage.stageHeight) } 转换成h5后获取浏览器的宽高://[IF-JS]var fullScreenWidth = Laya.window.innerWidth; //[IF-JS]var fullScreenHeight = Laya....
来源: Laya_社区 发布时间: 20151204
...存管理里: /*** 清空缓存空间全部文件内容 */ public static function removeAll():void{} removeAll这个函数为什么typesscript没有,在旧版本也没有是为什么? 附件 : --> 2018-06-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20180612
...信需要 var image = Laya.Browser.window.wx.createImage(); image.onload = function () { console.log(image.width, image.height); context.drawImage(image, 0, 0); }; 绘制到sharecanvas 一样,我直接创建scene和view 都没有效果 2018-11-22 0 0 分享 微博 QZONE 微信 186*****371 赞同...
来源: Laya_社区 发布时间: 20181122
...tic] VertexElementFormatMethod DetailgetElementInfos()method public static function getElementInfos(element:String):Array 获取顶点元素格式信息。 Parameters element:StringReturnsArrayConstant DetailByte4Constantpublic static const Byte4:String = byte4ColorConstant public static const Colo...
来源: Laya2.0_api 发布时间: 20190513
...peError: Failed to execute 'texSubImage2D' on 'WebGL2RenderingContext': No function was found that matched the signature provided. ,, 请问有什么解决办法吗。 求大佬解答一下 laya版本 2.3.0beta , 头条版本1.6.9 附件 : --> 2019-11-25 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20191125
... that your app or its metadata enables the purchase of content,services,or functionality in the app by menans other than the in-app purchase API,which is not appropriate for the App Store . 我们注意到您的应用或其元数据可以通过除应用内购买API之外的其他手段购买应用...
来源: Laya_社区 发布时间: 20180417
...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115