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

大约有 376 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0059 秒)

371. 官方案例里摄像机绕物体旋转脚本的问题 [ 36%]

...机报错 window is not defined 关于适配采用showAll后留白部分的颜色问题 问题状态 最新活动: 2019-07-25 14:54 浏览: 2577 关注: 3 人 大大大嘴 • 2019-02-25 17:15 可以提供一份说明吗,我在api里也没找到对应的改动后的方法,感谢

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

372. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 33%]

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

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

373. 富文本:LayaAir下 HtmlDivElement的使用汇总 [ 32%]

...Monica - 知识达人 赞同来自: 同一个文本中字体大小不同,颜色不同 var htmlD:HTMLDivElement = new HTMLDivElement(); Laya.stage.addChild(htmlD); htmlD.innerHTML = "<font style='fontSize:30' color='#67fc2c'>测试<br/></font><font style='fontSize:20'>html...

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

374. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 26%]

...走的区域 (图2-3) 通过下面代码,可以读取此图,并将颜色值放到数组中 /** * 通过图片数据计算得到AStart网格 */ private createGridFromAStarMap(texture): any { var textureWidth = texture.width; var textureHeight = texture.height; var pixelsInfo = texture.getPixe...

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

375. laya.html.dom.HTMLDivElement_API3.0 [ 21%]

...ight:bold:none; 字体是否是粗体,功能同bold color:#ff0000; 字体颜色 stroke:2px; 字体描边宽度 strokeColor:#ff0000; 字体描边颜色 padding:10px 10px 20px 20px; 边缘的距离 vertical-align:top|bottom|middle; 垂直对齐方式 align:left|right|center; 水平对齐方式 line-...

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

376. laya.display.Sprite_API3.0 [ 13%]

...、渲染模式。 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