大约有 7 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0019 秒)
...rotected All Inherited Externals Only exported Menu Globals "laya/ani/bone/EventData" EventData Class EventData 事件数据 Hierarchy EventData Index Constructors constructor Properties audioValue floatValue intValue name stringValue time Constructors constructor new EventData(): EventData Defined ...
来源: Laya3.0_api 发布时间: 20231115
...I DocumentationAll Packages | All Classes | Index | Frames No Frames EventDataProperties | Methods Packagelaya.ani.boneClasspublic class EventDataInheritanceEventData ObjectPublic Properties PropertyDefined By floatValue : NumberEventData intValue : intEventData name : StringEventD...
来源: laya_api 发布时间: 20170422
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var EventData = Laya.EventData; var Skeleton = Laya.Skeleton; var Templet = Laya.Templet; var Sprite = Laya.Sprite; var Event = Laya.Event; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var Tween = L...
来源: Laya_示例 发布时间: 20241117
...se); } onEvent(e) { const Tween = Laya.Tween, Handler = Laya.Handler; let tEventData = e; Laya.stage.addChild(mLabelSprite); mLabelSprite.pos(mStartX, mStartY); mLabelSprite.graphics.fillText(tEventData.name, 0, 0, "20px Arial", "#ff0000", "center"); Tween.to(mLabelSprite, { y: mStartY - 200 }, 1000...
来源: Laya2.0_示例 发布时间: 20241117
...备不支持DeviceMotion事件");}'); __JS__('function deviceMotionHandler(eventData){var acceleration = eventData.accelerationIncludingGravity'); __JS__('var curTime = new Date().getTime()'); __JS__('if ((curTime - last_update) > 100 && canShake == 1){var diffTime = curTime - last_update...
来源: Laya_社区 发布时间: 20160110
...his, completeHandler); play(); } private function onEvent(e:*):void { var tEventData:EventData = e as EventData; Laya.stage.addChild(mLabelSprite); mLabelSprite.x = mStartX; mLabelSprite.y = mStartY; mLabelSprite.graphics.clear(); mLabelSprite.graphics.fillText(tEventData.name, 0, 0, "20px Arial", "...
来源: Laya_社区 发布时间: 20170406
...rentScene(): void; } } //多级模块 declare module laya.ani.bone { class EventData { name:string; intValue:number; floatValue:number; stringValue:string; audioValue:string; time:number; constructor(); } } //LayaAir多级模块的写法,在使用引擎进行实际开发过程中不能使用,这...
来源: Laya2.0_文档 发布时间: 20210715