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

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

1251. 怎么打开第二个工程 [ 67%]

...a.device.media.Video; import laya.events.Event; import laya.utils.Browser; public class Main { public function Main() { Laya.init(500,500); Laya.stage.once(Event.CLICK,this,this.clickHandler); } private function clickHandler():void { var iframe:Object = Browser.document.createElement("iframe"); ifra...

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

1252. laya.d3.core.render.PostProcessRenderContext_API3.0 [ 67%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/PostProcessRenderContext" PostProcessRenderContext Class PostProcessRenderContext PostProcessRenderContext 类用于创建后期...

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

1253. Animation的createFrames为何加载不了有的图集资源 [ 67%]

...er; import laya.ui.Image; import laya.utils.Handler; import view.TestView; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400); //Laya.loader.load([{url: "res/atlas/char_wudang01.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); this.onLoade...

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

1254. laya.d3.core.TransLargeUBOUtils_API3.0 [ 67%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/TransLargeUBOUtils" TransLargeUBOUtils Class TransLargeUBOUtils Hierarchy TransLargeUBOUtils Index Properties bindUBO currentlength defa...

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

1255. laya.d3.renderobjs.nativeobj.NativeRenderGeometryElementOBJ_API3.0 [ 67%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeRenderGeometryElementOBJ" NativeRenderGeometryElementOBJ Class NativeRenderGeometryElementOBJ Hierarchy NativeRend...

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

1256. 【分享】Laya As3 Tween类的loop实现和3d简单缓动实现 [ 67%]

...的同学有所帮助。 实现功能 1 增加loop类型: loop , pingpongpublic static const LoopType_None:String = "none"; public static const LoopType_Pingpong:String = "pingpong"; public static const LoopType_Loop:String = "loop"; 2 增加简单3d缓动: Position,Scale,Rotation,Color   demo如...

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

1257. 二进制图片(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 67%]

...laya.events.Event; import laya.net.HttpRequest; import laya.utils.Browser; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var sp:Sprite = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(E...

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

1258. 分享:SWF LABEL标签的使用! [ 67%]

...!  package { import laya.ani.swf.MovieClip; import laya.events.Event; public class SwfLabelUse { private var mc:MovieClip; public function SwfLabelUse() { Laya.init(600,600); Laya.stage.bgColor="#EEFFCC"; mc=new MovieClip(); mc.load("output/AAA.swf"); mc.on(Event.LOADED,this,onLoaded); Laya.stage...

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

1259. laya.display.css.TextStyle_API3.0 [ 67%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/css/TextStyle" TextStyle Class TextStyle 文本的样式类 Hierarchy TextStyle Index Constructors constructor Properties align bold col...

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

1260. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 67%]

... /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public _move_img: Image; // public _list: List; //创建一个 List 类的实例对象 list 。 private n:number = 0; private x0:number = 0; private y0:number = 0; constructor(){super();} onEnable():void{ this.x = this.x0; th...

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