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

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

231. 屏幕适配的缩放模式详解(ActionScript-2D基础篇(AS3)-屏幕适配) [ 72%]

...通过laya.utils.Browser.clientWidth和laya.utils.Browser.clientHeight来获取屏幕的宽与高。 **6、物理宽高:** ​ 关于设备屏幕的物理宽高,我们需要先了解像素密度的概念。在PC电脑上,通常一个像素位置上就是一个物理像素。在移动设备高...

来源: Laya2.0_文档 发布时间: 20200307

232. 如何获得特效的宽高 [ 72%]

...特效设置宽高都80 80的 但是getGraphicBounds(); 有的特效获取出来的width和height 都0 2017-06-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 z298959 赞同来自: 能给具体点吗新...

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

233. 寻路系统(JavaScript-3D基础(JS)-LayaAir3D之高级应用) [ 72%]

... Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[this.nextPathIndex % this.pointCount...

来源: Laya2.0_文档 发布时间: 20210714

234. laya.ui.TextInput_API3.0 [ 72%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性true,或者通过getBounds方法获取。设置true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

235. laya.ui.UIGroup [ 72%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值0-1,默认值1,表示不透明。更改alpha值会影响drawcall。Sprite...

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

236. laya.ui.Radio_API3.0 [ 72%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性true,或者通过getBounds方法获取。设置true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Te...

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

237. 陀螺仪与加速计(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 72%]

...`的作用域[-90, 90]。 ![blob.png](img/3.png) (图3) 下面演示获取旋转方位信息: ```typescript class Gyroscope_Sample { private info: Laya.Text; constructor() { Laya.init(550, 400); this.info = new Laya.Text(); this.info.fontSize = 50; this.info.color = "#FFFFFF"; this.info.siz...

来源: Laya2.0_文档 发布时间: 20210715

238. 设置cacheAs = bitmap时, drawCanvas 的一个bug [ 72%]

...问题-解决办法 Laya3D里的material可以设置flat shading么 如何获取一个3D模型的长宽高? 龙骨skeleton鼠标点击区域的设置 九宫格设置无效。 一个时间轴动画里创建的多个动画,怎么分别调用?如图 问题状态 最新活动: 2021-05-27 19:21 浏...

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

239. laya.ui.TextArea_API3.0 [ 71%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性true,或者通过getBounds方法获取。设置true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

240. laya.ui.HSlider_API3.0 [ 71%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性true,或者通过getBounds方法获取。设置true,对性能有一定影响。 changeHandler changeHandler: Handler Inherited from Slider.changeHandler Defined in laya/ui/Slider....

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