泰课首页
技术分享
Unity课程
Manual
Scripting API
unity3d.com
Version:
2019.1
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
5.6
Manual
Scripting API
Language:
中文
English
日本語
Español
한국어
Scripting API
Version:
2019.1
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
5.6
WorldUpType
enumeration
Switch to Manual
Description
指定目标约束使用的世界向上矢量的定义方式。
Variables
SceneUp
Uses and defines the world up vector as the Unity Scene up vector (the Y axis).
ObjectUp
使用世界向上矢量并将其定义为从受约束对象朝向向上对象的矢量。
ObjectRotationUp
使用和定义相对于对象局部空间的世界向上矢量。
Vector
使用世界向上矢量并将其定义为用户指定的矢量。
None
既不定义也不使用世界向上矢量。