大约有 726 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0040 秒)
Laya_社区(330) Laya3.0_api(99) Laya2.0_api(82) laya_api(76) Laya2.0_文档(63) Laya_示例(46) Laya3.0_文档(18) Laya2.0_示例(12)
...效无法旋转 如题 transform的旋转属性不管是赋值还是使用rotate方法都无法生效 附件是粒子资源 附件 : --> 1.zip 2022-05-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Yan 赞...
来源: Laya_社区 发布时间: 20220518
... 0, 0, 0 ], "rotation": [ 0, 0, 0, 1 ], "scale": [ 1, 1, 1 ...
来源: Laya_社区 发布时间: 20170906
...tiate(original, parent = null, worldPositionStays = true, position = null, rotation = null); ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否保持自身世界变换。 - position:世界位置,worldPositionStays为false时生效。 - rotation:世界旋转,worldPosit...
来源: Laya2.0_文档 发布时间: 20210714
...); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.di...
来源: Laya_示例 发布时间: 20250219
...请: 与内容相关的链接 提交 3 个回复 ymsdandan 赞同来自: rotate()方法 2017-11-15 0 0 分享 微博 QZONE 微信 jhwylee 赞同来自: rotate是转动一个固定数值的角度 我指的是比如我当前一个物体的旋转状态是 3度 我想把它转到15度 以一个固定...
来源: Laya_社区 发布时间: 20171115
...ght; directionLight.color = new Vector3(1, 1, 1); directionLight.transform.rotate(new Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 (图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法。在这次示...
来源: Laya2.0_文档 发布时间: 20210715
...leftToRightTween1); this.leftToRightTween1 = Laya.Tween.to(this.spFetch, { rotation: -170 }, 3000, null, Laya.Handler.create(this, this.leftToRight2)) } leftToRight2(){ Laya.Tween.clear(this.leftToRightTween2); this.leftToRightTween2 = Laya.Tween.to(this.spFetch, { rotation: -10 }, 3000,null, Laya.H...
来源: Laya_社区 发布时间: 20180122
...Node = null, worldPositionStays: boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否保持自身世界变换。 - position:世界位置,worldPositionStays为false时生效。 - rotation:...
来源: Laya2.0_文档 发布时间: 20210715
...2); Laya.timer.frameLoop(1,this,onLoopRotation,[this.xuanzhuan]); } private function onLoopRotation(sp:Sprite):void { sp.rotation++; } 2017-12-25 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20171225
... QiPanMesh.transform.position = new Vector3(0, 0, -1); QiPanMesh.transform.rotation = new Quaternion(-1, 0, 0, 1); QiPanMesh.layer = Layer.getLayerByNumber(5); QiPanMesh.meshRender.castShadow = true; QiPanMesh.meshRender.receiveShadow = true; scene.addChild(QiPanMesh); var gTitleMesh:MeshSprite3D = ...
来源: Laya_社区 发布时间: 20170617