大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1062) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(107)
...目开发更高效。let skins = ["res/ui/tab1.png", "res/ui/tab2.png"]; class UI_Tab { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.ali...
来源: Laya2.0_示例 发布时间: 20251219
API DocumentationAll Packages | All Classes | Index | Frames No Frames ParallelSplitShadowMapProperties | Methods Packagelaya.d3.shadowMapClasspublic class ParallelSplitShadowMapInheritanceParallelSplitShadowMap Object ... Public Properties PropertyDefined By shadowMapCount : intParalle...
来源: Laya2.0_api 发布时间: 20190513
...laya/d3/physicsCannon/shape/CannonBoxColliderShape" CannonBoxColliderShape Class CannonBoxColliderShape BoxColliderShape 类用于创建盒子形状碰撞器。 Hierarchy CannonColliderShape CannonBoxColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallba...
来源: Laya3.0_api 发布时间: 20231102
...dle.js 文件和laya.core.js中有这个代码: *模板,预制件 */ //class laya.components.Prefab var Prefab=(function(){ function Prefab(){ /**@private */ this.json=null; } __class(Prefab,'laya.components.Prefab'); var __proto=...
来源: Laya_社区 发布时间: 20181102
... no exported member 'particle'. libs/LayaAir.d.ts(26700,11): error TS2417: Class static side 'typeof RenderTarget2D' incorrectly extends base class static side 'typeof Texture'. Types of property 'create' are incompatible. Type '(w: number, h: number, surfaceFormat?: number, surfaceType?: number, de...
来源: Laya_社区 发布时间: 20170814
...r.window.conch.setFontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprit...
来源: Laya_社区 发布时间: 20190418
API DocumentationAll Packages | All Classes | Index | Frames No Frames MathUtils3DMethods | Constants Packagelaya.d3.mathClasspublic class MathUtils3DInheritanceMathUtils3D Object MathUtils 类用于创建数学工具。 Public Methods MethodDefined By MathUtils3D() 创建一个 MathUt...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames MathUtils3DMethods | Constants Packagelaya.d3.mathClasspublic class MathUtils3DInheritanceMathUtils3D Object MathUtils 类用于创建数学工具。 Public Methods MethodDefined By MathUtils3D() 创建一个 MathUt...
来源: Laya2.0_api 发布时间: 20190513
...nly exported Menu Globals "laya/d3/core/trail/TrailGeometry" TrailGeometry Class TrailGeometry TrailGeometry 类用于创建拖尾渲染单元。 Hierarchy GeometryElement TrailGeometry Index Constructors constructor Properties _geometryElementOBj ALIGNMENT_TRANSFORM_Z ALIGNMENT_VIEW Accessors buffe...
来源: Laya3.0_api 发布时间: 20231115
...导入编译后错误 gameContext?id=1:58 libs/laya.ui.js: TypeError: Class constructor Component cannot be invoked without 'new' at new Widget (laya.ui.js:201) at laya.ui.js:349 at laya.ui.js:1 at wrapFn (gameContext?id=1:51) at require (VM37 WAGameSubContext.js:2) ...
来源: Laya_社区 发布时间: 20210322