大约有 1,125 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
Laya_社区(426) Laya3.0_api(324) Laya2.0_api(157) laya_api(90) Laya2.0_文档(47) Laya3.0_文档(35) Laya_示例(32) Laya2.0_示例(14)
API DocumentationAll Packages | All Classes | Index | Frames No Frames Sprite3DProperties | Methods | Events Packagelaya.d3.coreClasspublic class Sprite3DInheritanceSprite3D Node EventDispatcher ObjectImplements laya.resource.ICreateResourceSubclasses BaseCamera, LightSprite, RenderableSpr...
来源: Laya2.0_api 发布时间: 20190513
...t laya.net.Loader; import laya.utils.Handler; import view.TestView; public class LayaUISample { private var dd:*; public function LayaUISample() { //初始化引擎 Laya.init(600, 400); //判断是否在加速器端 __JS__("if(window.conch)") { //获取loadingview的实例 dd=__JS__("window.loadingV...
来源: Laya_社区 发布时间: 20160918
...,只是借助了as的语法,而js是prototype语言,没有显式的class机制,所以没有直接的api帮你拿到类结构。还有一个方法是做类型转换,然后判断结果是否为null,这一样需要些枚举。
来源: Laya_社区 发布时间: 20180404
API DocumentationAll Packages | All Classes | Index | Frames No Frames BoxColliderProperties | Methods Packagelaya.physicsClasspublic class BoxColliderInheritanceBoxCollider ColliderBase Component Object 2D矩形碰撞体 Public Properties Hide Inherited Public Properties Show Inherited Pub...
来源: Laya2.0_api 发布时间: 20190513
... Menu Globals "laya/d3/core/pixelLine/PixelLineRenderer" PixelLineRenderer Class PixelLineRenderer PixelLineRenderer 类用于线渲染器。 Hierarchy BaseRender PixelLineRenderer Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scr...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames ShurikenParticleMaterialProperties | Methods | Constants Packagelaya.d3.core.particleShuriKenClasspublic class ShurikenParticleMaterialInheritanceShurikenParticleMaterial BaseMaterial laya.resource.Resource ShurikenPart...
来源: Laya2.0_api 发布时间: 20190513
...et.Loader; import laya.resource.Texture; import laya.utils.Handler; public class LayaAirDemo { public function LayaAirDemo() { Laya.init(700,600); Laya.loader.load('res/apes/monkey2.png',Handler.create(this,onLoaded)) } private function onLoaded():void { var texture:Texture=Loader.getRes('res/apes/m...
来源: Laya_社区 发布时间: 20170414
...t Browser = Laya.Browser; import Point = Geometry.Point; // 程序入口 class GameMain{ constructor() { Laya.init(Browser.width, Browser.height, WebGL); this.CreateCircle(); // this.CreateRectangle(); } private firstSp: Laya.Sprite; private _adaptSp: Laya.Sprite; private _pointList : Point[]; pri...
来源: Laya_社区 发布时间: 20190314
...nly exported Menu Globals "laya/d3/core/trail/TrailRenderer" TrailRenderer Class TrailRenderer TrailRenderer 类用于创建拖尾渲染器。 Hierarchy BaseRender TrailRenderer Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor script...
来源: Laya3.0_api 发布时间: 20231115
... Laya.Scene.root.addChild(t); } } //激活启动类 new Main(); class tt extends Laya.Node{ constructor(){ super(); } public onAwake():void{ console.log(1111); } } 2.继承Sprite 执行后会有onAwake let...
来源: Laya_社区 发布时间: 20190701