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

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

791. 其他引擎的Demo-Example_21 [ 58%]

...e = Laya.Sprite; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class PIXI_Example_21 { private colors:Array = ["#5D0776", "#EC8A49", "#AF3666", "#F6C84C", "#4C779A"]; private colorCount:number = 0; private isDown:Boolean = false; private path:Array = []; private color:String = thi...

来源: Laya_示例 发布时间: 20250220

792. ios苹果手机,同时播放声音出现巨大杂音 [ 58%]

...题,就是ios有问题。代码如下:附件是两个音频文件   export default class GameMain extends Laya.Scene {     constructor() {          super();          //设置单例的引用方式,方便其他类引用         GameMain.instance = this;  ...

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

793. laya.d3.core.render.posteffect.BloomEffect_API3.0 [ 58%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/PostEffect/BloomEffect" BloomEffect Class BloomEffect BloomEffect 类用于创建泛光效果。 Hierarchy PostProcessEffect BloomEffect Index Constructors constructor Accessors acti...

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

794. 缓动-缓动函数演示 [ 58%]

...dler = Laya.Handler; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Tween_EaseFunctionsDemo { private character: Sprite; private duration: number = 2000; private tween: Tween; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV ...

来源: Laya_示例 发布时间: 20250220

795. 缓动-时间线 [ 58%]

...Laya.Keyboard; import TimeLine = Laya.TimeLine; import WebGL = Laya.WebGL; export class Tween_TimeLine { private target:Sprite; private timeLine:TimeLine = new TimeLine(); constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; La...

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

796. 视频 · LayaAir3.3 · 引擎文档 · LAYABOX [ 58%]

...nst { regClass, property } = Laya; /** * 使用视频纹理 */ @regClass() export class Script extends Laya.Script { declare owner: Laya.Sprite3D; @property(Laya.Scene3D) private scene: Laya.Scene3D; private videoPlane: Laya.Sprite3D; private videoTexture = new Laya.VideoTexture(); onAwake(): void {...

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

797. laya.media.SoundManager_API3.0 [ 58%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/media/SoundManager" SoundManager Class SoundManager SoundManager 是一个声音管理类。提供了对背景音乐、音效的播放控制方法。 引擎默认有两套声音方案:WebAudio和...

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

798. 滤镜-颜色滤镜 [ 58%]

... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Filters_Color { private ApePath: string = "res/apes/monkey2.png"; private apeTexture: Texture; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL)...

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

799. laya.effect.FadeOut_API3.0 [ 58%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/effect/FadeOut" FadeOut Class FadeOut 淡出效果 Hierarchy EffectBase FadeOut Index Constructors constructor Properties _extra _singleton autoDestroyAtComplete delay duration ease eventName owner...

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

800. laya.effect.FadeIn_API3.0 [ 58%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/effect/FadeIn" FadeIn Class FadeIn 淡入效果 Hierarchy EffectBase FadeIn Index Constructors constructor Properties _extra _singleton autoDestroyAtComplete delay duration ease eventName owner rep...

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