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

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

2831. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 28%]

...) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 微信小游戏如何使...

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

2832. 分享,扩展Laya.Text组件实现简单的富文本 [ 28%]

...ar style = this._style; if (tCurrBitmapFont && tCurrBitmapFont.autoScaleSize) { var bitmapScale = tCurrBitmapFont.fontSize / this.fontSize; } if (this._clipPoint) { graphics.save(); if (tCurrBitmapFont && tCurrBitmapFont.autoScaleSize) { var tClipWidth = 0; var tClipHeight = 0; this....

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

2833. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 28%]

...示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 请问2.0的版本开始...

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

2834. 动画不显示 [ 28%]

...        Laya.stage.bgColor = "#000000";             Laya.stage.scaleMode = Stage.SCALE_FIXED_AUTO;             //背景音乐             m_bkSound = new Sound();             m_bkSound.load("Res/Sound/City.mp3");             m_bkSound.play();      ...

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

2835. UI-RefreshList [ 27%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load("res/ui/refreshList/ani/refresh.png", Handler.create(this, function(){ this.initView(); })); } initView(){ // 加载并添加场景中需要使...

来源: Laya2.0_示例 发布时间: 20260303

2836. 性能测试-卡通人物2 [ 27%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Stat.enable(); Laya.stage.loadImage("res/cartoon2/background.jpg", 0, 0, 1280, 900); this.createCharacters(); t...

来源: Laya2.0_示例 发布时间: 20260303

2837. LayaAir3D 坐标系统与矩阵变换 [ 26%]

...。 //初始化3d画布 Laya3D.init(0, 0, true); //设置全屏 Laya.stage.scaleMode = Stage.SCALE_FULL; //显示统计数据 Stat.show(); //给舞台添加laya3d场景 var scene:Scene = Laya.stage.addChild(new Scene()) as Scene; //初始化照相机 var camera:Camera = scene.addChild(new Camera()) ...

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

2838. 3D中摄像机绕物体旋转该如何实现? [ 26%]

...otation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary> //public target: Transform3D; public AroundPos: Vector3 = new Vector3(); /// <summary> /// Settings of mouse button, pointer and scrollw...

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

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

...otation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary> //public target: Transform3D; public AroundPos: Vector3 = new Vector3(); /// <summary> /// Settings of mouse button, pointer and scrollw...

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

2840. 3D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 25%]

...重复的外观,每个实例可以具有不同的属性,如 Color 或 Scale。绘制调用,呈现多个实例出现在框架调试器绘制网格(实例)。 GPU Instance需要硬件的支持,确保你当前所使用的硬件可以支持GPU Instance渲染 上图展示了一个GPU Instance测...

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