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

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

311. laya.media.VideoTexture_API3.0 [ 64%]

...ture VideoTexture 多媒体纹理 Hierarchy BaseTexture VideoTexture Index Constructors constructor Properties _id _isLoaded _needUpdate destroyedImmediately element lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel buffered compareMode cpuMemory currentSrc currentTime defaultTexture des...

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

312. webgl模式下对Panel组件旋转时Panel子对象显示错误的BUG! [ 64%]

...直接新建项目,拷贝代码即可) // 程序入口 class GameMain{ constructor() { // Laya.init(1280,720); //无问题 Laya.init(1280,720,Laya.WebGL);//有问题 console.log(Laya.version); var testSpriteRotation:PanelRotationTest = new PanelRotationTest(Laya.Sprite); testSpriteRotation.pos(3...

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

313. 学会编写d.ts声明文件(TypeScript-IDE篇(TS)-代码模式基础) [ 64%]

...re module CANNON { //在声名的模块里定义类型 export class Demo { constructor( options: Object ); addScene( title: string, initfunc: Function ): void; restartCurrentScene(): void; } } //多级模块 declare module laya.ani.bone { class EventData { name:string; intValue:number; floatValue:nu...

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

314. UI-Input [ 64%]

...PUT_WIDTH = 300, INPUT_HEIGHT = 50, Y_OFFSET = 50, skins; class UI_Input { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.A...

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

315. 滤镜-发光滤镜 [ 64%]

...发更高效。let apePath = "res/apes/monkey2.png"; class Filters_Glow { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stag...

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

316. Sprite-显示图片 [ 64%]

...语言、LayaAirIDE让项目开发更高效。class Sprite_DisplayImage { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 2D场景不显示时打开 Laya.Config.isAntialias = true; // 2D场景显示错乱时打开 Laya.Config.useWebGL2 = false; // 不支持We...

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

317. laya.net.Loader_API3.0 [ 64%]

...ML、二进制、图像等资源。 Hierarchy EventDispatcher Loader Index Constructors constructor Properties maxLoader retryDelay retryNum ANIMATIONCLIP ATLAS BUFFER FONT HIERARCHY IMAGE JSON MATERIAL MESH SOUND SPINE TERRAINHEIGHTDATA TERRAINRES TEXT TEXTURE2D TEXTURECUBE TTF VIDEO XML downloader...

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

318. laya.d3.core.Sprite3D_API3.0 [ 63%]

... Hierarchy Node Sprite3D RenderableSprite3D BaseCamera LightSprite Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer numChildren parent scene timer transform url Meth...

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

319. Sprite-容器 [ 63%]

...发语言、LayaAirIDE让项目开发更高效。class Sprite_Container { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDL...

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

320. 缓动-简单的Tween [ 63%]

...语言、LayaAirIDE让项目开发更高效。class Tween_SimpleSample { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.sta...

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