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

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

41. laya.particle.ParticleTemplate2D_API3.0 [ 70%]

...tFirstRetiredElement getMesh getRenderType hasListener isCreateFromURL off offAll offAllCaller on once releaseRender renderSubmit setFirstFreeElement setFirstNewElement update updateParticleForNative destroyUnusedResources Constructors constructor new ParticleTemplate2D(settings: ParticleSetting, te...

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

42. 事件管理 · LayaAir3.0文档 · LAYABOX [ 69%]

...证释放掉所有引用。 2.2.5 删除指定事件类型的所有侦听 offAll /** * 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 * @param type (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 * @return 此 EventDispatcher ...

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

43. laya.resource.BaseTexture_API3.0 [ 69%]

...tGPUMemory destroy event gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new BaseTexture(width: number, height: number, format: number): BaseTexture Overrides Resource.__constructor Defined in laya/resource/BaseTexture.ts:...

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

44. laya.resource.VideoTexture_API3.0 [ 67%]

...tGPUMemory destroy event gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once videoPause videoPlay destroyUnusedResources Constructors constructor new VideoTexture(): VideoTexture Overrides BaseTexture.constructor Defined in laya/resource/VideoTexture.ts:28 创建VideoTextur...

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

45. laya.resource.Texture_API3.0 [ 67%]

...CachedClip getPixels getTexturePixels hasListener isCreateFromURL load off offAll offAllCaller on once recoverBitmap setTo create createFromTexture destroyUnusedResources Constructors constructor new Texture(source?: Texture | BaseTexture, uv?: ArrayLike<number>, sourceWidth?: number, sourceHe...

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

46. laya.d3.resource.TextureCube_API3.0 [ 66%]

...tGPUMemory destroy event gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once setDDSData setImageData setKTXData setPixelsData updateSubPixelsData destroyUnusedResources Constructors constructor new TextureCube(size: number, format: TextureFormat, mipmap?: boolean, sRGB?: bo...

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

47. laya.resource.TextureCube_API3.0 [ 65%]

...tGPUMemory destroy event gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once setDDSData setImageData setKTXData setPixelsData updateSubPixelsData destroyUnusedResources Constructors constructor new TextureCube(size: number, format: TextureFormat, mipmap?: boolean, sRGB?: bo...

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

48. 2D物理-桥 [ 65%]

...abel.fontSize = 16; label.color = "#e69999"; } dispose() { Laya.Laya.stage.offAll(Laya.Event.CLICK); Laya.Laya.stage.removeChild(this.label); } } new Physics_Physics_Bridge();import { Laya } from "Laya"; import { Sprite } from "laya/display/Sprite"; import { Stage } from "laya/display/Stage"; import...

来源: Laya2.0_示例 发布时间: 20241117

49. laya.resource.Texture2DArray_API3.0 [ 65%]

...tGPUMemory destroy event gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once setImageData setPixlesData setSubPixelsData destroyUnusedResources Constructors constructor new Texture2DArray(width: number, height: number, depth: number, format: TextureFormat, mipmap?: boolean,...

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

50. 2D物理-仿生机器人 [ 65%]

...abel.fontSize = 16; label.color = "#e69999"; } dispose() { Laya.Laya.stage.offAll(Laya.Event.CLICK); Laya.Laya.stage.offAll(Laya.Event.DOUBLE_CLICK); Laya.Laya.stage.removeChild(this.label); } } class B2Math { static AddVV(a, b) { return [a[0] + b[0], a[1] + b[1]]; } static SubVV(a, b) { return [a[0...

来源: Laya2.0_示例 发布时间: 20241117