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

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

421. laya.resource.TextureCube_API3.0 [ 36%]

...URL Defined in laya/resource/Resource.ts:198 返回资源是否从指定url创建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off De...

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

422. laya.display.EffectAnimation_API3.0 [ 35%]

...始播放时,其他动效会自动停止播放。 可以通过LayaAir IDE创建。 Hierarchy FrameAnimation EffectAnimation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE W...

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

423. laya.display.Scene_API3.0 [ 35%]

...enu Globals "laya/display/Scene" Scene Class Scene 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes属性查看还未被销毁的场景列表 Hierarc...

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

424. laya.maths.Matrix_API3.0 [ 35%]

...ums?: number): Matrix Defined in laya/maths/Matrix.ts:30 使用指定参数创建新的 Matrix 对象。 Parameters Default value a: number = 1 (可选)缩放或旋转图像时影响像素沿 x 轴定位的值。 Default value b: number = 0 (可选)旋转或倾斜图像时影响像素沿 y ...

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

425. laya.device.media.Video_API3.0 [ 35%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

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

426. 统计信息 · LayaAir3.4 · 引擎文档 · LAYABOX [ 35%]

.../33ms)或波动大 任何模块耗时超标;偶发尖峰可能是资源创建/编译/GC 先用本章其它 T_ 找“大头”;再看 CT_*/C_*/M_* 配套指标;对尖峰优先排查资源创建与首编译 T_AllRender3D 3D 总耗时明显大于 2D/脚本 3D 主流程重(主渲染/阴影/深...

来源: Laya3.0_文档 发布时间: 20260128

427. laya.ui.UIComponent_API3.0 [ 35%]

...omponent Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns UIComponent Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _o...

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

428. laya.spine.SpineSkeleton_API3.0 [ 35%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

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

429. laya.media.VideoTexture_API3.0 [ 35%]

...Overrides BaseTexture.constructor Defined in laya/media/VideoTexture.ts:33 创建VideoTexture对象, Returns VideoTexture Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 _isLoaded _isLoaded: boolean Defined in laya/media/VideoTexture.ts:32 inernal...

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

430. laya.ui.ScaleBox_API3.0 [ 34%]

...structor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns ScaleBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownG...

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