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

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

231. laya.device.motion.AccelerationInfo_API3.0 [ 82%]

...ported Menu Globals "laya/device/motion/AccelerationInfo" AccelerationInfo Class AccelerationInfo 加速度x/y/z的单位均为m/s²。 在硬件(陀螺仪)不支持的情况下,alpha、beta和gamma值为null。 author Survivor Hierarchy AccelerationInfo Index Constructors constructor Properti...

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

232. laya.d3.graphics.VertexElement_API3.0 [ 82%]

... Only exported Menu Globals "laya/d3/graphics/VertexElement" VertexElement Class VertexElement VertexElement 类用于创建顶点结构分配。 Hierarchy VertexElement Index Constructors constructor Accessors elementFormat elementUsage offset Constructors constructor new VertexElement(offset: numb...

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

233. laya.components.AnimatorState2DScript_API3.0 [ 82%]

...Menu Globals "laya/components/AnimatorState2DScript" AnimatorState2DScript Class AnimatorState2DScript Hierarchy AnimatorState2DScript Index Methods onStateEnter onStateExit onStateUpdate Methods onStateEnter onStateEnter(): void Defined in laya/components/AnimatorState2DScript.ts:5 动画状态开...

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

234. laya.display.cmd.ClipRectCmd_API3.0 [ 82%]

...nals Only exported Menu Globals "laya/display/cmd/ClipRectCmd" ClipRectCmd Class ClipRectCmd 裁剪命令 Hierarchy ClipRectCmd Index Properties height width x y ID Methods recover Properties height height: number Defined in laya/display/cmd/ClipRectCmd.ts:26 高度。 width width: number Defined in...

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

235. UI-List [ 82%]

...项目开发更高效。const WID = 373, HEI = 85; const Box = Laya.Box; class Item extends Box { constructor(){ super(); const Image = Laya.Image; this.size(WID, HEI); this.img = new Image(); this.addChild(this.img); } setImg(src) { this.img.skin = src; } } class UI_List { constructor() { const Bro...

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

236. laya.net.BatchProgress_API3.0 [ 81%]

...xternals Only exported Menu Globals "laya/net/BatchProgress" BatchProgress Class BatchProgress Hierarchy BatchProgress Implements IBatchProgress Index Constructors constructor Accessors itemCount Methods createCallback reset update Constructors constructor new BatchProgress(callback: ProgressCallbac...

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

237. laya.d3.graphics.batch.RenderElementBatch_API3.0 [ 81%]

...enu Globals "laya/d3/graphics/Batch/RenderElementBatch" RenderElementBatch Class RenderElementBatch Hierarchy RenderElementBatch Index Constructors constructor Properties instance Methods batch recoverData Constructors constructor new RenderElementBatch(): RenderElementBatch Defined in laya/d3/graph...

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

238. laya.d3.renderobjs.renderobj.RenderGeometryElementOBJ_API3.0 [ 81%]

...d3/RenderObjs/RenderObj/RenderGeometryElementOBJ" RenderGeometryElementOBJ Class RenderGeometryElementOBJ Hierarchy RenderGeometryElementOBJ Implements IRenderGeometryElement Index Accessors indexFormat mode Accessors indexFormat get indexFormat(): IndexFormat set indexFormat(value: IndexFormat): vo...

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

239. 图集动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 81%]

...AtlasAniDemo.ts,并编写代码如下: ```typescript // 程序入口 class AtlasAniDemo{ private roleAni:Laya.Animation; constructor() { //初始化舞台 Laya.init(1334,750,Laya.WebGL); //创建动画实例 this.roleAni = new Laya.Animation(); //加载动画图集,加载成功后执行回调...

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

240. laya.spine.SpineSkeletonRenderer_API3.0 [ 81%]

...rted Menu Globals "laya/spine/SpineSkeletonRenderer" SpineSkeletonRenderer Class SpineSkeletonRenderer Hierarchy SpineSkeletonRenderer Index Constructors constructor Properties premultipliedAlpha templet vertexEffect Methods draw Constructors constructor new SpineSkeletonRenderer(templet: SpineTempl...

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