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

大约有 1,451 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)

471. laya.ui.AutoBitmap_API3.0 [ 67%]

...宫格的处理,供UI组件使用。 Hierarchy Graphics AutoBitmap Index Constructors constructor Properties _color uv Accessors cmds color height sizeGrid source width Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawP...

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

472. laya.d3.core.ui3d.UI3D_API3.0 [ 67%]

...像机的父类。 Hierarchy BaseRender UI3D Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge TempMatrix Accessors awaked billboard bounds boundsChange castShadow cull destroyed distanceForSort enableHit enabl...

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

473. 文本-多行输入 [ 67%]

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

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

474. 加载-错误处理和进度 [ 67%]

...开发更高效。let numLoaded = 0; class Loader_ProgressAndErrorHandle { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Event = Laya.Event, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas Laya.init(Bro...

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

475. laya.d3.resource.RenderTexture_API3.0 [ 67%]

...e WebXRRenderTexture MulSampleRenderTexture Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _inPool _isCameraTarget _renderTarget destoryedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel colorFormat compareMode cpuMemory defaultTexture dep...

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

476. laya.display.Graphics_API3.0 [ 66%]

...ya.display.Sprite#graphics Hierarchy Graphics GraphicsAni AutoBitmap Index Constructors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fill...

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

477. laya.resource.RenderTexture_API3.0 [ 66%]

...exture WebXRRenderTexture RenderTextureCube Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget _renderTarget destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel colorFormat compareMode cpuMemory defaultTexture...

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

478. 绘制圆形与扇形(TypeScript-LayaAir基础篇(TS)-矢量图) [ 66%]

...e_DrawShapes {         private sp: Sprite;            constructor()         {             Laya.init(500, 300, WebGL);             this.drawSomething();         }            private drawSomething(): void {          ...

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

479. 输入设备-贪吃蛇(重力感应) [ 66%]

...t = 5, vx = 0, vy = 0, targetPosition; class InputDevice_GluttonousSnake { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Event = Laya.Event, Accelerator = Laya.Accelerator; // 不支持WebGL时自动切换至Canvas Lay...

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

480. 性能测试-卡通人物 [ 66%]

...peed = 2, rotateSpeed = 2, characterGroup; class PerformanceTest_Cartoon { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser....

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