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

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

371. laya.ui.FontClip_API3.0 [ 43%]

...ponent.ts:281 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标...

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

372. 时间轴动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 43%]

...,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui.atlas", Laya.Handler.create(this, onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```javascript //创建一个Animation实例 var tl = new Laya.Animation(); //加载动画文件 tl.loadAnimation("TimeLine.ani"); ``` ...

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

373. laya.d3.core.light.SpotLight [ 42%]

...类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String ...

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

374. laya.ui.ScrollBar [ 42%]

...直方向中心线的距离(以像素为单位)。 Component  changeHandler : Handler滚动变化时回调,回传value参数。ScrollBar comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能...

来源: laya_api 发布时间: 20170929

375. 时间轴动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 42%]

...,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui.atlas",Laya.Handler.create(this,this.onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```typescript //创建一个Animation实例 var tl:Laya.Animation = new Laya.Animation(); //加载动画文件 tl.loadAnimation("Ti...

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

376. 用Unity插件导出的模型渲染报错 [ 42%]

...019-05-16 15:16 Laya.loader.create("model/role/1/model.lh", Laya.Handler.create(this, this.OnComplete)); private OnComplete():void { let sprite:Laya.Sprite3D = Laya.loader.getRes("model/role/1/model.lh"); this._scene.addChild(sprite); } 155*****924 • 2019-05-16 15:16 这样写...

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

377. laya.ui.CheckBox [ 42%]

...直方向中心线的距离(以像素为单位)。 UIComponent clickHandler : Handler 对象的点击事件处理器函数(无默认参数)。 Button customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲...

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

378. Laya 绑定显示内容到骨骼动画 [ 42%]

...    this.__bind.load(GamePath.single.getSpinePath("tank_blue.sk"),Laya.Handler.create(this,this.testLoadComplete));   }      private __bind:BindSkeleton;     private testLoadComplete():void{          let source:BindSource=new BindSource("gongji");         source.gr...

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

379. laya.ui.Radio [ 42%]

...直方向中心线的距离(以像素为单位)。 UIComponent clickHandler : Handler 对象的点击事件处理器函数(无默认参数)。 Button customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲...

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

380. socket大型项目回调 [ 42%]

...01; private socket:Laya.Socket = null; private callbacks:any = {}; private handlers:any = {}; // Map from request id to route private routeMap = {}; private heartbeatInterval:number = 0; private heartbeatTimeout:number = 0; private nextHeartbeatTimeout:number = 0; private gapThreshold:number = 100; ...

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