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

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

211. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let opendata = new Laya.OpenDataContextView(); Laya.stage.add...

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

212. Shader预编译解决方案 [ 49%]

...1:官方接口编译         private $compileShader(model: Laya.Sprite3D) {         if (model instanceof Laya.ShuriKenParticle3D) {             var shuriKenParticle3D: Laya.ShuriKenParticle3D = model as Laya.ShuriKenParticle3D;             var r...

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

213. LayaAir 2.0 微信排行榜 离屏画布不能直接附加到组件纹理上 [ 48%]

...: 'init', openId: GlobalData.getInstance().openId }); this.rank = new Laya.Sprite(); this.box_rank.addChild(this.rank); Laya.Browser.window.sharedCanvas.width = this.box_rank.width; Laya.Browser.window.sharedCanvas.height = this.box_rank.height; //alwaysChange = true不好用了 手动刷新 Laya.ti...

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

214. image loadimage 加载网络图片BUG [ 48%]

...请求有Bug? ios14系统下 blendMode='lighter' 图片异常 matter中layasprite怎么改变图片大小? laya怎么跨域加载图片 unity到导出场景加载时抛异常,不知所措 构建iOS工程后,真机上运行显示“网络异常,请检查您的网络或与开发商联系...”...

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

215. 引擎 TiledMap 居然不支持图块翻转 [ 47%]

...    const TiledMapFlipConstHalf = TiledMapFlipConst / 2;     class GridSprite extends Laya.Sprite {         constructor() {             super(...arguments);             this.relativeX = 0;             this.relativeY = 0;             this.isAloneObject = false;     ...

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

216. laya.media.SoundNode [ 46%]

...| Events Packagelaya.mediaClasspublic class SoundNodeInheritanceSoundNode Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值...

来源: laya_api 发布时间: 20170422

217. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 46%]

...l/Effect_zhujue_attack.lh");             let tarItem = Laya.Sprite3D.instantiate(item);             this.scene.addChild(tarItem);             tarItem.transform.position = new Laya.Vector3(0, 0, 0);             item.destroy();          ...

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

218. laya.map.TileAniSprite [ 45%]

...entationAll Packages | All Classes | Index | Frames No Frames TileAniSpriteProperties | Methods | Events Packagelaya.mapClasspublic class TileAniSpriteInheritanceTileAniSprite Sprite Node EventDispatcher Object TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个...

来源: laya_api 发布时间: 20170929

219. laya.physics.PhysicsDebugDraw [ 45%]

...elaya.physicsClasspublic class PhysicsDebugDrawInheritancePhysicsDebugDraw Sprite Node EventDispatcher Object 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By...

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

220. laya.d3.core.scene.VRScene [ 45%]

...agelaya.d3.core.sceneClasspublic class VRSceneInheritanceVRScene BaseScene Sprite Node EventDispatcher Object VRScene 类用于实现VR场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为...

来源: laya_api 发布时间: 20170422