大约有 1,766 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(625) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(86) Laya2.0_api(67) laya_api(64)
...ls Only exported Menu Globals "laya/ani/AnimationTemplet" AnimationTemplet Class AnimationTemplet AnimationTemplet 类用于动画模板资源。 Hierarchy Resource AnimationTemplet Templet Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG interpolation Acce...
来源: Laya3.0_api 发布时间: 20231115
...的情况。请问下是引擎不兼容呢,还是代码写的不完善 class Main { private _roomId = 0; constructor(roomId?: number) { this._roomId = roomId; Laya.init(750, 1218, Laya.WebGL); Laya.Browser.document.tit...
来源: Laya_社区 发布时间: 20181202
... module.def 要这样写: module:"../res/js/maingame" path:"modules\class\src"编译完成后,maingame.js 就不会被单独放置到 js目录下,而是放置到了 res/js 目录。 2017-07-31 0 0 分享 微博 QZONE 微信 sevennqi 赞同来自: 。。。。。。 2017-08-04 0 0 分...
来源: Laya_社区 发布时间: 20160514
...以在舞台上显示多个动画。 代码示例: ```typescript public class Main { private var aniPath = "res/bone/spineboy-pma.skel"; private var templet:SpineTempletBinary; private var skeleton:SpineSkeleton; private var index: Number = -1; public function Main() { Laya.init(Browser.width, Bro...
来源: Laya2.0_文档 发布时间: 20210715
...名1112.png Wechat Lib:1.9.98, 2018.4.4 17:39:27 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} VM163:1 请先初始化小游戏适配库,详细教程https://ldc.layabox.com/doc/?nav=zh-ts-5-0-0 console.error @ VM163:1 Browser.__init__ @ code.js:7131 (anonymous) @ code.js:70...
来源: Laya_社区 发布时间: 20180426
...cleShuriKen/ShurikenParticleInstanceSystem" ShurikenParticleInstanceSystem Class ShurikenParticleInstanceSystem Hierarchy ShurikenParticleSystem ShurikenParticleInstanceSystem Implements IClone Index Constructors constructor Properties _geometryElementOBj autoRandomSeed dragConstant dragSpeedConstan...
来源: Laya3.0_api 发布时间: 20231115
...u Globals "laya/d3/core/render/PostEffect/ColorGradEffect" ColorGradEffect Class ColorGradEffect ColorGradEffect 类用于创建调色Effect Hierarchy PostProcessEffect ColorGradEffect Index Constructors constructor Properties _lutTex SHADERDEFINE_ACES SHADERDEFINE_CUSTOMLUT SHADERVALUE_CUSTOMLUT SH...
来源: Laya3.0_api 发布时间: 20231115
...l Inherited Externals Only exported Menu Globals "laya/events/Event" Event Class Event Event 是事件类型的集合。一般当发生事件时,Event 对象将作为参数传递给事件侦听器。 Hierarchy Event Index Constructors constructor Properties button currentTarget delta isDblClick na...
来源: Laya3.0_api 发布时间: 20231115
...ls Only exported Menu Globals "laya/d3/math/CollisionUtils" CollisionUtils Class CollisionUtils Collision 类用于检测碰撞。 Hierarchy CollisionUtils Index Constructors constructor Methods boxContainsBox boxContainsPoint boxContainsSphere closestPointBoxPoint closestPointPlanePoint closestPoin...
来源: Laya3.0_api 发布时间: 20231115
...itle预制体放到Box下 (动图3-5) 示例代码如下: const { regClass, property } = Laya; @regClass() export class ScriptA extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); } onStart(): void { //加载预...
来源: Laya3.0_文档 发布时间: 20241014