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

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

1111. 如何实现类似AS3下的BitmapData.draw去截取区域图片? [ 67%]

....utils.Handler;     public class CupPhone     {         public function CupPhone()         {             Laya.init(550,400);             Laya.loader.load("walk.png",Handler.create(this,onLoaded));         }         private function onLoaded():void   ...

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

1112. LayaEnv_API3.0 [ 67%]

...ch isPlaying isPreview version IStageConfig Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static property

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

1113. laya.d3.renderobjs.renderobj.QuickSort_API3.0 [ 67%]

...derObjs/RenderObj/QuickSort" QuickSort sort Legend Object literal Variable Function Type alias Class Class with type parameter Method Enumeration Interface

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

1114. laya.resource.WebGLRTMgr_API3.0 [ 67%]

...urce/WebGLRTMgr" WebGLRTMgr getRT releaseRT Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static method

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

1115. laya.d3.webxr.core.WebXRCameraInfo_API3.0 [ 67%]

...ra depthFar depthNear WebXRExperienceHelper Legend Object literal Variable Function Type alias Class Class with type parameter Property Enumeration Interface

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

1116. laya.utils.FontInfo_API3.0 [ 67%]

...uctor setFont parse _lastFont _lastFontInfo Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Static method

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

1117. 屏幕适配-屏幕适配 [ 67%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Text = Laya.Text; var Event = Laya.Event; var Image = Laya.Image; var WebGL = Laya.WebGL; //所有适配模式 var modes = ["noscale", "exactfit", "showall", ...

来源: Laya_示例 发布时间: 20260106

1118. 请问一下,怎么将下面这段AS3代码翻译成LayaAir的API [ 67%]

...urce.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/monkey2.png'); var sp:Sprite...

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

1119. 照相机-正交相机 [ 67%]

...onkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { layaMonkey.transform.localScale = new Laya.Vector3(3, 3, 3); //转换2D屏幕坐标系统到3D正交投影下的坐标系统 camera.convertScreenCoordToOrthographicCoord(pos, _translate); layaMonkey.transform.po...

来源: Laya_示例 发布时间: 20260106

1120. l龙骨动画内存上升 [ 67%]

...升,求解决方法 留言给我;要下班了;谢谢 大家 public function LayaSample() {             //初始化引擎             Laya.init(1136, 640, WebGL);             Laya.stage.bgColor = "#ffffff";             Laya.stage.on(Event.CLICK, this, play); ...

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