大约有 3,003 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0109 秒)
Laya_社区(1068) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(109)
有关Laya3D碰撞检测疑问 module test { export class Test { private ray: Laya.Ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); private point: Laya.Vector2 = new Laya.Vector2(); private _outHitAllInfo: Array<Laya.RaycastHit>; private camera: Laya.Camera; private...
来源: Laya_社区 发布时间: 20180820
...n HttpRequestExtension() { HttpRequestExtension.__super.call(this); } Laya.class(HttpRequestExtension, 'HttpRequestExtension', _super); var __proto = HttpRequestExtension.prototype; __proto.send = function (url, data, method, responseType, headers) { (method === void 0) && (method = "get"); (respons...
来源: Laya2.0_文档 发布时间: 20210714
...的各项属性。示例代码如下所示: 示例代码: const { regClass, property } = Laya; @regClass() /** * 在节点上添加2D拖尾渲染器的示例代码 */ export class NewScript extends Laya.Script { declare owner: Laya.Sprite; private _trail2D: Laya.Trail2DRender; //从场景文件...
来源: Laya3.0_文档 发布时间: 20251010
API DocumentationAll Packages | All Classes | Index | Frames No Frames BoxProperties | Methods | Events Packagelaya.uiClasspublic class BoxInheritanceBox Component Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, Tree, UIGroup, View, ViewStack Box 类是...
来源: laya_api 发布时间: 20170929
...ports, "__esModule", { value: true }); const t = require("./test/TestExportClass"); // 程序入口 class GameMain { constructor() { // Laya.init(600,400); console.log("start"); var exportCls = new t.TestExportCls(); exportCls.callFunc(); } } new GameMain(); } http://requirejs.org/docs/errors.html#m...
来源: Laya_社区 发布时间: 20171116
...es/IHttpResponse"; import Notice from "../../utils/Notice"; export default class AuthReg extends ui.AuthRegUI { /** 密码临时存储 */ private _tmp_pwd: string = ""; /** 输入框数组 */ private _arrInput: Laya.TextInput = [this.input_nickname, this.input_mobile, this.input_password, this.input...
来源: Laya_社区 发布时间: 20200410
...rnals Only exported Menu Globals "laya/d3/core/material/Material" Material Class Material Material 类用于创建材质。 Hierarchy Resource Material PixelLineMaterial UnlitMaterial BlinnPhongMaterial PBRMaterial SkyBoxMaterial SkyProceduralMaterial ShurikenParticleMaterial TrailMaterial SkyPanora...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames InputProperties | Methods | Events | Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类...
来源: Laya2.0_api 发布时间: 20190513
...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.physics.shape.ColliderShape)) (图1) 下面我们来介绍下目前LayaAir3D中所有支持的碰撞器形状。 #### (1) BoxColliderShape盒 盒形是一个基本的方形碰撞原型。盒子可...
来源: Laya2.0_文档 发布时间: 20210715
...All Inherited Externals Only exported Menu Globals "laya/ui/Dialog" Dialog Class Dialog Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性...
来源: Laya3.0_api 发布时间: 20231115