Method ComputeFOVAt
ComputeFOVAt(Vector3, Vector3, Matrix4x4)
Compute the minimal FOV required to see the full influence volume from viewerPositionWS
while looking at lookAtPositionWS
.
선언
public float ComputeFOVAt(Vector3 viewerPositionWS, Vector3 lookAtPositionWS, Matrix4x4 influenceToWorld)
파라미터
타입 | 이름 | 설명 |
---|---|---|
Vector3 | viewerPositionWS | The viewer position in world space. |
Vector3 | lookAtPositionWS | The look at position in world space. |
Matrix4x4 | influenceToWorld | The influence to world matrix. |
반환
타입 | 설명 |
---|---|
float |