大约有 641 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
Laya3.0_api(176) Laya_社区(166) Laya2.0_api(99) laya_api(85) Laya2.0_文档(70) Laya3.0_文档(29) Laya2.0_示例(9) Laya_示例(7)
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
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
...m3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的世界中非常的重要,所有有关显示对象变化的都会用到他。 在示例代码中已经用到了移动(translate),旋转(rotate)这两种变换,并且...
来源: Laya2.0_文档 发布时间: 20210715
...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
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
...用会报错 如何获取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
...以在舞台上显示多个动画。 代码示例: ```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
...机添加了这个脚本。 (图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
... Inherited Externals Only exported Menu Globals "laya/display/Scene" Scene Class Scene 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes属性查看...
来源: Laya3.0_api 发布时间: 20231115
...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