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

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

1. 高级应用-渲染纹理 [ 100%]

...= new Laya.Vector3(0, 0.5, -1); Laya.loader.load(["../../res/threeDimen/ui/button.png"], Laya.Handler.create(null, function () { var changeActionButton = Laya.stage.addChild(new Laya.Button("../../res/threeDimen/ui/button.png", "渲染目标")); changeActionButton.size(160, 40); changeActionButton.l...

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

2. 物理引擎-Slingshot [ 94%]

...er.Events.on(engine, 'afterUpdate', function() { if (mouseConstraint.mouse.button === -1 && (rock.position.x > 190 || rock.position.y 190 || rock.position.y 190 || rock.position.y < 430)) { rock = Matter.Bodies.polygon(170, 450, 7, 20, rockOptions); Matter.World.add(engine.world, rock); elastic.body...

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

3. Mesh网格-自定义网格 [ 50%]

...bMesh; import laya.display.Stage; import laya.events.Event; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGLContext; import common.CameraMoveScript; import common.Tool; /** * ... * @author */ public class CustomMesh { public...

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