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

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

471. laya3d物体碰撞与触发检测的问题 [ 67%]

...BoxMove from "./BoxMove"; export default class GameUI extends Laya.Scene { constructor() { super(); //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //添加照相机 var camera = (scene.addChild(new Laya.Camera(0, 0.1...

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

472. 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

473. 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

474. 文本-多行输入 [ 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_示例 发布时间: 20241119

475. 加载-错误处理和进度 [ 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_示例 发布时间: 20241119

476. laya.d3.resource.RenderTexture_API3.0 [ 66%]

...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

477. 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

478. 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

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

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

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

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_示例 发布时间: 20241119