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

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

71. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 64%]

...ixelCount; } private function toLocal(point:Object,mc:Sprite):Point { /* * 参数point可以是Point类型和DisplayObject类型 * mc是目标对象 */ var p:Object; if(point is Sprite) { p = new Point(); p.x = point.x; p.y = point.y; p = localToGlobal(Sprite(point)); }else if(point is Point) { p = ...

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

72. laya.map.GridSprite_API3.0 [ 64%]

...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearAll clearAll(): void Defined in laya/map/GridSprite.ts:109 重置当前对象的所有属性 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearT...

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

73. laya.ui.UIComponent_API3.0 [ 64%]

... String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定...

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

74. laya.physics.PhysicsDebugDraw_API3.0 [ 64%]

...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.timer.clearTimer()。 Parameters calle...

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

75. laya.html.dom.HTMLDivElement_API3.0 [ 64%]

...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:599 清理定时器。功能同Laya.timer.clearTimer()。 Parameters calle...

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

76. laya.ui.ScaleBox_API3.0 [ 64%]

... String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定...

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

77. laya.display.Animation_API3.0 [ 63%]

...否循环播放,调用play(...)方法时,会将此值设置为指定的参数值。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough Defined in laya/display/Sprite.ts:260 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕...

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

78. laya.map.TileAniSprite_API3.0 [ 63%]

...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearAll clearAll(): void Defined in laya/map/TileAniSprite.ts:41 清理 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/disp...

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

79. 使用百度地图显示当前位置(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 63%]

...标转换至百度地图坐标,由于它是作为convertor.translate()的参数,所以触发时作用域会被改变,因此在这里绑定了该函数的作用域。 ##### 2.1 init函数: ```java function init() { mapDiv = Laya.Browser.createElement("div"); Laya.Browser.document.body.appendC...

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

80. laya.ani.swf.MovieClip_API3.0 [ 63%]

...rentMovieClip: MovieClip = null 父MovieClip,自己创建时不需要传该参数 Returns MovieClip Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/...

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