大约有 1,448 项符合查询结果, 库内数据总量为 30,934 项。 (搜索耗时: 0.0050 秒)
Laya3.0_api(470) Laya_社区(446) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(61) laya_api(58)
...用不了 //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
...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
...目开发更高效。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_示例 发布时间: 20250311
...于动画模板资源。 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
...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 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
...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
...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
...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
...用于创建调色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