大约有 2,282 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0077 秒)
Laya_社区(1682) Laya3.0_api(144) Laya2.0_文档(127) Laya2.0_api(103) laya_api(77) Laya3.0_文档(59) Laya_示例(48) Laya2.0_示例(42)
...交 2 个回复 Kelvin 赞同来自: 效果如下, 伪代码: realX=摇杆X轴移动方向*速度 + skeleton对象的x轴坐标 realY=摇杆Y轴移动方向*速度 + skeleton对象的y轴坐标 Laya.stage.hitTestPoint(realX, realY)判断skeleton对象是否在边界内 以上的考虑 ...
来源: Laya_社区 发布时间: 20180725
Search Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/IStatRender" IStatRender Class IStatRender author laya Hierarchy IStatRender StatUI Index Methods enable hide isCanvasRender rende...
来源: Laya3.0_api 发布时间: 20231102
Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...
来源: Laya2.0_示例 发布时间: 20250221
... 代码用到了更新物理根节点去做相机跟踪 代码如下: export default class test extends Laya.Script { strWorldRoot:Laya.Sprite; constructor() { super(); } cameraPlayerOffset:Laya.Point=new Laya.Point(18,0); cameraOffset:Laya.Point=new Laya.Point(180,57...
来源: Laya_社区 发布时间: 20231123
...数据(positions) 每一组数据代表2D节点上的一条线段,其中 X,Y 值为线段的起点,Z,W 值为线段的终点。开发者也可以在编辑2D线段状态下可视化的编辑线段的起点与终点。 线段宽度(lineWidth) 线段的宽度,以像素为单位;线段的宽度...
来源: Laya3.0_文档 发布时间: 20250214
...到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ggxxyy 赞同来自: 如果使用的是默认的物理引擎box2d,在碰撞事件监听函数里可以从第3个参数获取到碰撞信息,如: ColliderHandler(a:Collider, b:Collider, c:b2Contact) 可通过b2Contact.GetMan...
来源: Laya_社区 发布时间: 20201114
...e(){ this.downTime--; Tween.to(img1, { x: randomx, y: randomy }, 250); Tween.to(img2, { x: randomx, y: randomy }, 250); Tween.to(img3, { x: randomx, y: randomy }, 250); } 类似于这种每秒执行几个缓动,导致ios黑...
来源: Laya_社区 发布时间: 20171016
...-------------------------------------------------------------- (function (exports, Laya) { 'use strict'; const TiledMapFlipConst = 1073741824; const TiledMapFlipConstHalf = TiledMapFlipConst / 2; class GridSprite extends Laya.Sprite { constructor() { ...
来源: Laya_社区 发布时间: 20220627
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Vector4" Vector4 Class Vector4 Vector4 类用于创建四维向量。 Hierarchy Vector4 Implements IClone Index Constructors ...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames QuaternionProperties | Methods | Constants Packagelaya.d3.mathClasspublic class QuaternionInheritanceQuaternion ObjectImplements laya.d3.core.IClone Quaternion 类用于创建四元数。 Public Properties PropertyDefi...
来源: laya_api 发布时间: 20170929