大约有 170 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0042 秒)
Laya_社区(134) Laya2.0_文档(26) Laya3.0_文档(5) Laya_示例(2) Laya3.0_api(1) Laya2.0_示例(1) Laya2.0_api(1)
laya2.0.2支持unity2018场景导入吗 1.如题,看了好多旧教程,好像u3d导出插件最多支持unity5.6,想问一下现在最新能支持unity什么版本导出场景(稳定)。 2.可不可以不依靠u3d,自己在laya直接加载fbx模型以及对应的贴图、材质球来拼...
来源: Laya_社区 发布时间: 20190610
... ```typescript //随机生成坐标值 var sX:int = Math.random() * 0.75 + 0.25; var sY:int = Math.random() * 0.75 + 0.25; var sZ:int = Math.random() * 0.75 + 0.25; //创建盒型MeshSprite3D var box:MeshSprite3D = scene.addChild(new MeshSprite3D(PrimitiveMesh.createBox(sX, sY, sZ))) as MeshSprite3D...
来源: Laya2.0_文档 发布时间: 20210714
...`typescript //随机生成坐标值 var sX:number = Math.random() * 0.75 + 0.25; var sY:number = Math.random() * 0.75 + 0.25; var sZ:number = Math.random() * 0.75 + 0.25; //创建盒型MeshSprite3D var box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(sX, sY, sZ))) as Laya.Mesh...
来源: Laya2.0_文档 发布时间: 20210714
...,混合了0层和1层的动画 animator.crossFade(motions[motionIndex], 0.2, 0); animator.crossFade(motions[motionIndex], 0.2, 1); } else { //使用普通模式播放 animator.play(motions[motionIndex], 0); animator.play(motions[motionIndex], 1); } break; case 1: if (motionCross) //在当前动画...
来源: Laya2.0_文档 发布时间: 20210715
...和1层的动画 this.animator.crossFade(this.motions[this.motionIndex], 0.2, 0); this.animator.crossFade(this.motions[this.motionIndex], 0.2, 1); } else { //使用普通模式播放 this.animator.play(this.motions[this.motionIndex], 0); this.animator.play(this.motions[this.motionIndex], 1); } break...
来源: Laya2.0_文档 发布时间: 20210715
...和1层的动画 this.animator.crossFade(this.motions[this.motionIndex], 0.2, 0); this.animator.crossFade(this.motions[this.motionIndex], 0.2, 1); } else { //使用普通模式播放 this.animator.play(this.motions[this.motionIndex], 0); this.animator.play(this.motions[this.motionIndex], 1); } break...
来源: Laya2.0_文档 发布时间: 20210715
...组件属性 //赋值有两种方式: //简单赋值,比如:progress:0.2,就是更改progress组件的value为2 //复杂复制,可以通知某个属性,比如:label:{color:"#ff0000",text:"Hello LayaAir"} this.box.dataSource = {slider: 50, scroll: 80, progress: 0.2, input: "This is a in...
来源: Laya_示例 发布时间: 20250222
...组件属性 //赋值有两种方式: //简单赋值,比如:progress:0.2,就是更改progress组件的value为2 //复杂复制,可以通知某个属性,比如:label:{color:"#ff0000",text:"Hello LayaAir"} this.box.dataSource = {slider: 50, scroll: 80, progress: 0.2, input: "This is a in...
来源: Laya2.0_示例 发布时间: 20200319
...管理器中,将旋转与缩放的`scaleX`与`scaleY`属性值都设为`0.2`。如图5所示。设置属性值之后,`Image`时间轴中会自动增加缩放属性`scaleX`与`scaleY`。(*由于我们这个动效模板不需要位移效果,之前创建关键帧自动生成的属性X直接删...
来源: Laya2.0_文档 发布时间: 20210715
...管理器中,将旋转与缩放的`scaleX`与`scaleY`属性值都设为`0.2`。如图5所示。设置属性值之后,`Image`时间轴中会自动增加缩放属性`scaleX`与`scaleY`。(*由于我们这个动效模板不需要位移效果,之前创建关键帧自动生成的属性X直接删...
来源: Laya2.0_文档 发布时间: 20210715