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

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

81. 请问如何实现宽度等于手机屏幕宽度,高度等比缩放 [ 57%]

...**914 • 2018-01-09 17:36 在UI编辑界面里把最外层的VIEW的TOPBOTTOM设为0 185*****914 • 2018-01-09 17:00 用PANEL包裹滑动内容吧 182*****369 • 2018-01-09 17:24 @185*****914:panel不能从根本解决问题呀,不想留黑边的话只能使用fixedwidth适配,但是canvas高...

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

82. laya有没有一个容器,他的长宽自动等于父容器长宽啊 [ 57%]

...找到方法了,使用可以使用Laya.Box 然后设置,left right top bottom 全部都地等于零,这样这个Box的就自动等于父类长宽的,感觉这个也是最快捷方便的一个方法了(本来使用Laya。stage.width,发现,发现只要尺寸变换就要从新获取比较...

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

83. 【分享】遮罩 的使用及应用 [ 57%]

...nsou1 • 2018-01-31 14:06 请问一下遮罩可以使用left, top, right, bottom属性吗 https://ask.layabox.com/question/11412

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

84. laya.display.Stage [ 57%]

... 取值范围: "top" :居顶部对齐; "middle" :居中对齐; "bottom" :居底部对齐; Stage alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值...

来源: Laya2.0_api 发布时间: 20190513

85. laya.ui.ScrollBar_API3.0 [ 56%]

... Properties _extra _ownGraphics _scene _skinBaseUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimit triggerDownDragLimit triggerUpDragLimit ...

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

86. 单选框组件 · LayaAir3.0文档 · LAYABOX [ 56%]

...左对齐 labelVAlign 文本标签的垂直对齐模型:top、middle、bottom,默认为居顶对齐 labelPadding 文本标签的边距。格式:上边距、右边距、下边距、左边距 labelStroke 文本标签的描边宽度,以像素为单位。默认值为0,表示不描边 labelStro...

来源: Laya3.0_文档 发布时间: 20231010

87. laya.d3.math.Matrix4x4 [ 56%]

...察矩阵 Matrix4x4  createOrthoOffCenterRH(left:Number, right:Number, bottom:Number, top:Number, near:Number, far:Number, out:Matrix4x4):void[static] 计算正交投影矩阵。 Matrix4x4  createPerspective(fov:Number, aspect:Number, near:Number, far:Number, out:Matrix4x4):void[static] 计算...

来源: laya_api 发布时间: 20170929

88. laya.ui.FontClip_API3.0 [ 56%]

...et active activeInHierarchy align alpha anchorX anchorY autoPlay blendMode bottom cacheAs centerX centerY clipHeight clipWidth clipX clipY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalS...

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

89. MiniAdpter.nativefiles 设置后并没有起作用 [ 55%]

...没有居中 scalefixed适配模式设置后,image的ceterX,centerY,top,bottom,left,right这些都没用 修改项目设置-》图集设置》index.html目录位置后加载资源出错 自定义mesh可以正常显示,移动位置后,mesh无法显示了 list组件改变位置后在改变数据...

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

90. laya.ui.Button_API3.0 [ 55%]

...htSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gr...

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