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

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

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

362. laya.d3.core.render.BaseRender_API3.0 [ 74%]

...enderer UI3D HLODRender StaticBatchMeshRender Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors awaked bounds boundsChange castShadow destroyed distanceForSort enabled hideFlags id lightmapIndex light...

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

363. 屏幕适配-对齐模式 [ 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_示例 发布时间: 20241001

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

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

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

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

368. 获取不到父物体 节点 [ 73%]

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

369. laya.particle.ParticleTemplate2D_API3.0 [ 73%]

...eTemplate2D Hierarchy Resource ParticleTemplate2D Implements ISubmit Index Constructors constructor Properties _id destroyedImmediately lock name settings sv texture url uuid x y DEBUG activeBlendType Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _add...

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

370. laya.d3.core.render.posteffect.ColorGradEffect_API3.0 [ 73%]

...用于创建调色Effect Hierarchy PostProcessEffect ColorGradEffect Index Constructors constructor Properties _lutTex SHADERDEFINE_ACES SHADERDEFINE_CUSTOMLUT SHADERVALUE_CUSTOMLUT SHADERVALUE_CUSTOMLUTPARAMS SHADERVALUE_LUT SHADERVALUE_LUTPARAMS Accessors HueShift active colorFilter contrast enabl...

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