기술 자료

Unity Engine

Unity Engine

CastRayInput

Create a default Cast Ray input.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

CastRayInput()

Create a default Cast Ray input.
public CastRayInput()

CastRayInput(Vector2, Vector2)

Create a Cast-Ray with a default fraction of 1.
public CastRayInput(Vector2 origin, Vector2 translation)

Parameters

origin

The origin (start) of the ray.

translation

The translation relative to the PhysicsQuery.CastRayInput.origin of the ray.