大约有 353 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0061 秒)
Laya_社区(87) laya_api(85) Laya3.0_api(84) Laya2.0_api(71) Laya2.0_文档(19) Laya3.0_文档(6) Laya_示例(1)
...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 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中...
来源: Laya2.0_api 发布时间: 20190513
...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
...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
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...
来源: laya_api 发布时间: 20170929
...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 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D attenuation : Vector3 获取点光的衰减。 PointLight color : Vector3 灯光颜色。 LightSprite...
来源: laya_api 发布时间: 20170929
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...
来源: laya_api 发布时间: 20170929
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D attenuation : Vector3 获取聚光的衰减。 SpotLight color : Vector3 灯光颜色。 LightSprite...
来源: laya_api 发布时间: 20170929
...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