大约有 311 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0059 秒)
Laya_社区(139) Laya3.0_api(82) Laya3.0_文档(29) Laya2.0_文档(26) Laya2.0_api(16) laya_api(16) Laya_示例(3)
...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
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 使用3D时候,Property 'getComponentByType' does not exist on ...
来源: Laya_社区 发布时间: 20181026
...答(最新版本: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
...{ 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
...{ 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
...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
...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
...使用官网的旧版例子中的代码 addSkinComponent(spirit3D: Laya.Sprite3D): void { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D: Laya.MeshSprite3D = spirit3D as Laya.MeshSprite3D; var skinAni: Laya.SkinAnimati...
来源: Laya_社区 发布时间: 20180724
...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
...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