CalculateFrustumCorners
Method
Given viewport coordinates, calculates the view space vectors pointing to the four frustum corners at the specified camera depth. Unity docs
Parameters
Parameter | Description |
---|---|
Rect viewport | |
float z | |
MonoOrStereoscopicEye eye | |
Vector3[] outCorners |