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

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

251. 一篇了解LayaAir的屏幕适配,及有效抗锯齿(TypeScript-LayaAir基础篇(TS)-屏幕适配) [ 45%]

...3`个物理像素。 LayaAir引擎里可以通过`Laya.Browser.clientWidth`获取逻辑分辨率的宽,通过`Laya.Browser.clientHeight`获取逻辑分辨率的高。 在手机等移动设备的竖屏状态下,窄面为宽,长面为高。如果发生了屏幕翻转的横屏状态,则长的...

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

252. laya.ui.TextArea [ 45%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中...

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

253. Shader概述(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 45%]

...tatic addInclude(fileName: string, txt: string): void; ``` - 7.根据名字获取Shader3D对象,这是一个静态函数。 ```typescript static find(name: string): Shader3D ``` - 8.在特定索引获取SubShader。 ```typescript getSubShaderAt(index: number): SubShader ``` - 9.是否开启调试...

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

254. Shader概述(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 45%]

...tatic addInclude(fileName: String, txt: String): void; ``` - 7.根据名字获取Shader3D对象,这是一个静态函数。 ```typescript static find(name: String): Shader3D ``` - 8.在特定索引获取SubShader。 ```typescript getSubShaderAt(index: Number): SubShader ``` - 9.是否开启调试...

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

255. laya.ui.Dialog [ 45%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...

来源: laya_api 发布时间: 20170929

256. laya.ui.UIGroup [ 45%]

...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

257. laya.d3.core.light.PointLight [ 44%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D  attenuation : Vector3 获取点光的衰减。 PointLight color : Vector3 灯光颜色。 LightSprite...

来源: laya_api 发布时间: 20170929

258. laya.ui.List [ 44%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...

来源: laya_api 发布时间: 20170929

259. laya.d3.core.light.SpotLight [ 44%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D  attenuation : Vector3 获取聚光的衰减。 SpotLight color : Vector3 灯光颜色。 LightSprite...

来源: laya_api 发布时间: 20170929

260. laya.d3.core.light.DirectionLight [ 44%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。 S...

来源: laya_api 发布时间: 20170929