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

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

2811. 有关Laya3D碰撞检测疑问 [ 35%]

有关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

2812. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 35%]

...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

2813. 2D拖尾渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 35%]

...的各项属性。示例代码如下所示: 示例代码: const { regClass, property } = Laya; @regClass() /** * 在节点上添加2D拖尾渲染器的示例代码 */ export class NewScript extends Laya.Script { declare owner: Laya.Sprite; private _trail2D: Laya.Trail2DRender; //从场景文件...

来源: Laya3.0_文档 发布时间: 20251010

2814. laya.ui.Box [ 35%]

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

2815. laya的ide如何import js并调用里面的类和方法?VS Code正常。 [ 35%]

...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

2816. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 35%]

...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

2817. laya.d3.core.material.Material_API3.0 [ 35%]

...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

2818. laya.display.Input [ 35%]

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

2819. 多种碰撞器形状(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 35%]

...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.physics.shape.ColliderShape)) ![](img/1.png)(图1) 下面我们来介绍下目前LayaAir3D中所有支持的碰撞器形状。 #### (1) BoxColliderShape盒 盒形是一个基本的方形碰撞原型。盒子可...

来源: Laya2.0_文档 发布时间: 20210715

2820. laya.ui.Dialog_API3.0 [ 35%]

...All Inherited Externals Only exported Menu Globals "laya/ui/Dialog" Dialog Class Dialog Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性...

来源: Laya3.0_api 发布时间: 20231115