Normalize 노드
설명
In 입력의 정규화된 값을 반환합니다. 출력 벡터는 In 입력과 방향이 같지만, 길이가 1입니다.
포트
| 이름 | 방향 | Type | 설명 |
|---|---|---|---|
| In | 입력 | 동적 벡터 | 입력 값 |
| Out | 출력 | 동적 벡터 | 출력 값 |
생성된 코드 예제
다음 예제 코드는 이 노드의 가능한 결과 중 하나입니다.
void Unity_Normalize_float4(float4 In, out float4 Out)
{
Out = normalize(In);
}
{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end}