大约有 1,102 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0055 秒)
Laya_社区(444) Laya3.0_api(292) Laya_示例(112) Laya2.0_示例(80) Laya2.0_文档(61) Laya3.0_文档(51) Laya2.0_api(35) laya_api(27)
...Animator 类用于创建动画组件。 Hierarchy Component Animator Index Constructors constructor Properties _controller _extra _singleton cullingMode owner runInEditor scriptPath CULLINGMODE_ALWAYSANIMATE CULLINGMODE_CULLCOMPLETELY Accessors animatorParams awaked controller controllerLayerCount d...
来源: Laya3.0_api 发布时间: 20231115
...n 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add c...
来源: Laya3.0_api 发布时间: 20231115
...用不了 //b文件 export default class player extends Laya.Sprite { constructor() { super(); this.pivot(this.width / 2, this.height / 2); this.graphics.drawRect(0, 0, this._size, this._size, this._color); } } //a文件 import player from './player'; // 程序入口 class GameMain { construct...
来源: Laya_社区 发布时间: 20180804
...步方式传输和接收数据。 Hierarchy EventDispatcher Socket Index Constructors constructor Properties disableInput protocols BIG_ENDIAN LITTLE_ENDIAN Accessors connected endian input output Methods cleanSocket close connect connectByUrl event flush hasListener off offAll offAllCaller on once ...
来源: Laya3.0_api 发布时间: 20231115
...用于创建四维向量。 Hierarchy ConchVector4 Implements IClone Index Constructors constructor Properties elements ONE UnitW UnitX UnitY UnitZ ZERO Accessors w x y z Methods clone cloneTo fromArray length lengthSquared Clamp add distance distanceSquared dot equals lerp max min multiply normaliz...
来源: Laya3.0_api 发布时间: 20231102
...目开发更高效。let numLoaded = 0; class SmartScale_Align_Contral { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(100, 100, WebGL); Laya.stage.alignV = Stage.ALI...
来源: Laya2.0_示例 发布时间: 20250223
...s class[MiniAdpter] already exist: Object {init: } 升级Laya2.2.0报Class constructor Scene cannot be invoked without 'new'解决办法 Uncaught TypeError: Class constructor Component cannot be invoked without 'new' ClassUtils.getClass获取不到Class Uncaught 无法实例class PhysicsCollider ext...
来源: Laya_社区 发布时间: 20180925
...于动画模板资源。 Hierarchy Resource AnimationTemplet Templet Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG interpolation Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference ...
来源: Laya3.0_api 发布时间: 20231115
...t default class startScene extends Laya.Scene { private sp: Sprite; public constructor() { super(); console.log("startScene"); console.log(Laya.stage.name); console.log(Laya.stage.numChildren); console.log(this.numChildren); console.log(this.parent); console.log(this.name); } }这个同样是null ex...
来源: Laya_社区 发布时间: 20190904
...n 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add c...
来源: Laya3.0_api 发布时间: 20231102