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

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

831. Spine渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 23%]

...现类似以下提示的警告。 Failed to load 'http://localhost:18094/resources/ddlx_02/ddlx_02.atlas' Unexpected token 'd', "ddlx_02.pn"... is not valid JSON 这是由于,虽然spine的atlas和我们引擎的图集文件atlas同名,但不是同样的东西。我们的图集信息是Json格...

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

832. [LayaAirIDE3]xcode切入切出声音不播放 [ 21%]

...lay = false;                  SoundManager.Instance.playMusic111("resources/music/test/FY-0079.wav");             });         }     }   import { JsonTool } from "src/tools/JsonTool"; import { ResourceManager } from "./ResourceManager"; declare function testmusic_cn_ios(accountI...

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

833. laya.display.Sprite_API3.0 [ 21%]

...te();//创建一个 Sprite 类的实例对象 sprite 。 sprite.loadImage("resource/ui/bg.png");//加载并显示图片。 sprite.x = 200;//设置 sprite 对象相对于父容器的水平方向坐标值。 sprite.y = 200;//设置 sprite 对象相对于父容器的垂直方向坐标值。 sprite.pivo...

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

834. laya.d3.core.material.BaseMaterial [ 20%]

...d3.core.materialClasspublic class BaseMaterialInheritanceBaseMaterial laya.resource.ResourceImplements laya.d3.core.ICloneSubclasses ExtendTerrainMaterial, GlitterMaterial, PBRMaterial, ShurikenParticleMaterial, StandardMaterial, TerrainMaterial, WaterDetailMaterial, WaterMaterial BaseMaterial 类...

来源: laya_api 发布时间: 20170929

835. laya.display.Animation_API3.0 [ 20%]

...建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集并播放 animation.x = 200;//设置 animation 对象的属性 x 的值,用于控制 animation 对象的显示位置。 animation.y = 200;//设置 animation 对象的属性 x 的值...

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

836. Unity插件使用说明(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 16%]

...成的资源。 批量预加载的示例代码如下: ```typescript var resource:Array = [ "xx.ls", "xx/xx.lh", "xx/xx.lmat", "xx/xx.png", "xx/xx.lm", "xx/xx.ltc", "xx/xx.lani", ]; //批量预加载 Laya.loader.create(resource, Laya.Handler.create(this, this.onLoaded)); onLoaded(): void { //加载...

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

837. laya.d3.core.scene.Scene [ 16%]

...nheritanceScene Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource BaseScene 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示...

来源: laya_api 发布时间: 20170929

838. laya.d3.core.scene.Scene3D [ 16%]

...eritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHie...

来源: Laya2.0_api 发布时间: 20190513

839. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 15%]

...( { type:Laya.Prefab } ) //加载 Prefab 拿到的对象 private prefabFromResource: Laya.Prefab; @property( { type:Laya.ShurikenParticleRenderer } ) //ShurikenParticleRenderer组件类型 private particle3D: Laya.ShurikenParticleRenderer; @property( { type:Laya.Node } ) //节点类型 private scnen...

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

840. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 15%]

...; Laya.stage.addChild(sp2); // 加载并显示一个图片2 sp2.loadImage("resources/layabox.png", null); sp2.pos(200, 190); // 设置blendMode sp2.blendMode = "lighter"; 我们来看看运行结果: (图3-4) 与图3-3对比可以看到,使用“lighter”的blendMode后,sp2图片的颜色...

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