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

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

1141. laya.display.Text_API3.0 [ 39%]

...a.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; te...

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

1142. 位图字体的制作与使用(JavaScript-LayaAir基础篇(JS)-文本) [ 39%]

...width = 250; //自动换行 txt.wordWrap = true; txt.align = "center"; txt.color = "ff00ff"; //使用我们注册的字体 txt.font = mFontName; txt.fontSize = 50; txt.leading = 5; Laya.stage.addChild(txt); } ``` ### **Text 类中相关接口:** **registerBitmapFont () 方法** public static funct...

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

1143. 请问下为啥我的LayaNative在运行的时候,一直显示Layaair的动画在0%的进度无法跳过呢 [ 39%]

...='expires' content='0' /> <meta name='laya' logoimg='logo.png' logobkcolor='#ffffff' screenorientation='landscape' cacheid='fffffffff' /> </head> <body style='margin:0;overflow:none;overflow-x:hidden;overflow-y:hidden;background-color: #000;'> <script type="text/javascript" s...

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

1144. 瓦片地图 · LayaAir3.4 · 引擎文档 · LAYABOX [ 39%]

...t_Times:从随机帧开始。 下面来介绍一下Tile Data中的属性 Color Modulate:控制瓦片的颜色。 Texture_origin:纹理中心位置。当瓦片添加到场景中时,瓦片的中心会一直处于瓦片块的中心,但其纹理的位置可以改变。 可以看到,纹理的...

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

1145. 骨骼动画进阶(ActionScript-2D进阶篇(AS3)-动画进阶) [ 39%]

...age.addChild(skeleton); text = new Text(); Laya.stage.addChild(text); text.color = "#00ff00"; text.fontSize = 30; Laya.stage.addChild(text); Laya.stage.on(Event.MOUSE_DOWN, this, changeAction); } private var tActionID:int=0; private function changeAction():void { tActionID++; var aniCount:int; //获...

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

1146. Unity3D插件介绍(JavaScript-3D基础(JS)-LayaAir3D之Unity插件使用) [ 39%]

...型资源大小。 `Ignore Vertices UV ` 忽略UV贴图 `Ignore Vertices Color` 忽略顶点颜色信息 `Ignore Vertices Normal` 忽略法线 `Ignore Vertices Tangent` 忽略切线信息 `Compress` 模型压缩 ##### (5) Terrain Setting unity地型导出设置 `Convert Terrain To Mesh ` 如果场...

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

1147. laya.display.Input [ 39%]

...Bounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这...

来源: laya_api 发布时间: 20170929

1148. Unity3D插件介绍(ActionScript-3D基础(AS3)-LayaAir3D之Unity插件使用) [ 39%]

...型资源大小。 `Ignore Vertices UV ` 忽略UV贴图 `Ignore Vertices Color` 忽略顶点颜色信息 `Ignore Vertices Normal` 忽略法线 `Ignore Vertices Tangent` 忽略切线信息 `Compress` 模型压缩 ##### (5) Terrain Setting unity地型导出设置 `Convert Terrain To Mesh ` 如果场...

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

1149. localRotationEulerY旋转位置错误 [ 39%]

...  this.newScene.addChild(directionLight);         directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6);         //设置平行光的方向         var mat = directionLight.transform.worldMatrix;         mat.setForward(new Laya.Vector3(-1.0, -1.0, -1.0))...

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

1150. h5 游戏在ios15更新以后出现了显示显示问题 [ 39%]

...dL2/?nodeId=206962&env=production&source=ios&memId=2470906&color=65d1a7&hide_next_btn=0&language=chinese&autoPlay=1 使用Safiri浏览器打开这个链接,无法正常显示游戏内容,仔细看发现,游戏内容显示在顶部,宽度为屏幕宽,高度大概...

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