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

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

651. laya.ui.ViewStack [ 81%]

...mes No Frames ViewStackProperties | Methods | Events Packagelaya.uiClasspublic class ViewStackInheritanceViewStack Box Component Sprite Node EventDispatcher ObjectImplements IItem ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Public Properties Hide Inherited Public ...

来源: laya_api 发布时间: 20170929

652. laya.d3.animation.AnimationClip [ 81%]

...No Frames AnimationClipProperties | Methods Packagelaya.d3.animationClasspublic class AnimationClipInheritanceAnimationClip laya.resource.Resource AnimationClip 类用于动画片段资源。 Public Properties PropertyDefined By  islooping : Boolean是否循环。AnimationClipPublic Methods  M...

来源: laya_api 发布时间: 20170929

653. laya.map.MapLayer [ 81%]

...mes No Frames MapLayerProperties | Methods | Events Packagelaya.mapClasspublic class MapLayerInheritanceMapLayer Sprite Node EventDispatcher Object 地图支持多层渲染(例如,地表层,植被层,建筑层等) 本类就是层级类 Public Properties Hide Inherited Public Properties ...

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

654. laya.ui.UIEvent [ 81%]

...es No Frames UIEventProperties | Methods | Constants Packagelaya.uiClasspublic class UIEventInheritanceUIEvent Event Object UIEvent 类用来定义UI组件类的事件类型。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By altKey : Boolea...

来源: laya_api 发布时间: 20170929

655. 多光源渲染(TypeScript-3D基础(TS)-LayaAir3D之灯光) [ 81%]

...lass LightMoveScript extends Laya.Script3D { //需要操作的光源数组 public lights = []; //光源对应的位置偏移数组 public offsets = []; //光源对应的移动半径数组 public moveRanges = []; public onUpdate(){ var seed = Laya.timer.currTimer * 0.002; for (var i = 0, n = this.lig...

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

656. 多光源渲染(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 81%]

...lass LightMoveScript extends Laya.Script3D { //需要操作的光源数组 public lights = []; //光源对应的位置偏移数组 public offsets = []; //光源对应的移动半径数组 public moveRanges = []; public onUpdate(){ var seed = Laya.timer.currTimer * 0.002; for (var i = 0, n = this.lig...

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

657. laya.ui.DialogManager [ 81%]

...No Frames DialogManagerProperties | Methods | Events Packagelaya.uiClasspublic class DialogManagerInheritanceDialogManager Sprite Node EventDispatcher Object DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意对话框打开和关闭,...

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

658. laya.map.GridSprite [ 81%]

...s No Frames GridSpriteProperties | Methods | Events Packagelaya.mapClasspublic class GridSpriteInheritanceGridSprite Sprite Node EventDispatcher Object 地图的每层都会分块渲染处理 本类就是地图的块数据 Public Properties Hide Inherited Public Properties Show Inherited Public P...

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

659. 分享个用美术资源做位图文本的方法。。。 [ 81%]

...tes: Laya.Sprite; // 位置类型 private _posType: string; // 左 右 中 public static LEFT: string = "left"; public static RIGHT: string = "right"; public static CENTER: string = "center"; constructor(jsonData: any,textureData: Laya.Texture,width: number,posType:string = "left"){ super(); this.wi...

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

660. 二次开发(TypeScript-LayaNative原生服务-LayaNative进阶) [ 81%]

...### 1.2 Android/Java层 在类JSBridge中添加下列函数: ```javascript public static String testString(String value) { Log.d("JSBridge", "java: " + value); return "LayaBox"; } public static double testNumber(double value) { Log.d("JSBridge", "java: " + value); return 512; } public static boolean...

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