大约有 3,008 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0058 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
API DocumentationAll Packages | All Classes | Index | Frames No Frames Vector3Properties | Methods Packagelaya.d3.mathClasspublic class Vector3InheritanceVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties PropertyDefined By x : NumberX...
来源: Laya2.0_api 发布时间: 20190513
...ort laya.ui.Image; import laya.utils.Handler; import ui.TestViewUI; public class TestView extends TestViewUI { private var PATH_LEN:Number = 120.0; private var speed:Number = 15; private var _path:Sprite = new Sprite(); private var arr:Array = []; public function TestView() { super(); _path.pivot(0,...
来源: Laya_社区 发布时间: 20171113
...stem.LoaderContext; import flash.system.Capabilities; public class Main extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } ...
来源: Laya_社区 发布时间: 20170317
...laya.display.Text; import laya.utils.Stat; import laya.webgl.WebGL; public class Test { private var text:Text; public function Test() { Laya.init(550,400,WebGL); Stat.show(); var textBox:Sprite =new Sprite(); for(var i:int=0;i (图1) 当我们对文字所在的容器设置为cacheAs之...
来源: Laya2.0_文档 发布时间: 20210715
API DocumentationAll Packages | All Classes | Index | Frames No Frames LoaderProperties | Methods | Events | Constants Packagelaya.netClasspublic class LoaderInheritanceLoader EventDispatcher Object Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 Public Prope...
来源: Laya2.0_api 发布时间: 20190513
...nction (_super) { function Load_() { Load_.super(this); } //注册类 Laya.class(Load_, "Load_", _super); var _proto = Load_.prototype; _proto.run_Fast = function () { console.log("逻辑处理"); } return Load_; })(Laya.Sprite);我的代码,但是下面的继承位置Laya.Sprite这里不写会报...
来源: Laya_社区 发布时间: 20180705
...aya.utils.Browser; import laya.utils.Stat; import laya.webgl.WebGL; public class ASDemo { private var mAniPath:String; private var mFactory:Templet; private var mCurrIndex:int = 0; private var mArmature:Skeleton; public function ASDemo() { WebGL.enable(); Laya.init(Browser.width, Browser.height); La...
来源: Laya_社区 发布时间: 20170406
...als Only exported Menu Globals "laya/resource/RenderTexture" RenderTexture Class RenderTexture Hierarchy BaseTexture RenderTexture WebXRRenderTexture RenderTextureCube Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget _renderTarget destroy...
来源: Laya3.0_api 发布时间: 20231115
... this.listArr[0].refresh() } /** * 创建BOX */ class Item extends Laya.Box{ public static WID:number =100; public static HEI:number =30; constructor(){ super() this.size(Item.WID,Item.HEI); var img1 =n...
来源: Laya_社区 发布时间: 20190522
...liwenhua • 2017-03-19 18:00 呃呃,代码我用的这个 // 程序入口 class GameMain{ constructor() { //Laya.init(600,400); Laya3D.init(600,400); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; //创景场景 var scene:Laya.Scene = new Laya.Scene(); Laya.stage.addChild(scene); //创建摄像机 v...
来源: Laya_社区 发布时间: 20170319