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

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

1061. 分享:Graphics下cmds命令流的使用! [ 58%]

...Demo { public function GraCmdsDemo() { //初始化舞台 Laya.init(Browser.width,Browser.height,WebGL); //预加载资源 Laya.loader.load(['apes/monkey0.png','apes/monkey1.png','apes/monkey2.png','apes/monkey3.png'],Handler.create(this,onLoaded)); } private function onLoaded():void { //获取纹理...

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

1062. IDE 卡住,什么情况,有没有遇到过 [ 58%]

...den 赞同来自: 看了之前人的回复,是第二个List的render 的 width 和height 设置问题,设置了数值就不会出现这种问题 2018-03-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 gveden 相关问题 Layaair ID...

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

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

...o, Laya.Browser.pixelRatio);         changeActionButton.pos(Laya.stage.width / 2 - changeActionButton.width * Laya.Browser.pixelRatio / 2, Laya.stage.height - 100 * Laya.Browser.pixelRatio);         changeActionButton.on(Laya.Event.CLICK, this, function () {             if (++curStateI...

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

1064. laya.ui.RadioGroup_API3.0 [ 58%]

...ouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCa...

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

1065. createElement('button') 问题 [ 58%]

....type='button'; button.value ='逐加'; button.src = "xxxxx"; button.style.width = '40px'; button.style.height = '40px'; button.style.background = "../../../bin/res/atlas/assets.png"; // mapDivx.appendChild(input); mapDivx.appendChild(button); 以上代码 全部信息 都可以显示  button.styl...

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

1066. 2.13.1 [ 58%]

... 19:25 浏览: 11287 关注: 2 人 150*****510 • 2022-12-13 09:56 static width:number=640; static height:number=1136; static scaleMode:string="fixedauto"; static screenMode:string="none"; static alignV:string="top"; static alignH:string="left"; 安全区的...

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

1067. 如何单元测试 [ 58%]

...法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 LayaAir 1.0.3测试版本bug问题反馈 Laya2.3.0beta发布的3D物理项目在百度开发工具上,用华为荣耀8A真机测试,3D场景出现闪屏 一个简单...

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

1068. laya.ui.Clip_API3.0 [ 58%]

...X 、竖向分割数量 clipY , 或横向分割每个切片的宽度 clipWidth 、竖向分割每个切片的高度 clipHeight , 从左向右,从上到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其...

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

1069. 在微信小游戏中,主域中显示开发域的list为什么显示不全? [ 58%]

... rankList.array = data;     rankList.height = 800;     //rankList.width = 1100;     console.log('ranklist info xxxxxxxxxxxxxxxxxxxxx')     console.log(rankList.width);     console.log(rankList.height);             /*var rank:ListPage = new ListPage();     Laya.sta...

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

1070. scene3D可以旋转么? [ 58%]

...画如何设置绕自身中心点旋转,我这么设置_ani.pivot(_ani.width/2,_ani.height/2);不行,而且也没有锚点可以设置,如何实现 把摄像机添加到一个物体上,然后绕着这个物体旋转 摄像头自动旋转不行,哪里错了吗 元素旋转后,所绑定的...

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