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

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

61. Sprite-根据数据绘制路径 [ 80%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; drawPentagram(); })(); function drawPentagram() { var canvas = new Sprite(); Laya.stage.addChild(canvas); var path = []; path.push(0, -130); path.push(...

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

62. laya.d3.core.scene.OctreeNode [ 80%]

...on:Vector3, projectionView:Matrix4x4):voidOctreeNode  inChildIndex(objectCenter:Vector3):intOctreeNode  init(center:Vector3, treeSize:Vector3):voidOctreeNode  removeObject(object:BaseRender):BooleanOctreeNode  renderBoudingBox(linePhasor:PhasorSpriter3D):voidOctreeNode  updateObject(render...

来源: laya_api 发布时间: 20170929

63. UI-TextArea [ 80%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(skin, Handler.create(this, onLoadComplete)); })(); function onLoadComplete() { var ta = new TextArea(""); ta.skin = skin; ta...

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

64. 文本-自动换行 [ 80%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createText(); })(); function createText() { var txt = new Text(); txt.text = "Layabox是HTML5引擎技术提供商与优秀的游戏发行商...

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

65. Sprite-根据数据绘制路径 [ 80%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.drawPentagram(); } drawPentagram() { let canvas = new Laya.Sprite(); Laya.stage.addChild(canvas); let path = []; path.push(0, -130); pat...

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

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

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

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

67. 文本-HTML文本 [ 80%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createParagraph(); // 代码创建 showExternalHTML(); // 使用外部定义的html } function createParagraph() { va...

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

68. UI-ColorPicker [ 80%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(skin, Handler.create(this, onColorPickerSkinLoaded)); })(); function onColorPickerSkinLoaded() { var colorPicker = new Color...

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

69. UI-TextArea [ 80%]

...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load(skin, Handler.create(this, this.onLoadComplete)); } onLoadComplete() { const TextArea = Laya.TextArea; let ta =...

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

70. 文本-自动换行 [ 80%]

...); 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; var txt = new Text(); Laya.stage.addChild(txt); txt.text = "Layabox是HTML5引擎...

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