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

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

13261. 灯光-聚光 [ 41%]

...Child(new Laya.Scene()); var camera = (scene.addChild(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //聚光灯 var spotLight = scene.addChild(new L...

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

13262. getimagedata直接调用无法获取有效像素问题 [ 41%]

...e转存成图片 无意间找到了 答案 getimagedata无法直接使用 1 需要先 c= Laya.stage.drawToCanvas(720,1280, 0,0) 2 然后 调用 t = new Trxture(c); t.getPixels(0,0, 720,1280) 希望官方对这种比较晦涩的的东西做一些说明,不然找来找去太麻烦了 分割线 ----...

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

13263. laya.display.Animation_API3.0 [ 41%]

...n Overrides AnimationBase.constructor Defined in laya/display/Animation.ts:103 创建一个新的 Animation 实例。 Returns Animation Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited fro...

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

13264. Layabox入门到精通视频教程 [ 41%]

...到精通视频教程 Laya从入门到精通+实战教学(上)大纲 01阶段 typescript程序设计基础 001课 认识layaAir IDE 002课 es5基础 闭包、原型链与面向对象 003课 es6基础 004课 typescript入门 005课 typescript面向对象与MVC框架 006课 typescript 模块化开...

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

13265. 输入文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 41%]

输入文本组件(TextInput)1. LayaAir IDE中使用TextInput1.1 创建TextInput1.2 TextInput属性1.3 脚本控制TextInput2. Textinput代码创建输入文本组件(TextInput) 1. LayaAir IDE中使用TextInput 文本输入框是游戏中经常会用到的一个UI组件,任何需要输入的时...

来源: Laya3.0_文档 发布时间: 20251010

13266. [LayaAirIDE3]xcode切入切出声音不播放 [ 41%]

...         SoundManager.isPlay = true;              console.log("111111  onFocus");             Laya.timer.once(2000, this, () => {                 console.log("222222 onFocus");                 SoundManager.isPlay = false;                  SoundManager.In...

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

13267. laya.d3.core.material.WaterPrimaryMaterial_API3.0 [ 41%]

...ed from Resource.destroyedImmediately Defined in laya/resource/Resource.ts:112 是否在引用计数为0的时候立马删除他 Optional lock lock: boolean Inherited from Resource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional na...

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

13268. laya.d3.core.material.PBRSpecularMaterial_API3.0 [ 41%]

...terial.constructor Defined in laya/d3/core/material/PBRSpecularMaterial.ts:178 创建一个 PBRSpecularMaterial 实例。 Returns PBRSpecularMaterial Properties destoryedImmediately destoryedImmediately: boolean Inherited from Resource.destoryedImmediately Defined in laya/resource/Resource.ts:104 ...

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

13269. 贪吃蛇大作战 桢同步的问题 [ 41%]

...这个应该怎么解决?还是我这个实现思路就有问题?  2018-08-03 添加评论 已悬赏100元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 三包包 赞同来自: 这么做闪烁是肯定的。    首先取消本...

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

13270. TiledMap加载报错 relativePath为空 [ 41%]

...e = Laya.Sprite; var MapLayer = Laya.MapLayer; Laya.init(800, 800); var map1 = new TiledMap(); map1.createMap("res/maps/scence1.json",new Rectangle(0,0,800, 800),Handler.create(this,onMapLoaded)); function onMapLoaded(){ console.log("地图加载完成"); }scence1.json { "height":25, "infinite":fals...

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