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

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

421. laya.ui.Label_API3.0 [ 51%]

...a.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var label:Label = new Label();//创建一个 Label 类的实例对象 label 。 label.font = "Arial";//设置 label 的字体。 ...

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

422. 普通文本中文逗号导致异常换行 [ 51%]

...额外附带4000点切割伤害,持续10秒。冷却60秒。"; txt.color = "#EDE1D7"; Laya.stage.addChild(txt); txt.x = (Laya.stage.width - txt.textWidth) / 2; txt.y = (Laya.stage.height-txt.textHeight) / 2; zkang5 • 2022-07-11 09:49 好的,谢谢

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

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

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

424. laya.d3.core.render.posteffect.ColorGradEffect_API3.0 [ 51%]

...rited Externals Only exported Menu Globals "laya/d3/core/render/PostEffect/ColorGradEffect" ColorGradEffect Class ColorGradEffect ColorGradEffect 类用于创建调色Effect Hierarchy PostProcessEffect ColorGradEffect Index Constructors constructor Properties _lutTex SHADERDEFINE_ACES SHADERDEFINE_C...

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

425. rigidBody.applyForce 物体不会移动 [ 51%]

...s.text = new Laya.Text(); this.text.overflow = Laya.Text.HIDDEN; this.text.color = "#FFFFFF"; this.text.font = "Impact"; this.text.fontSize = 24; this.text.x = (Laya.stage.width / 5) * 2; Laya.stage.addChild(this.text); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); let building: Laya...

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

426. 文字显示模糊 [ 51%]

...;             _txt.fontSize = 18;             _txt.color="#000000";             _txt.text="是时晋武之世,寺庙图像,虽崇京邑,而方等深经,藴在葱外。护乃慨然发愤,志弘大道。遂随师至西域,游历诸国,外国异言三...

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

427. 调用创建微信授权按钮时,授权按钮有时候显示有时候不显示 [ 51%]

...  lineHeight: 98*0.45,                     backgroundColor: '#ff0000',                     color: '#ffffff',                     textAlign: 'center',                     fontSize: 16,                  ...

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

428. 技术文档svg不可以使用 [ 51%]

...-js-3-4-1   //初始化引擎Laya.init(600, 400, Laya.WebGL);Laya.stage.bgColor = "#ffcccc";var data = "data:image/svg+xml," + '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' +'<foreignObject width="100%" height="100%">' +'<div xmlns="http://www.w3.org/1999/xhtml"...

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

429. layaAirIDE中如何使用wx等微信基础对象,ide版本1.7.19.1beta [ 51%]

...le: { left: 10, top: 76, width: 200, height: 40, lineHeight: 40, backgroundColor: '#ff0000', color: '#ffffff', textAlign: 'center', fontSize: 16, borderRadius: 4 } }) 这种利用微信接口创建的按钮对象赋值给button 的怎么弄 __JS__('wx').createUserInfoButton({}) 可以这样写 前...

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

430. 基于Cannon.js的物理系统(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 51%]

...; (selectSprite3D.meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = this.colorRed; if(this.oldSelectMesh) if(selectSprite3D!=this.oldSelectMesh) (this.oldSelectMesh.meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = this.colorWrite; this.oldSelectMesh = selectSprite3D; /...

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