|
static Matrix4x4 | Frustum (float L, float R, float B, float T, float n, float f) |
|
Definition at line 394 of file Display.cs.
◆ Frustum() [1/2]
Definition at line 396 of file Display.cs.
398 return Frustum(f.m_Left, f.m_Right, f.m_Bottom, f.m_Top, f.m_Near, f.m_Far);
static Matrix4x4 Frustum(ARProjectionFrustum f)
References TiltFive.ARProjectionFrustum.m_Bottom, TiltFive.ARProjectionFrustum.m_Far, TiltFive.ARProjectionFrustum.m_Left, TiltFive.ARProjectionFrustum.m_Near, TiltFive.ARProjectionFrustum.m_Right, and TiltFive.ARProjectionFrustum.m_Top.
◆ Frustum() [2/2]
static Matrix4x4 TiltFive.DisplayHelper.Frustum |
( |
float |
L, |
|
|
float |
R, |
|
|
float |
B, |
|
|
float |
T, |
|
|
float |
n, |
|
|
float |
f |
|
) |
| |
|
static |
Definition at line 406 of file Display.cs.
408 Matrix4x4 m =
new Matrix4x4();
410 m[0, 0] = (2 * n) / (R - L);
411 m[1, 1] = (2 * n) / (T - B);
412 m[0, 2] = (R + L) / (R - L);
413 m[1, 2] = (T + B) / (T - B);
414 m[2, 2] = -(f + n) / (f - n);
415 m[2, 3] = -(2 * f * n) / (f - n);
The documentation for this class was generated from the following file: