ViewportToWorldPoint

Method

Transforms position from viewport space into world space. Unity docs

Definition

Vector3 ViewportToWorldPoint(Vector3 pos)
Vector3 ViewportToWorldPoint(Vector3 pos)

Returns Vector3

Parameters

ParameterDescription
Vector3 pos