기술 자료

Unity Engine

Unity Engine

MultiplyVector(Vector3)

Transforms a direction by this matrix.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Vector3 MultiplyVector(Vector3 vector)

Parameters

vector

Returns

Type

Description

Vector3

Remarks

This function is similar to Matrix4x4.MultiplyPoint; but it transforms directions and not positions. When transforming a direction, only the rotation part of the matrix is taken into account.