大约有 1,766 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(625) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(86) Laya2.0_api(67) laya_api(64)
...aya.utils.Ease; import laya.utils.Handler; import laya.utils.Tween; public class LayaAirDemo { private var sp:Sprite; private var num:int; public function LayaAirDemo() { Laya.init(550,400); sp=new Sprite(); sp.graphics.drawCircle(0,0,50,"#00FFFF"); Laya.stage.addChild(sp); sp.pos(100,100); Tween.to...
来源: Laya_社区 发布时间: 20160913
...uanjing); Laya.propertyIsEnumerable = true; } Laya.class(Lload,"Lload",ui.loadUI); Lload.prototype.dh = function(){ this.ani1.play(0,true); Tween.to(this.bigfont,{scaleX:1,scaleY:1},500,Ease.backOut,null,0) Tween.to(this.smallfont,{y:...
来源: Laya_社区 发布时间: 20160815
...ternals Only exported Menu Globals "laya/components/Animator2D" Animator2D Class Animator2D Animator2D2D动画组件 Hierarchy Component Animator2D Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked controller destroyed enabled hideFlags id isPl...
来源: Laya3.0_api 发布时间: 20231115
...建一个空项目。具体代码如下所示: ```java // 程序入口 class LayaSample{ constructor() { Laya.init(100,100); var sessionStorage:any = Laya.Browser.window.sessionStorage; if(sessionStorage.pagecount){ sessionStorage.pagecount = parseInt(sessionStorage.pagecount)+1; } else{ sessionSt...
来源: Laya2.0_文档 发布时间: 20210715
...码如下package { import laya.display.Text; /** * ... * @author */ public class HelloWorld{ public function HelloWorld(){ //创建舞台 Laya.init(600, 300);//舞台默认背景色是黑色的 var txt:Text = new Text(); txt.text = "Hello, World!"; //设置文本颜色 txt.color = '#FF0000'; //设...
来源: Laya_社区 发布时间: 20180914
...nly exported Menu Globals "laya/d3/core/light/PointLightCom" PointLightCom Class PointLightCom Hierarchy Light PointLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix light...
来源: Laya3.0_api 发布时间: 20231115
...Externals Only exported Menu Globals "laya/gltf/glTFResource" glTFResource Class glTFResource Hierarchy Prefab glTFResource Index Constructors constructor Properties destoryedImmediately lock name url uuid version DEBUG Accessors cpuMemory deps destroyed gpuMemory id obsolute referenceCount cpuMemor...
来源: Laya3.0_api 发布时间: 20231102
...ternals Only exported Menu Globals "laya/device/media/HtmlVideo" HtmlVideo Class HtmlVideo html多媒体数据 Hierarchy Bitmap HtmlVideo Index Constructors constructor Properties destoryedImmediately lock name url uuid video DEBUG Accessors cpuMemory destroyed gpuMemory height id obsolute reference...
来源: Laya3.0_api 发布时间: 20231102
...xternals Only exported Menu Globals "laya/spine/SpineTemplet" SpineTemplet Class SpineTemplet Spine动画模板基类 Hierarchy Resource SpineTemplet Index Constructors constructor Properties _id destroyedImmediately lock name skeletonData url uuid DEBUG RuntimeVersion Accessors basePath cpuMemory d...
来源: Laya3.0_api 发布时间: 20231115
...HTMAP = customTerrainCompile3D.registerMaterialDefine("CUSTOM_LIGHTMAP"); }class Shader_Terrain { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.initShader(); var scene: Laya.Scene = Laya.s...
来源: Laya_示例 发布时间: 20260303