Unity3D说明文档翻译-Transform

Transform

转换组件

SWITCH TO SCRIPTING

切换到脚本

The Transform component determines the PositionRotation, and Scale of each object in the scene. Every GameObject has a Transform.

转换组件决定场景内每个对象的位置,旋转和缩放.每个游戏对象都有一个转换组件.

Properties

属性

Property:

属性

Function:

功能

Position

位置

Position of the Transform in X, Y, and Z coordinates.

改变X,Y,Z坐标轴的位置

Rotation

旋转

Rotation of the Transform around the X, Y, and Z axes, measured in degrees.

使改变绕X,Y,Z轴旋转,以角度测量

Scale

缩放

Scale of the Transform along X, Y, and Z axes. Value “1” is the original size (size at which the object was imported).

使改变沿着X,Y,Z轴缩放.1是原始大小(每个对象导入时的大小)

 

The position, rotation and scale values of a Transform are measured relative to the Transform’s parent. If the Transform has no parent, the properties are measured in world space.

一个变换组件的位置,旋转和缩放值的确定与父变换组件有关.如果变换组件没有父对象,属性由世界坐标系决定.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值