大约有 183 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0076 秒)
Laya_社区(45) Laya3.0_api(44) Laya2.0_api(33) laya_api(32) Laya2.0_文档(21) Laya3.0_文档(6) Laya2.0_示例(1) Laya_示例(1)
...设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : St...
来源: Laya2.0_api 发布时间: 20190513
...Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree_folder.png", "resour...
来源: Laya3.0_api 发布时间: 20231115
...lor[]): void Defined in laya/d3/resource/models/Mesh.ts:528 拷贝并填充颜色数据至数组。 remark 该方法为拷贝操作,比较耗费性能。 Parameters colors: Color[] 颜色数组。 Returns void getIndices getIndices(): Uint8Array | Uint16Array | Uint32Array Defined in laya/d3/resou...
来源: Laya3.0_api 发布时间: 20231115
... vec3 rimColor = u_RimColor.rgb * rim; // 与最终颜色混合 surfaceColor.rgb += rimColor; #endif #ifdef FOG surfaceColor.rgb = sceneLitFog(surfaceColor.rgb); #endif // FOG #ifdef INNEROU...
来源: Laya_社区 发布时间: 20250428
...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集...
来源: Laya3.0_api 发布时间: 20231115
...lor(value: Color): void Defined in laya/d3/core/scene/Scene3D.ts:598 固定颜色环境光。 Returns Color Defined in laya/d3/core/scene/Scene3D.ts:602 固定颜色环境光。 Parameters value: Color Returns void ambientIntensity get ambientIntensity(): number set ambientIntensity(value: number): ...
来源: Laya3.0_api 发布时间: 20231115
...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "resource/ui/hscroll$down.png", "resource/ui/hscroll$up.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onL...
来源: Laya3.0_api 发布时间: 20231115
...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png"], Handler.create(this, onLoadComplete)); } private function onLoadComplete():voi...
来源: Laya3.0_api 发布时间: 20231115
...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/progress.png", "resource/ui/progress$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { progressBar = new ProgressBar("resource...
来源: Laya3.0_api 发布时间: 20231115
...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { hSlider = new HSlider();//创建一个 HS...
来源: Laya3.0_api 发布时间: 20231115