大约有 284 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0039 秒)
Laya_社区(161) Laya2.0_文档(43) Laya_示例(41) Laya3.0_api(12) laya_api(10) Laya2.0_api(10) Laya3.0_文档(6) Laya2.0_示例(1)
...tBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): GraphicsAni Inherited from Graphics.constructor Defined in laya/display/Graphics.ts:54 Returns GraphicsAni Accessors cmds get cmds(): any[] set cmds(value: ...
来源: Laya3.0_api 发布时间: 20231115
..., ty:Number):Matrix 将 Matrix 的成员设置为指定值。 Matrix setTranslate(x:Number, y:Number):Matrix 设置沿 x 、y 轴平移每个点的距离。 Matrix skew(x:Number, y:Number):Matrix 对 Matrix 对象应用倾斜转换。 Matrix toString():String 返回列出该 Matrix 对象...
来源: laya_api 发布时间: 20170929
..., ty:Number):Matrix 将 Matrix 的成员设置为指定值。 Matrix setTranslate(x:Number, y:Number):Matrix 设置沿 x 、y 轴平移每个点的距离。 Matrix skew(x:Number, y:Number):Matrix 对 Matrix 对象应用倾斜转换。 Matrix toString():String 返回列出该 Matrix 对象...
来源: Laya2.0_api 发布时间: 20190513
...ar camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.2)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8,...
来源: Laya_示例 发布时间: 20250221
...标的变量,如何实现按照局部坐标运动呢? 现在只能用translate代替 2020-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先登...
来源: Laya_社区 发布时间: 20200806
...I DocumentationAll Packages | All Classes | Index | Frames No Frames TranslateCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class TranslateCmdInheritanceTranslateCmd Object 位移命令 Public Properties PropertyDefined By tx : Number 添加到水平坐标(x...
来源: Laya2.0_api 发布时间: 20190513
...是谷歌坐标,这时第三个参数改为3才是正确的。 convertor.translate([point], 1, 5, convertToBaiduCoord); // 更新当前获取到的地理信息 infoText.text = "经度:" + p.longitude + "\t纬度:" + p.latitude + "\t精度:" + p.accuracy + "\n海拔:" + p.altitude + "\t海...
来源: Laya_示例 发布时间: 20250221
...,主角通过position移动,摄像机没有移动,如果主角通过translate来移动,摄像机才会移动 关于摄像机问题 问题状态 最新活动: 2020-06-01 17:52 浏览: 417 关注: 1 人
来源: Laya_社区 发布时间: 20200601
...矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行变化。 Graphics以命令流方式存储,可以通过cmds属性访问所有命令流。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(比如把...
来源: laya_api 发布时间: 20170929
...addChild(new Laya.Camera(0, 0.1, 100)));//添加照相机 camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.addComponent(CameraMoveScript); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //camera.clearColor =null; //...
来源: Laya_社区 发布时间: 20181203