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

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

281. laya.d3.graphics.StaticBatchManager [ 76%]

...理的父类。 Public Methods  MethodDefined By  StaticBatchManager() 创建一个 StaticBatchManager 实例。 StaticBatchManager  combine(staticBatchRoot:Sprite3D, renderableSprite3Ds:Vector.<RenderableSprite3D> = null):void[static] 静态批处理合并,合并后子节点修改Trans...

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

282. Button属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 76%]

# Button 组件详解 ## 1、创建Button组件   按钮(Button)组件是最常用的组件之一,可以显示文本标签、图标或者两者同时显示。在LayaAirIDE里的按钮图片资源(按钮皮肤)命名通常是以btn为前缀,如图1所示。 ![图1](img/1.png) (图1...

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

283. 加载-销毁Texture使用的图片资源 [ 76%]

...rite, Animation = Laya.Animation, Text = Laya.Text, Event = Laya.Event; // 创建背景 this.spBg = Sprite.fromImage(PathBg); Laya.stage.addChild(this.spBg); // 创建动画 this.aniFly = new Animation(); this.aniFly.loadAtlas(PathFly); this.aniFly.play(); this.aniFly.pos(250, 100); Laya.stage.addCh...

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

284. laya.d3.renderobjs.renderobj.FastSinglelist_API3.0 [ 76%]

...ed from SingletonList.constructor Defined in laya/utils/SingletonList.ts:9 创建一个新的 SingletonList 实例。 Returns FastSinglelist Methods destroy destroy(): void Inherited from SingletonList.destroy Defined in laya/utils/SingletonList.ts:76 Returns void indexof indexof(element: T): number...

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

285. 通过模版创建TypeScript类文件的建议 [ 76%]

通过模版创建TypeScript类文件的建议 通过模版创建TypeScript类文件时发现一个不便的地方,当我想创建抽象类或接口时没有办法指定,只能创建完ts文件,手动修改interface或abstract class代码,如果在创建时有一个选项感觉会方便很...

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

286. laya.d3.terrain.TerrainHeightData [ 76%]

... By  TerrainHeightData(width:int, height:int, bitType:int, value:Number) 创建一个 TerrainHeightData 实例。 TerrainHeightData  _pharse(data:*, propertyParams:Object = null, constructParams:Array = null):void[static] 异步回调 TerrainHeightData  load(url:String, complete:Handler, widht...

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

287. laya.d3.core.particleshuriken.module.shape.BoxShape_API3.0 [ 76%]

...eShuriKen/module/shape/BoxShape" BoxShape Class BoxShape BoxShape 类用于创建球形粒子形状。 Hierarchy BaseShape BoxShape Implements IClone Index Constructors constructor Properties enable randomDirection shapeType x y z Methods clone cloneTo generatePositionAndDirection Constructors const...

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

288. 【简单跑酷--JS版】---Lv.3 添加地板 [ 76%]

...lay.Sprite); var _proto = Floor.prototype; _proto.init = function(type){ //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } //在地板上面添加物品 _proto.addItem = function(){ } _proto.onLoop = function(){ } })(); 因为是一个跑酷的游戏 所以 我们之...

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

289. HScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 76%]

# HScrollBar 组件参考 ## 一、通过LayaAirIDE创建HScrollBar组件 ### 1.1创建HscrollBar ​ HScrollBar 组件是一个水平方向滚动条组件。 ​ 当数据太多以至于显示区域无法容纳时,最终用户可以使用 HScrollBar 组件控制所显示的数据部分。 ​ 滚...

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

290. 导航标签组组件 · LayaAir3.0文档 · LAYABOX [ 76%]

导航标签组组件(Tab)一、通过LayaAir IDE创建Tab组件1.1 创建Tab1.2 Tab属性1.3 脚本控制Tab二、通过代码创建Tab组件导航标签组组件(Tab) Tab是导航标签组组件,用于定义选项卡按钮组,例如多页面切换显示,效果如动图1所示。Tab...

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