大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
... private fontName: string = "diyFont"; constructor() {super();} onAwake(): void { //加载位位图字体 this.loadBitmapFont(); } /** * 实例化位图字体类,并加载位图字体 */ loadBitmapFont(): void { let bitmapFont: Laya.BitmapFont = new Laya.BitmapFont(); bitmapFont.loadFont("res/vvv....
来源: Laya2.0_文档 发布时间: 20210715
...efined in laya/display/cmd/DrawTexturesCmd.ts:9 Methods recover recover(): void Defined in laya/display/cmd/DrawTexturesCmd.ts:36 回收到对象池 Returns void Globals "laya/display/cmd/DrawTexturesCmd" DrawTexturesCmd colors pos texture ID recover Legend Object literal Variable Function Type alia...
来源: Laya3.0_api 发布时间: 20231115
... Laya.stage.once(Event.CLICK,this,onClick); } private function onClick():void { trace("aaa"); Laya.stage.off(Event.CLICK,this,onClick); Laya.timer.once(500,this,onLoop); } private function onLoop():void { Laya.stage.once(Event.CLICK,this,onClick); } 2017-06-20 1 0 分享 微博 QZONE 微信 为什...
来源: Laya_社区 发布时间: 20170619
...偏移量。 DrawTextureCmdPublic Methods MethodDefined By recover():void 回收到对象池 DrawTextureCmdPublic Constants ConstantDefined By ID : String = DrawTexture[static] DrawTextureCmdProperty Detailalphapropertypublic var alpha:Number (可选)透明度。 blendModeproperty publ...
来源: Laya2.0_api 发布时间: 20190513
...ut3DPublic Methods MethodDefined By __init__(canvas:*, scene:Scene3D):void private Input3D getTouch(index:int):Touch 获取触摸点。 Input3D touchCount():int 获取触摸点个数。 Input3DProperty DetailmultiTouchEnabledpropertymultiTouchEnabled:Boolean 获取是否可以使用多点...
来源: Laya2.0_api 发布时间: 20190513
...stener(Event.ADDED_TO_STAGE,init); } } private function init(e:Event=null):void { urlLoader=new URLLoader(); urlLoader.dataFormat=URLLoaderDataFormat.BINARY; urlLoader.addEventListener(Event.COMPLETE,onImageLoaded); urlLoader.load(new URLRequest("screen.png")); } private function onImageLoaded(event...
来源: Laya_社区 发布时间: 20151228
...ment接口] Returns number _setIndexInList _setIndexInList(index: number): void Implementation of ISingletonElement._setIndexInList Defined in laya/d3/Touch.ts:50 [实现ISingletonElement接口] Parameters index: number Returns void Globals "laya/d3/Touch" Touch identifier position _getIndexInList _...
来源: Laya3.0_api 发布时间: 20231102
...p.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ Laya.Animation.createFrames([swimpoorpath01,swimpoorpath02],"swimpoolani"); Laya.stage.addChild(this.swimpoolani); this.swimpoolani.play(0,true,"swimpoolani"); this.swimpoolani.interval = 500; } ...
来源: Laya_社区 发布时间: 20190805
...ivate const stand:String = "STAND"; private function loadActionsComplete():void { //创建动画模板dizziness //Animation.createFrames(aniUrls("zy/" + stand + "000", 5), stand + "000");//这么写也不对 Animation.createFrames(aniUrls(stand + "000", 5), stand + "000"); ...
来源: Laya_社区 发布时间: 20170821
...画布)。 StrokeTextCmdPublic Methods MethodDefined By recover():void 回收到对象池 StrokeTextCmdPublic Constants ConstantDefined By ID : String = StrokeText[static] StrokeTextCmdProperty Detailcolorpropertypublic var color:String 定义文本颜色,比如"#ff0000"。 fontproperty...
来源: Laya2.0_api 发布时间: 20190513