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

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

601. laya.utils.Pool_API3.0 [ 76%]

... All Inherited Externals Only exported Menu Globals "laya/utils/Pool" Pool Class Pool Pool 是对象池类,用于对象的存储、重复使用。 合理使用对象池,可以有效减少对象创建的开销,避免频繁的垃圾回收,从而优化游戏流畅度。 Hierarchy Pool Index Met...

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

602. laya.d3.core.scene.bvhscenerendermanager.BVHSceneRenderManager_API3.0 [ 76%]

...e/scene/BVHSceneRenderManager/BVHSceneRenderManager" BVHSceneRenderManager Class BVHSceneRenderManager Hierarchy SceneRenderManager BVHSceneRenderManager Index Constructors constructor Accessors bvhSpatial list otherList Methods addMotionObject addRenderObject destroy removeMotionObject removeRender...

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

603. laya.utils.FontInfo [ 76%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames FontInfoProperties | Methods Packagelaya.utilsClasspublic class FontInfoInheritanceFontInfo ObjectPublic Properties PropertyDefined By  _bold : Boolean = falseFontInfo  EMPTY : FontInfo[static] FontInfo  _family :...

来源: Laya2.0_api 发布时间: 20190513

604. 加载-单一类型资源加载 [ 76%]

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

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

605. laya.d3.core.render.PostProcessRenderContext [ 76%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PostProcessRenderContextProperties Packagelaya.d3.core.renderClasspublic class PostProcessRenderContextInheritancePostProcessRenderContext Object PostProcessRenderContext 类用于创建后期处理渲染上下文。 Publ...

来源: Laya2.0_api 发布时间: 20190513

606. laya.d3.math.Plane_API3.0 [ 76%]

... Inherited Externals Only exported Menu Globals "laya/d3/math/Plane" Plane Class Plane 平面。 Hierarchy Plane Index Constructors constructor Properties PlaneIntersectionType_Back PlaneIntersectionType_Front PlaneIntersectionType_Intersecting Accessors distance normal Methods clone cloneTo normali...

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

607. laya.display.cmd.DrawLinesCmd [ 76%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames DrawLinesCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawLinesCmdInheritanceDrawLinesCmd Object 绘制连续曲线 Public Properties PropertyDefined By  lineColor : * 线段颜色,...

来源: Laya2.0_api 发布时间: 20190513

608. laya.d3.physics.shape.StaticPlaneColliderShape [ 76%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames StaticPlaneColliderShapeProperties | Methods Packagelaya.d3.physics.shapeClasspublic class StaticPlaneColliderShapeInheritanceStaticPlaneColliderShape ColliderShape Object StaticPlaneColliderShape 类用于创建静态...

来源: Laya2.0_api 发布时间: 20190513

609. laya.d3.core.render.RenderContext3D [ 76%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RenderContext3DProperties | Methods Packagelaya.d3.core.renderClasspublic class RenderContext3DInheritanceRenderContext3D Object RenderContext3D 类用于实现渲染状态。 Public Properties PropertyDefined By  cli...

来源: Laya2.0_api 发布时间: 20190513

610. 请问laya中js如何继承自己写的类 [ 76%]

...t1 */ var t2 = (function (_super) { function t2() { t2.super(this); } Laya.class(t2,'t2',_super); t2.prototype.a = function(){ console.log('2222'); } return t2; }(t1)); gls_laybox • 2018-01-04 11:35 额,你可能没仔细看我的代码,我的那个是自己写的类,如果是继承官方的...

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