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

大约有 1,451 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)

1211. laya.ui.ScaleBox_API3.0 [ 56%]

...ox 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Hierarchy Box ScaleBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx ...

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

1212. laya.ui.UIComponent_API3.0 [ 56%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

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

1213. 父物体旋转会导致子物体的世界坐标系不正确?(附demo) [ 56%]

...ame("MoveBlockPivot").getChildByName("TargetGuard") as Laya.Sprite3D; Laya.stage.on(Laya.Event.KEY_PRESS, this, this.KeyPress); this.pivot = s.getChildByName("target_root").getChildByName("PendulumCircleTarget").getChildByName("MoveBlockPivot") as Laya.Sprite3D; let newRot = new Laya.Quaternion(0, 0...

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

1214. 分享:简单聊天室 [ 56%]

...his,onSendClick1); // enter键发送默认字体或输入框内字体 Laya.stage.on(Event.KEY_DOWN,this,onKeyDown); } private function onKeyDown(e:Event):void { // 当按下enter健自动发送文字 if(e.keyCode==13) { change(str); } } // 发送文字样式二,如果input有值的话,发送inpu...

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

1215. ios safari横屏下,鼠标点击不正确,且旋转屏幕时显示错位 [ 56%]

...直屏后   针对上面3问题,需要手工(定时器)触发Laya.stage._resetCanvas();  或者在空白body处手指滑动下 图片3,如果手工触发Laya.stage._resetCanvas();横屏时是正常的,但如果在直屏时触发会出现一大片空白,参考下图     以上问题...

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

1216. 更新到1.7.6beta之后,HBox有bug [ 56%]

...mg.width; s.height = img.height; s.addChild(img); hbox.addChild(s); } Laya.stage.addChild(hbox); } 2017-06-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 lusky 相关问题 Layabox 2.0 bate5 运行编译之...

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

1217. laya.physics.PhysicsDebugDraw_API3.0 [ 56%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...

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

1218. 打包安卓后运行弹出异常 [ 56%]

... layanative2 打包android平台 报错 btCollisionObject undefined 修改stage的scale后,会发生异常情况 1.7.15 小游戏3d 发布后在手机预览显示异常 Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小...

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

1219. laya.ui.Label_API3.0 [ 56%]

...() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var label:Label = new Label();//创建一个 Label 类的实例对象 label 。 label.font = "Arial";//设置 label 的...

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

1220. 关于当前焦点的问题 [ 56%]

... TextInput(); textInput.bgColor = "#ffcccc"; textInput.size(200,200); Laya.stage.addChild(textInput); textInput.name = "aa"; textInput.on(Event.FOCUS,this,onFoucs); private function onFoucs(e:Event):void { trace(e); } 2017-10-26 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠...

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