大约有 572 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0054 秒)
Laya_社区(374) Laya3.0_api(84) Laya2.0_文档(40) laya_api(28) Laya3.0_文档(22) Laya2.0_api(18) Laya_示例(6)
...是否处于按下状态”? TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'....
来源: Laya_社区 发布时间: 20180524
...rayCast(ray2, rayCastHit2, 300); if(rayCastHit2.sprite3D) { //这里取碰撞点的y值给角色重新赋值 var currPosition:Vector3 = new Vector3(_position.x, rayCastHit2.position.y, _position.z); roleModel.transform.position = currP...
来源: Laya_社区 发布时间: 20170828
...sion/libs/laya.d3.js:37260:30) 10-15 16:43:46.702: I/LayaBox(3503): at MeshSprite3D.__proto._addComponentInstance (http://stand.alone.version/lib ... 3660:8) 10-15 16:43:46.702: I/LayaBox(3503): at MeshSprite3D.__proto.addComponent (http://stand.alone.version/lib ... 3731:8) 10-15 16:43:46.702: I/La...
来源: Laya_社区 发布时间: 20181015
...A页面派发 B页面侦听) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 分享:适配LayaAir版本的PureMVC框架 LayaAirIDE下如何使用mask? 分享:打地鼠 AS、JS、TS版本 Demo! 微信小游戏:HTMLDivE...
来源: Laya_社区 发布时间: 20170519
... export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property(String) public text: string = ""; @property(Laya.Image) public image: Laya.Image = null; constructor() { super(); } } 附件 : --> 2023-04-12 添加评...
来源: Laya_社区 发布时间: 20230412
...(!this.cubeP){ this.cubeP = this.scene.addChild(new Laya.Sprite3D()); this.cube = this.cubeP.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))); let rigidbody = this.cube.addComponent(Laya.Rigidbody3D); rigid...
来源: Laya_社区 发布时间: 20200223
...egClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //...
来源: Laya3.0_文档 发布时间: 20251010
...以查看官方示例([demo地址]())。 ```typescript var material = meshSprite3D.meshRenderer.material; //法线贴图 Laya.Texture2D.load(normalMapUrl[i], Laya.Handler.create(this, function(texture) { //设置发现贴图 material.normalTexture = texture; })); ``` (图5) ##### 高...
来源: Laya2.0_文档 发布时间: 20210715
...以查看官方示例([demo地址]())。 ```typescript var material = meshSprite3D.meshRenderer.material as Laya.BlinnPhongMaterial; //法线贴图 Laya.Texture2D.load(normalMapUrl[i], Laya.Handler.create(this, function(texture) { //设置发现贴图 material.normalTexture = texture; })); ```  sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 缓动Tween能用在3D物体或者特效上面吗? btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? ...
来源: Laya_社区 发布时间: 20180726