AlignType
*이 콘텐츠는 AI(베타)를 사용해 번역되었으며, 오류가 있을 수 있습니다. 이 페이지를 영어로 보려면 여기를 클릭하세요.
제약 조건이 제약 조건과 부착물에 연결된 바디를 맞추려고 시도하는 방법을 지정하는 열거형. An enum that specifies how the constraint will attempt to align the body associated with the constraint and attachment.구성에 따라 특정 축을 평행, 직각 또는 특정 지점을 보도록 맞출 수 있습니다.
아이템
이름 | 값 | 요약 |
---|---|---|
Parallel | 0 | |
Perpendicular | 1 | |
PrimaryAxisParallel | 2 | 주 축을 주어진 축과 평행하도록 맞춥니다. Constraint.Attachment1에 의해 제공된 축. |
PrimaryAxisPerpendicular | 3 | 주 축을 주어진 축과 평행하도록 맞춥니다. Constraint.Attachment1에 의해 제공된 축. |
PrimaryAxisLookAt | 4 | 주 축을 맞춰 Constraint.Attachment1 또는 AlignOrientation.LookAtPosition에서 지정한 지점을 보도록 합니다. |
AllAxes | 5 | Constraint.Attachment0 의 모든 축을 Constraint.Attachment1 에서 제공하는 축으로 정렬하거나 AlignOrientation.PrimaryAxis 및 AlignOrientation.SecondaryAxis 에서 제공하는 대상 방향으로 정렬합니다. |