LFrustumf

from panda3d.core import LFrustumf
class LFrustumf

Inheritance diagram

Inheritance diagram of LFrustumf

__init__()
__init__(param0: LFrustumf)
makeOrtho(fnear: float, ffar: float)None

Behaves like gluOrtho

makeOrtho(fnear: float, ffar: float, l: float, r: float, t: float, b: float)None

Behaves like gluOrtho

makeOrtho2D()None

Sets up a two-dimensional orthographic frustum

makeOrtho2D(l: float, r: float, t: float, b: float)None

Sets up a two-dimensional orthographic frustum

makePerspective(xfov: float, yfov: float, fnear: float, ffar: float)None
makePerspectiveHfov(xfov: float, aspect: float, fnear: float, ffar: float)None

Behaves like gluPerspective (Aspect = width/height, Yfov in degrees) aspect +————+ | | 1 | | yfov | | +————+

——-+—— | | | | | | W yfov

makePerspectiveVfov(yfov: float, aspect: float, fnear: float, ffar: float)None