大约有 474 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0060 秒)
Laya_社区(148) Laya3.0_api(88) Laya2.0_api(75) laya_api(69) Laya2.0_文档(43) Laya_示例(37) Laya3.0_文档(12) Laya2.0_示例(2)
...,StartSize规定了这个粒子的直径,而不是贴图缩放 Start Rotation:每个粒子的初始旋转角度。如果您想分别控制每个轴的旋转,请启用3D选项。可选择两种延迟方式 Constant 固定值 Random Between Two Constant 从最小到最大中随机取值 (图...
来源: Laya3.0_文档 发布时间: 20250104
...e3D; teapot.transform.position = new Vector3(0, 1.75, 2); teapot.transform.rotate(new Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat:PBRStandardMaterial = new PBRStandardMaterial(); //开启该材质的反射 pbrMat.enableReflection = true; //设置材质的金属度,尽量...
来源: Laya2.0_文档 发布时间: 20210715
...角出现位置错误 第一个网格在添加刚体后设置position,rotationEuler可设可不设 第二个网格在添加刚体后设置rotationEuler,不设置position 第二个刚体会带有第一个刚体的position,受刚体影响,第二个网格将与第一个网格出现在同一...
来源: Laya_社区 发布时间: 20201127
...translate(new Laya.Vector3(0, 3, 0)); camera_.transform.rotate(new Laya.Vector3(-45, 0, 0), true, false); 附件 : --> 2020-05-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 155*****646 ...
来源: Laya_社区 发布时间: 20200506
...restore():void 返回之前保存过的路径状态和属性。 Graphics rotate(angle:Number, pivotX:Number = 0, pivotY:Number = 0):void 旋转当前绘图。(推荐使用transform,性能更高) Graphics save():void 保存当前环境的状态。 Graphics scale(scaleX:Number, scaleY:Number, piv...
来源: laya_api 发布时间: 20170929
...t { @property({ type : Laya.Sprite3D}) public cube: Laya.Sprite3D; private rotation: Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); onStart() { Laya.timer.frameLoop(1, this, ()=> { this.cube.transform.rotate(this.rotation, false); }); } } 效果如动图4-4所示: (动图4-4) 4.1.3 3D节点...
来源: Laya3.0_文档 发布时间: 20250103
...: Transform选择组件。可以调整摄像机的**Position**位置,**Rotation**选择和**Scale**缩放。 Background背景,在没有天空盒的情况下,将选中的颜色应用到剩余屏幕。 Culling Mask 剔除遮罩,包含或者忽略对象的Layer。 Projection 投射。Perspect...
来源: Laya2.0_文档 发布时间: 20210714
...displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask max min mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect showProgress sizeGrid ...
来源: Laya3.0_api 发布时间: 20231115
...displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask max min mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect showProgress sizeGrid ...
来源: Laya3.0_api 发布时间: 20231115
...t:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实例。 Sprite3D isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String):Sprite3D[static] 加...
来源: laya_api 发布时间: 20170929