大约有 1,276 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0069 秒)
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 关于Laya实现Matter.js官方案例凹多边形的问题 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 Laya2.6.0beta 物理引擎 刚体碰撞点位置...
来源: Laya_社区 发布时间: 20170822
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ani/AnimationTemplet" AnimationTemplet Class AnimationTemplet AnimationTemplet 类用于动画模板资源。 Hierarchy Resource AnimationTemplet Templet Index Constructors constructor Properties _...
来源: Laya3.0_api 发布时间: 20231115
... 3.2.2 创建地图示例 const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { private tMap:Laya.TiledMap; onEnable() { //创建地图对象 this.tMap = new Laya.TiledMap(); //创建Rectangle实例,视口区域 var viewRect:Laya.Rectangle = new Laya.Rectangle(0,...
来源: Laya3.0_文档 发布时间: 20251010
...------------------ define("libs/laya.wxmini.js", function(require, module, exports, process){ "use strict"; window = window || global, window.layalib || (window.layalib = function (i, e) { (window._layalibs || (window._layalibs = )).push({ f: i, i: e }); }), window.layalib(function (i, e, t) { ...
来源: Laya_社区 发布时间: 20190319
...,功能单一,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private arr: any; constructor() { s...
来源: Laya_社区 发布时间: 20201120
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/particle/ParticleTemplate2D" ParticleTemplate2D Class ParticleTemplate2D Hierarchy Resource ParticleTemplate2D Implements ISubmit Index Constructors constructor Properties _id destroyedImmediately ...
来源: Laya3.0_api 发布时间: 20231115
...于节点的宽高,所以绘制的图形也是在宽高范围内。 */ export class DrawLine extends Laya.Script { declare owner: Laya.Sprite; line2DRender: Laya.Line2DRender; lastMousePos: number[] = []; isDrawing: boolean = false; // 标记是否正在绘制 // 组件被激活后执行,此时...
来源: Laya3.0_文档 发布时间: 20251010
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/PostEffect/ColorGradEffect" ColorGradEffect Class ColorGradEffect ColorGradEffect 类用于创建调色Effect Hierarchy PostProcessEffect ColorGradEffect Index Constructors construct...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/CollisionUtils" CollisionUtils Class CollisionUtils Collision 类用于检测碰撞。 Hierarchy CollisionUtils Index Constructors constructor Methods boxContainsBox boxContainsPoint boxCon...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeShaderData" NativeShaderData Class NativeShaderData Hierarchy ShaderData NativeShaderData Implements IClone INativeUploadNode Index Properties _dataType _nativeObj nat...
来源: Laya3.0_api 发布时间: 20231115