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

大约有 1,253 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0046 秒)

441. 请问,在使用插件导出包含多个动画的FBX文件时报错,怎么处理? [ 70%]

...o/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameObject, .JSONObject component, System.Collections.Generic.List`1...

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

442. Sprite-缓存为静态图像 [ 70%]

...port Text = Laya.Text; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Sprite_Cache { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall...

来源: Laya2.0_示例 发布时间: 20250220

443. laya.d3.physics.shape.ColliderShape_API3.0 [ 70%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/shape/ColliderShape" ColliderShape Class ColliderShape ColliderShape 类用于创建形状碰撞器的父类,该类为抽象类。 Hierarchy ColliderShape CompoundColliderShape MeshCol...

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

444. 绘制三角形、多边形及根据数据绘制图案(TypeScript-LayaAir基础篇(TS)-矢量图) [ 70%]

...Sprite = Laya.Sprite;     import Stage = Laya.Stage;        export class Sprite_DrawShapes {         private sp: Sprite;            constructor()         {             Laya.init(500, 300);             this.drawSomething();    ...

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

445. 内嵌模式创建scene,运行时报找不到json文件 [ 69%]

...createView()进行创建,并且都是ide自动生成的代码。     export module ui { export class HelloUI extends Scene { public static uiView:any ={"type":"Scene","props":{"width":640,"height":1136},"compId":2,"child":[{"type":"Label","props":{"y":64,"x":214.5,"width":211,"text":"label","sty...

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

446. 升级到1.78beta版后,包编译错误 [ 69%]

... libs/LayaAir.d.ts(4252,38): error TS2694: Namespace 'laya.d3.core' has no exported member 'particle'. libs/LayaAir.d.ts(26700,11): error TS2417: Class static side 'typeof RenderTarget2D' incorrectly extends base class static side 'typeof Texture'.   Types of property 'create' are incompatible.   ...

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

447. 动画-图集动画 [ 69%]

...r = Laya.Loader; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Animation_Altas { private AniConfPath: string = "res/fighter/fighter.json"; constructor() { // 不支持eWebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.align...

来源: Laya2.0_示例 发布时间: 20250220

448. laya.d3.core.particleshuriken.module.shape.CircleShape_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/shape/CircleShape" CircleShape Class CircleShape CircleShape 类用于创建环形粒子形状。 Hierarchy BaseShape CircleShape Implements IClone Index Constructor...

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

449. Sprite-旋转缩放 [ 69%]

...nt = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_RoateAndScale { private ape: Sprite; private scaleDelta: number = 0; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV...

来源: Laya2.0_示例 发布时间: 20250220

450. 滤镜-模糊滤镜 [ 69%]

... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Filters_Blur { private apePath: string = "res/apes/monkey2.png"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.AL...

来源: Laya2.0_示例 发布时间: 20250220