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

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

11. 屏幕适配-屏幕适配 [ 90%]

...; var Image = Laya.Image; var WebGL = Laya.WebGL; //所有适配模式 var modes = ["noscale", "exactfit", "showall", "noborder", "full", "fixedwidth", "fixedheight"]; //当前适配模式索引 var index = 0; //全局文本信息 var txt; (function() { // 不支持WebGL时自动切换至Canvas Laya...

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

12. 屏幕适配-屏幕适配 [ 90%]

...、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。let modes = ["noscale", "exactfit", "showall", "noborder", "full", "fixedwidth", "fixedheight"], index = 0, txt; class SmartScale_T { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = La...

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

13. 构建好android studio项目后,debug出错 [ 89%]

...eclarations (let, const, function, class) not yet supported outside strict mode let runtime = json.props.runtime; ^^^ SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode at eval (native) at Document._downloadOk (apploader.js:6059:20) at apploade...

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

14. laya.d3.core.GeometryElement_API3.0 [ 89%]

...mentOBj Accessors bufferState destroyed drawType indexFormat instanceCount mode Methods _getType clearRenderParams destroy setDrawArrayParams setDrawElemenParams Constructors constructor new GeometryElement(mode: MeshTopology, drawType: DrawType): GeometryElement Defined in laya/d3/core/GeometryElem...

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

15. laya.d3.resource.models.SkyBox_API3.0 [ 88%]

...ected All Inherited Externals Only exported Menu Globals "laya/d3/resource/models/SkyBox" SkyBox Class SkyBox SkyBox 类用于创建天空盒。 Hierarchy GeometryElement SkyBox Index Constructors constructor Properties _geometryElementOBj instance Accessors bufferState destroyed drawType indexForma...

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

16. laya.d3.graphics.MeshInstanceGeometry_API3.0 [ 88%]

...mentOBj Accessors bufferState destroyed drawType indexFormat instanceCount mode subMesh Methods _getType clearRenderParams destroy setDrawArrayParams setDrawElemenParams Constructors constructor new MeshInstanceGeometry(subMesh: SubMesh): MeshInstanceGeometry Overrides GeometryElement.constructor De...

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

17. laya.d3.core.pixelline.PixelLineFilter_API3.0 [ 88%]

...mentOBj Accessors bufferState destroyed drawType indexFormat instanceCount mode Methods _getLineData clearRenderParams destroy setDrawArrayParams setDrawElemenParams Constructors constructor new PixelLineFilter(owner: PixelLineRenderer, maxLineCount: number): PixelLineFilter Overrides GeometryElemen...

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

18. laya.d3.core.render.ScreenQuad_API3.0 [ 88%]

...Accessors bufferState destroyed drawType indexFormat instanceCount invertY mode Methods _getType clearRenderParams destroy setDrawArrayParams setDrawElemenParams Constructors constructor new ScreenQuad(): ScreenQuad Overrides GeometryElement.constructor Defined in laya/d3/core/render/ScreenQuad.ts:4...

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

19. laya.d3.core.ui3d.UI3DGeometry_API3.0 [ 87%]

...mentOBj Accessors bufferState destroyed drawType indexFormat instanceCount mode Methods _getType clearRenderParams destroy setDrawArrayParams setDrawElemenParams Properties _geometryElementOBj _geometryElementOBj: IRenderGeometryElement Inherited from GeometryElement._geometryElementOBj Defined in l...

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

20. laya.d3.resource.models.SubMesh_API3.0 [ 87%]

...ected All Inherited Externals Only exported Menu Globals "laya/d3/resource/models/SubMesh" SubMesh Class SubMesh SubMesh 类用于创建子网格数据模板。 Hierarchy GeometryElement SubMesh Index Constructors constructor Properties _geometryElementOBj Accessors bufferState destroyed drawType in...

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