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

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

141. laya.display.Animation_API3.0 [ 40%]

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

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

142. laya.display.Sprite_API3.0 [ 40%]

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

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

143. laya.d3.core.scene.Scene3D [ 39%]

...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

144. laya.d3.core.material.GlitterMaterial [ 38%]

...sspublic class GlitterMaterialInheritanceGlitterMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  albedo : Vector4 获取反射率。 GlitterMaterial alphaTest : Boolean 获取是否透明裁...

来源: laya_api 发布时间: 20170929

145. laya.d3.core.material.ParticleMaterial [ 38%]

...public class ParticleMaterialInheritanceParticleMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明...

来源: laya_api 发布时间: 20170603

146. laya.d3.core.particleShuriKen.ShurikenParticleMaterial [ 37%]

...rikenParticleMaterialInheritanceShurikenParticleMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明...

来源: laya_api 发布时间: 20170929

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

...成的资源。 批量预加载的示例代码如下: ```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

148. laya.d3.core.material.StandardMaterial [ 32%]

...public class StandardMaterialInheritanceStandardMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  albedo : Vector4 设置反射率。 StandardMaterial alphaTest : Boolean 获取是否透明裁...

来源: laya_api 发布时间: 20170929

149. Laya.URL.basePath加载不到网络资源 [ 29%]

...ge.html:1 j.onmessage @ gamePage.html:1 2code.js:57322 HHHH false VM1768:1 Resources already exist,is repeated loading: https://piggy.q1.comres/sound/BGM.mp3 console.warn @ VM1768:1 Loader.cacheRes @ code.js:12995 SoundManager.playSound @ code.js:4963 SoundManager.playMusic @ code.js:4988 GameEx.onL...

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

150. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 28%]

...预制体,例如MyWidget.widget。建议将此类预制体放置到editorResources目录或其子目录。 editorResources目录是一个LayaAirIDE里约定名称的特殊目录,它和resources的特性类似,也就是无论它放在多深的子目录下,资源的路径都可以从editorReso...

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