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

大约有 3,041 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)

2311. List选中项下滚会变 [ 49%]

...eHandler = new Laya.Handler(this,this.onMouse);//鼠标事件响应 } Laya.class(ServerListView,"ServerListView",_super); var _proto_ = ServerListView.prototype; //选择列表项时的相应时间,参数index是选中项的下标 // _proto_.onSelect = function(index){ // console.log("index",index...

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

2312. EXT:webgl support OES_vertex_array_object! [ 49%]

...defined? 关于同为object层,层级设置无效的问题 Warning!,this class[MiniAdpter] already exist: Object {init: } LayaAirIDE2.2 - Laya3D init error ,must support webGL 在初始化时候使用canvas 或者WebGL 两种模式对使用引擎有什么区别? 2.5引擎版本webgl使用遮罩...

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

2313. 3D场景中背景无法透明,版本2.7.1 [ 49%]

...2.7.1 版本为2.7.1,无法背景透明,永远是黑色 export default class GameUI extends Laya.Scene { constructor() { super(); Config.isAlpha = true; Laya.init(480, 900); Laya.stage.bgColor = null; //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene = Laya....

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

2314. 脚本的事件(ActionScript-3D基础(AS3)-LayaAir3D的脚本使用) [ 49%]

...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.component.Script3D))。 关于脚本的添加使用这里不做过的讲解,在以往的示例中都有或多或少的使用脚本。关于脚本的官方示例([demo地址](https://layaair.ldc.layabox.com/d...

来源: Laya2.0_文档 发布时间: 20210715

2315. 输入设备-地图 [ 49%]

...Info; import Browser = Laya.Browser; import Handler = Laya.Handler; export class InputDevice_Map { // 百度地图 private map; private marker; private BMap = Browser.window.BMap; private convertor = new this.BMap.Convertor(); // Div private mapDiv; private infoText:Text; constructor() { Laya.init(B...

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

2316. laya.display.Graphics_API3.0 [ 49%]

...ited Externals Only exported Menu Globals "laya/display/Graphics" Graphics Class Graphics Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行...

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

2317. [LayaAirIDE 2.0]Particle2D无法直接拖拽到场景中使用,望解决 [ 49%]

...t","runtime":"laya.particle.Particle2D"}运行报错 Uncaught Can not find class laya.particle.Particle2D 我将laya.particle.Particle2D 改成 Particle2D就运行正常,但是ui编辑页面无法正常打开了。   简单说就是particle2D编辑好不能直接拖到别的场景使用  附件 ...

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

2318. Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug [ 49%]

...成后调用Loader.clearRes后,并不能真正释放资源的bug demo: class NewTest { public static url: string = "333.json"; private loadedMap; constructor() { this.loadedMap = Laya.Loader["loadedMap"];  Laya.init(720, 1280, Laya.WebGL); Laya.Stat.show(0,0); Laya.stage.alignH = "center"; Laya.s...

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

2319. laya.d3.resource.TextureCube_API3.0 [ 49%]

...nals Only exported Menu Globals "laya/d3/resource/TextureCube" TextureCube Class TextureCube TextureCube 类用于生成立方体纹理。 Hierarchy BaseTexture TextureCube Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel co...

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

2320. 3Ddemo加载Unity导出场景报错resou._removeReference is not a function [ 49%]

...,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super();          //加载3D场景 //var scene: Laya.Scene3D = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; Laya.Scene3D.load("res/LayaScene_terrain...

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