大约有 2,154 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0059 秒)
Laya3.0_api(672) Laya_社区(471) Laya2.0_api(357) laya_api(289) Laya_示例(150) Laya2.0_示例(112) Laya2.0_文档(98) Laya3.0_文档(5)
...开发更高效。let character, duration = 2000, tween; class Tween_EaseFunctionsDemo { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage, Browser = Laya.Browser, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.al...
来源: Laya2.0_示例 发布时间: 20241119
...:Number 开始绘制的 Y 轴位置。 Method Detailrecover()method public function recover():void 回收到对象池 Constant DetailIDConstantpublic static const ID:String = DrawCurvesMon May 13 2019, 03:12 PM +08:00
来源: Laya2.0_api 发布时间: 20190513
...age=ch&category=3d&group=Resource&name=GarbageCollection)) ```typescript function(e:Event):void { _castType++; _castType %= 2; switch (_castType) { case 0: (e.target as Button).label = "释放显存"; loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (_scene)//_scene不...
来源: Laya2.0_文档 发布时间: 20210715
类未找到方法 public class Welcome extends welcomeUI { public function Welcome() { requestData(); } private function requestData():void{ RequestConfig.instance.getRequestConfig(String(0), requestCallback); } private function requestCallback(success:Boolean):void { if(success) { loadingRes(); }...
来源: Laya_社区 发布时间: 20170118
...tic] VertexElementFormatMethod DetailgetElementInfos()method public static function getElementInfos(element:String):Array 获取顶点元素格式信息。 Parameters element:StringReturnsArrayConstant DetailByte4Constantpublic static const Byte4:String = byte4ColorConstant public static const Colo...
来源: Laya2.0_api 发布时间: 20190513
...Boolean = true是否开启多点触控Method DetailrunEvent()method public function runEvent():void 执行事件处理。 Constant DetailinstanceConstantpublic static const instance:MouseManager MouseManager 单例引用。 Fri Sep 29 2017, 06:34 PM +08:00
来源: laya_api 发布时间: 20170929
...的方式不对 public var scene:Scene3D; public var camera:Camera; public function SkyBoxSample1() { Laya3D.init(0, 0); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); //Laya.stage.on(Event.RIGHT_MOUSE_DOWN, this, Destruction); scene = Main.box3D.add...
来源: Laya_社区 发布时间: 20181017
... y:Number 开始绘制的Y轴位置。 Method Detailrecover()method public function recover():void 回收到对象池 Constant DetailIDConstantpublic static const ID:String = DrawLinesMon May 13 2019, 03:12 PM +08:00
来源: Laya2.0_api 发布时间: 20190513
... 0; private var mFactory2:Templet; private var mLabelSprite:Sprite; public function Skeleton_SpineEvent() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); mLabelSprite = new Sprite(); startFun(); } public function startFun():void { mAniPath = "...
来源: Laya2.0_示例 发布时间: 20241119
...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var Image = Laya.Image; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.align...
来源: Laya_示例 发布时间: 20241119