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

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

2241. 为什么我获取不到鼠标滚轮的delta值,我查看laya.events.Event 里面没有这个属性 [ 50%]

... import WebGL = Laya.WebGL; import Rectangle = laya.maths.Rectangle export class Interaction_Scale { constructor() { Laya3D.init(640, 1136, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; // Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; this.camera = this.s...

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

2242. 屏幕适配API概述(JavaScript-2D基础篇(JS)-屏幕适配) [ 50%]

...文档查看:http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.display.Stage

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

2243. 同步龙骨插槽动画方案 [ 50%]

同步龙骨插槽动画方案 Laya Ver2.1.1   export class MSketon {      private mFactory: Laya.Templet;     public mArmature: Laya.Skeleton     private _handler: Laya.Handler;      constructor(url: string, handler: Laya.Handler, aniMode: number = 0) {     ...

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

2244. 感觉实例之间是关联的,求指教。(已解决) [ 50%]

...super) { function Panel1() { Panel1.super(this); //this.poke_a.x=0; } Laya.class(Panel1, "Panel1", _super); var _proto = Panel1.prototype; //======================================= //将指定的牌显示到桌面上 //======================================= _proto.start = function () { var tempRetu...

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

2245. laya.resource.Texture_API3.0 [ 50%]

...rited Externals Only exported Menu Globals "laya/resource/Texture" Texture Class Texture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors constructor Properties _id _sizeGrid _stateNum destroyedImmediately lock name offsetX offsetY sourceHeight sourceWidth url uuid D...

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

2246. 通过PrimitiveMesh创建简单Mesh(JavaScript-3D基础(JS)-LayaAir3D之模型和网格) [ 50%]

...API](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.resource.models.PrimitiveMesh)。 创建时需注意的是,加载到场景中的引擎自带模型,轴心点在模型正中心,因此我们是以模型中心点为参考进行移动、旋转、缩放。加...

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

2247. [LayaAirIDE3]2d相机打包后问题 [ 50%]

...stick } from "./Joystick"; import { Player } from "./Player";  const { regClass, property } = Laya;  @regClass() export class Main extends Laya.Script {     @property({ type: Laya.Sprite })     public player: Laya.Sprite;      @property({ type: Laya.Sprite })     public joystick: Laya.Spr...

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

2248. Laya List给子元素添加事件后,滚动事件被劫持了 [ 50%]

...stage.addChild(storeTxList);     悬赏找大神看问题 export default class StoreItem extends Laya.Box { constructor() { super(); this.size(195, 210); }  } 附件 : --> ListDemo.zip 2019-07-11 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

2249. 在 tiledmap 插入一个精灵在上面 [ 50%]

...方的一个图层中。这个图层可以是对象层 也可以是格子 class GameInfo{ private tiledMap: Laya.TiledMap; private sp:Laya.Sprite;   constructor(){   console.info("start");   this.init(); } init():void{   Laya.init(800, 700, Laya.WebGL);   Laya.loader.load("res/atlas/images.atla...

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

2250. 通过PrimitiveMesh创建简单Mesh(TypeScript-3D基础(TS)-LayaAir3D之模型和网格) [ 50%]

...API](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.resource.models.PrimitiveMesh)。 创建时需注意的是,加载到场景中的引擎自带模型,轴心点在模型正中心,因此我们是以模型中心点为参考进行移动、旋转、缩放。加...

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