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

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

441. laya.map.GridSprite [ 49%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GridSpriteProperties | Methods | Events Packagelaya.mapClasspublic class GridSpriteInheritanceGridSprite Sprite Node EventDispatcher Object 地图的每层都会分块渲染处理 本类就是地图的块数据 Public P...

来源: Laya2.0_api 发布时间: 20190513

442. Cannot read property 'rayCast' of undefined [ 48%]

Cannot read property 'rayCast' of undefined export default class indexscene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let conf...

来源: Laya_社区 发布时间: 20200903

443. LayaAir3D中的Transform变换(TypeScript-3D基础(TS)-LayaAir3D图形系统基础概念) [ 48%]

...m3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的世界中非常的重要,所有有关显示对象变化的都会用到他。 ​ 在示例代码中已经用到了移动(translate),旋转(rotate)这两种变换,并且...

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

444. laya.d3.webxr.core.WebXRCamera_API3.0 [ 48%]

...ls Only exported Menu Globals "laya/d3/WebXR/core/WebXRCamera" WebXRCamera Class WebXRCamera author miner 类用于创建WebXR摄像机。 Hierarchy Camera WebXRCamera Index Constructors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name...

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

445. laya.ui.Box [ 48%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BoxProperties | Methods | Events Packagelaya.uiClasspublic class BoxInheritanceBox UIComponent Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, ScaleBox, Tree, UIGroup, ViewStack Box ...

来源: Laya2.0_api 发布时间: 20190513

446. Cannot find module Roaming\npm\node_modules\layaair2-cmd\layaair2-cmd.js [ 48%]

...用会报错 如何获取animation的node节点? Uncaught Can not find class Laya.Text layaair2-cmd 编译bug 关于@prop {name:Tab,type:Node} 我觉得好麻烦啊 ,请问一下有别的方法吗 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. 2.0.0编译报错Can...

来源: Laya_社区 发布时间: 20200623

447. Spine适配版(TypeScript-LayaAir基础篇(TS)-动画基础) [ 48%]

...以在舞台上显示多个动画。 代码示例: ```typescript export class SpineBinary { private aniPath = "res/bone/spineboy-pma.skel"; private templet:Laya.SpineTempletBinary; private skeleton:Laya.SpineSkeleton; private index: number = -1; constructor() { Laya.init(Laya.Browser.width, Laya.B...

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

448. 使用3D精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 48%]

...机添加了这个脚本。 (图6-2) 脚本的代码为: const { regClass, property } = Laya; @regClass() export class CameraMoveScript extends Laya.Script3D { /** @private */ protected _tempVector3: Laya.Vector3 = new Laya.Vector3(); protected lastMouseX: number = 0; protected lastMouseY: num...

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

449. laya.display.Scene_API3.0 [ 48%]

... Inherited Externals Only exported Menu Globals "laya/display/Scene" Scene Class Scene 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes属性查看...

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

450. Laya.Socket 是不是不支持Safari浏览器二进制格式的数据传输? [ 48%]

...821207 赞同来自: 就是按照官方例子来做的测试 /* * name; */ class Test{ private socket: Laya.Socket; private byte: Laya.Byte; constructor() { //初始化引擎 Laya.init(600, 400, Laya.WebGL); this.byte = new Laya.Byte(); //这里我们采用小端 this.byte.endian = Laya.Byte.LITTLE_...

来源: Laya_社区 发布时间: 20171129