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

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

11. 文本-下划线 [ 92%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createTexts(); })(); function createTexts() { createText('left', 1, null, 100, 10); createText('center', 2, "#00BFFF", 155, 150); createText(...

来源: Laya_示例 发布时间: 20240930

12. laya.d3.math.BoundSphere [ 92%]

...phere 类用于创建包围球。 Public Properties PropertyDefined By  center : Vector3包围球的中心。BoundSphere  radius : Number包围球的半径。BoundSpherePublic Methods  MethodDefined By  BoundSphere(center:Vector3, radius:Number) 创建一个 BoundSphere 实例。 BoundSphere...

来源: Laya2.0_api 发布时间: 20190513

13. 文本-下划线 [ 91%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createTexts(); } createTexts() { this.createText('left', null, 100, 10); this.createText('center', "#00BFFF", 155, 150); this.createText...

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

14. 2D物理-碰撞事件与传感器 [ 91%]

...lignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.Laya.stage.bgColor = "#232628"; this.createSensor(); } createSensor() { let ground = new Laya.Sprite(); Laya.Laya.stage.addChild(ground); let groundBody = ...

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

15. 文本-复杂的文本样式 [ 91%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; createText(); })(); function createText() { var txt = new Text(); //给文本的text属性赋值 txt.text = "Layabox是性能最强的HTML5引擎技术...

来源: Laya_示例 发布时间: 20240930

16. 碰撞体错位 [ 91%]

...在正在测试,猜想是:可能因为父节点有旋转,碰撞体的center不为(0,0,0),现在把这些因素去掉试试。 Laya_Aaron • 2018-07-05 11:56 这样,demo 发过来我给你看一下 FAITH • 2018-07-05 12:02 我已经琢磨出问题所在了,碰撞体的center不为...

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

17. 文本-复杂的文本样式 [ 91%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createText(); } createText() { const Text = Laya.Text; let txt = new Text(); Laya.stage.addChild(txt); //给文本的text属性赋值 tx...

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

18. 网络和格式-POST [ 90%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; connect(); showLogger(); })(); function connect() { hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLET...

来源: Laya_示例 发布时间: 20240930

19. 网络和格式-GET [ 90%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; connect(); showLogger(); })(); function connect() { hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLET...

来源: Laya_示例 发布时间: 20240930

20. 网络和格式-POST [ 89%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.connect(); this.showLogger(); } connect() { const HttpRequest = Laya.HttpRequest, Event = Laya.Event; hr = new HttpRequest(); hr.once(Ev...

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