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

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

981. laya.ui.LayoutBox_API3.0 [ 45%]

...tring): void Inherited from Box.bgColor Defined in laya/ui/Box.ts:25 背景颜色 Returns string Inherited from Box.bgColor Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.blendMo...

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

982. laya.d3.core.scene.Scene3D_API3.0 [ 45%]

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

983. 插件开发说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

...tor.GUIUtils。 export interface IGUIUtils { /** * 编辑器默认的背景颜色 */ bgColor: gui.Color; /** * 编辑器默认的分割线颜色 */ lineColor: gui.Color; /** * 编辑器默认的文字颜色 */ textColor: gui.Color; createButton(autoSize?: boolean): gui.Button; createIconButton(flat?...

来源: Laya3.0_文档 发布时间: 20251010

984. laya.ui.VBox_API3.0 [ 45%]

...tring): void Inherited from Box.bgColor Defined in laya/ui/Box.ts:25 背景颜色 Returns string Inherited from Box.bgColor Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.blendMo...

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

985. laya.ui.HBox_API3.0 [ 44%]

...tring): void Inherited from Box.bgColor Defined in laya/ui/Box.ts:25 背景颜色 Returns string Inherited from Box.bgColor Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.blendMo...

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

986. laya.display.Sprite_API3.0 [ 44%]

...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { sprite = new Sprite();//创建一个 Sprite 类的实例对象 sprite 。 sprite.loadImage("resource/ui/bg.png");//加载并显示图片。 sprite.x = 200;//设置 sprite ...

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

987. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 44%]

..., lineHeight: 200, fontSize: 40, textAlign: "center", }, // 文字的最终颜色为#ff0000 redText: { color: "#ff0000", }, }; // JS部分,用于控制开放数据域的各种逻辑 function init() { wx.onMessage((data) => { Layout.clear(); Layout.init(template, style); Layout.layout(sharedCont...

来源: Laya3.0_文档 发布时间: 20251010

988. CommandBuffer · LayaAir3.4 · 引擎文档 · LAYABOX [ 44%]

...画好粒子,Box,猴子为纯红色,再将图片模糊,模糊图片颜色减去没模糊的图片,就能得到渲染边框,最后将渲染边框重新加到渲染好的画布上面,便可实现轮廓效果 代码如下 createDrawMeshCommandBuffer(camera:Camera,renders:BaseRender[],mate...

来源: Laya3.0_文档 发布时间: 20251010

989. 官方LayaAir之灯光一节示例背景在微信里表现不一致 [ 43%]

...向 light.direction = new Laya.Vector3(0.3, -1, 0); //设置灯光漫反射颜色 light.diffuseColor = new Laya.Vector3(1, 0, 0); //设置灯光高光色 // light.specularColor = new Laya.Vector3(0, 0.5, 0.5); //添加灯光投影 light.shadow=true; //产生投影的范围(如过小将不会产生...

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

990. Spine渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 43%]

...理的属性面板上,把纹理类型改为默认值类型。 勾选sRGB颜色空间 注意不要勾选预乘Alpha(Spine导出的时候也不要勾选) 点击应用 以上操作如图4-1所示: (图4-1) 注意:如果应用后效果不对,刷新一下IDE即可。 另外,如果有多...

来源: Laya3.0_文档 发布时间: 20260131