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

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

1051. LayaAir使用AS语言能直接挂断点吗? [ 46%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement...

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

1052. [LayaAirIDE3]咋么实现鼠标点击角色移动 [ 46%]

... export default class iceMonster extends Laya.Script { declare owner: Laya.Sprite; /** 用于兜底的 Animator2D(可选) */ private _animator: Laya.Animator2D; /** 承载 .mc 的动画播放器 */ private iceMonsterAni: Laya.Animation; /** 资源前缀 */ private readonly ANIMATION_PATH: string...

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

1053. TypeScript在LayaAir 1.X和2.X中对待module和namespace的异同,求2.x使用自定义namespace的方法(module已经找到方法) [ 45%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 使用3D时候,Property 'getComponentByType' does not exist on ...

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

1054. layaair1.78版本 textarea和textinput在电脑平台时一点击整个canvas往上移动。 [ 45%]

...的PureMVC框架 分享:打地鼠 AS、JS、TS版本 Demo! 如何设置Sprite的宽高和点击区域? 求指点3d射线碰撞和UI点击穿透的问题 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 请问2.0的版本开始,我用ts编写的...

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

1055. 1.7.8新版本3d骨骼动画如何获取绑点呢 [ 45%]

...08-21 16:37 @183*****755: private var ani:Animator; private var effectTemp:Sprite3D; effectTemp = Laya.loader.getRes("res/LayaScene_Fire/Fire.lh"); 先查到节点 for(var i:int = 0;i<ani._avatarNodes.length;i++) { if(AnimationNode(ani._avatarNodes[i]).name == "weaponEffect") ...

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

1056. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 45%]

...{ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRenderer...

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

1057. 动画挂点(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 45%]

...{ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRenderer...

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

1058. Cannot read property 'toDefault' of undefined报错是什么原因 [ 45%]

...ew Laya.Vector2(); this._outHitInfo = new Laya.RaycastHit(); // this.phasorSpriter3D = new Laya.PhasorSpriter3D(); } MousePickingScene.prototype.lateRender = function (state) { MousePickingScene.__super.prototype.lateRender.call(state); //从屏幕空间生成射线 this.point.elements[0] = Laya.sta...

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

1059. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 45%]

...l, function(tex) { //使用纹理 var earth1 = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(5, 32, 32))); earth1.transform.translate(new Laya.Vector3(10, 20, -8)); var earthMat = new Laya.BlinnPhongMaterial(); earthMat.albedoTexture = tex; earthMat.albedoIntensity = 1; earth1...

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

1060. 小白求问:3D模型导入不显示,想做个跟官网教程一样的Demo,导入模型,可以鼠标旋转视角 [ 44%]

...目前已经被锁定, 无法添加新回复 发起人 流荒 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 官方有没有考虑做个完整的DEMO 请问LayaAir中如何使图片以圆形的方式显示? Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没...

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