大约有 814 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0069 秒)
...3`个物理像素。 LayaAir引擎里可以通过`Laya.Browser.clientWidth`获取逻辑分辨率的宽,通过`Laya.Browser.clientHeight`获取逻辑分辨率的高。 在手机等移动设备的竖屏状态下,窄面为宽,长面为高。如果发生了屏幕翻转的横屏状态,则长的...
来源: Laya2.0_文档 发布时间: 20210715
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示...
来源: Laya2.0_api 发布时间: 20190513
...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
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231102
...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
...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
...c Properties PropertyDefined By defaulteTexture : BaseTexture[read-only] 获取纹理资源。 BaseTexture format : int[read-only] 纹理格式 BaseTexture height : int[read-only] 获取高度。 BaseTexture magFifter : int 放大过滤器 BaseTexture minFifter : int 缩小过滤器 BaseTextur...
来源: laya_api 发布时间: 20170929
...一份可访问的纹理数据,以便在运行时执行以下操作: 获取像素颜色值(如拾取、取样分析); 动态修改像素(如绘制笔刷、纹理混合)。 开启后,纹理的内存占用将约增加一倍,并降低加载性能。 建议仅在需要脚本动态读...
来源: Laya3.0_文档 发布时间: 20251128
HTMLDivElement中图文混排怎么获取实际内容大小 使用HTMLDivElement插入图片,获取不到控件大小,导致与其他控件的间隔错误,影响界面布局 例如:res/image/1.png 像素大小是 32x32 var imageHtml: Laya.HTMLDivElement = new Laya.HTMLDivElement(); image...
来源: Laya_社区 发布时间: 20171118