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

大约有 1,102 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0055 秒)

191. laya.d3.component.animator.Animator_API3.0 [ 74%]

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

192. laya.maths.Quaternion_API3.0 [ 74%]

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

193. ts项目 模块问题 [ 74%]

...用不了   //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

194. laya.net.Socket_API3.0 [ 74%]

...步方式传输和接收数据。 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

195. laya.d3.math.native.ConchVector4_API3.0 [ 74%]

...用于创建四维向量。 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

196. 屏幕适配-对齐模式 [ 74%]

...目开发更高效。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

197. Warning!,this class[MiniAdpter] already exist: Object {} [ 74%]

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

198. laya.ani.AnimationTemplet_API3.0 [ 74%]

...于动画模板资源。 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

199. 获取不到父物体 节点 [ 74%]

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

200. laya.d3.math.Quaternion_API3.0 [ 73%]

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