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

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

231. laya.resource.Texture_API3.0 [ 71%]

...xture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors constructor Properties _id _sizeGrid _stateNum destroyedImmediately lock name offsetX offsetY sourceHeight sourceWidth url uuid DEBUG Accessors bitmap cpuMemory destroyed gpuMemory height id obsolute referenceCou...

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

232. ts继承后,代码压缩的问题 [ 71%]

...b[p] } ; return function(d, b) { extendStatics(d, b); function __() { this.constructor = d } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __) } }(); 然后运行代码会报Uncaught TypeError: LayerManager is not a constructor的错误 我看到Laya有一个Laya.cla...

来源: Laya_社区 发布时间: 20171212

233. 升级引擎到1.7.19.1beta List报错问题 [ 71%]

...的,有如下场景: class PageList extends laya.ui.List {        constructor()      {           super();       }        protected initialize():void        {              super.initialize();              this.itemRender = PageRender;//错误,因为_cells...

来源: Laya_社区 发布时间: 20180810

234. Vector 向量如何创建? 在2d微信小游戏中 [ 71%]

...向量  var v = new Vector2(); 会报错   TypeError: Vector2 is not a constructor 2018-06-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 c__yh 赞同来自: 在3d工程里面是可以的,2d不行。我们...

来源: Laya_社区 发布时间: 20180607

235. laya.d3.core.particleshuriken.ShurikenParticleRenderer_API3.0 [ 71%]

...Hierarchy BaseRender ShurikenParticleRenderer Implements IBoundsCell Index Constructors constructor Properties _extra _particleSystem _receiveShadow _singleton owner runInEditor scriptPath sortingFudge stretchedBillboardCameraSpeedScale stretchedBillboardLengthScale stretchedBillboardSpeedScale Acce...

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

236. 微信小游戏加云开发,项目怎样配置 [ 71%]

...编译后错误 gameContext?id=1:58 libs/laya.ui.js:  TypeError: Class constructor Component cannot be invoked without 'new'     at new Widget (laya.ui.js:201)     at laya.ui.js:349     at laya.ui.js:1     at wrapFn (gameContext?id=1:51)     at require (VM37 WAGameSubContext.js:2)     ...

来源: Laya_社区 发布时间: 20210322

237. laya.d3.component.volume.reflectionprobe.ReflectionProbe_API3.0 [ 71%]

...于实现反射探针组件 miner Hierarchy Volume ReflectionProbe Index Constructors constructor Properties _extra _isScene _singleton _updateMark owner runInEditor scriptPath TEMPVECTOR3 defaultTextureHDRDecodeValues Accessors ambientColor ambientIntensity ambientMode ambientSH ambientSphericalHar...

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

238. 显示与切换图片(TypeScript-LayaAir基础篇(TS)-位图) [ 70%]

...aya.Handler; import WebGL = Laya.WebGL; export class Sprite_DisplayImage { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "sh...

来源: Laya2.0_文档 发布时间: 20210715

239. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 70%]

...cript extends Laya.Script { @property({ type: Laya.List }) list: Laya.List constructor() { super(); } // 组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { // 给List对象赋值 var data: Array<any> = []; for (var m: number = 0; m < 20; m++) { data.push({ m_lab...

来源: Laya3.0_文档 发布时间: 20240910

240. laya.d3.physics.CharacterController_API3.0 [ 70%]

...建角色控制器。 Hierarchy PhysicsComponent CharacterController Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath userData UPAXIS_X UPAXIS_Y UPAXIS_Z Accessors awaked btColliderObject canCollideWith ccdMotionThreshold ccdSweptSphereRadius col...

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