Unity零基础到入门 ☀️| Transform组件介绍
【摘要】 🌍几种常用组件介绍😸Transform组件Transform 是物体模型最基本的组件,基本上所有物体都有来看看官方的介绍:The Transform component determines the Position, Rotation,and Scale of each object in the scene. Every GameObject has aTransform.The p...
🌍几种常用组件介绍
Transform 是物体模型最基本的组件,基本上所有物体都有
来看看官方的介绍:
The Transform component determines the Position, Rotation,and Scale of each object in the scene. Every GameObject has a
Transform.
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
译文:
变换组件决定场景中每个对象的位置、旋转和比例。每个游戏对象都有一个转换
变换的位置、旋转和缩放值是相对于父变换计算的。如果transform没有父物体,属性将会根据在世界空间中计算
总结一句话就是——Transform是用于控制游戏对象的位置、旋转和大小比例的
下图分别是Transform的Inspector面板属性图和各种属性

【声明】本内容来自华为云开发者社区博主,不代表华为云及华为云开发者社区的观点和立场。转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息,否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)