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

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

231. 定时器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 82%]

...ay, caller, method, args, coverBefore); } 使用示例如下: const { regClass } = Laya; import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { //60帧后,图片的透明度变为0.5 Laya.timer.frameOnce...

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

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_示例 发布时间: 20250222

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

...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. 图集动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 82%]

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

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

238. 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

239. 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

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