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

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

231. 官方案例里摄像机绕物体旋转脚本的问题 [ 46%]

...sform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); t...

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

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

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

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

233. LayaAir下TTF字体的使用方式? [ 46%]

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

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

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

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

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

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

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

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

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

...st(this.ray, this._outHitInfo, Number.MAX_VALUE, 10); if (this._outHitInfo.sprite3D.name === "tlj"){ isRotate = !isRotate; } // this.phasorSpriter3D.begin(Laya.WebGLContext.LINES, state); // //绘出射线 // this.phasorSpriter3D.line(this.ray.origin.x, this.ray.origin.y, this.ray.origin.z, 1.0, 0.0...

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

238. 加载 unity3D导入的旧版蒙皮动画时出现错误 [ 45%]

...使用官网的旧版例子中的代码   addSkinComponent(spirit3D: Laya.Sprite3D): void {         if (spirit3D instanceof Laya.MeshSprite3D) {             var meshSprite3D: Laya.MeshSprite3D = spirit3D as Laya.MeshSprite3D;             var skinAni: Laya.SkinAnimati...

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

239. laya.ui.HSlider_API3.0 [ 44%]

...Node.is3D Defined in laya/display/Node.ts:87 是否3D节点,即Scene3D和Sprite3D及其衍生类 Returns boolean left get left(): number set left(value: number): void Inherited from UIComponent.left Defined in laya/ui/UIComponent.ts:200 从组件左边到其内容区域左边之间的水平距离...

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

240. laya.ui.VSlider_API3.0 [ 44%]

...Node.is3D Defined in laya/display/Node.ts:87 是否3D节点,即Scene3D和Sprite3D及其衍生类 Returns boolean left get left(): number set left(value: number): void Inherited from UIComponent.left Defined in laya/ui/UIComponent.ts:200 从组件左边到其内容区域左边之间的水平距离...

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