LFrustumf

from panda3d.core import LFrustumf
class LFrustumf

Bases:

Inheritance diagram

Inheritance diagram of LFrustumf

__init__()
__init__(param0: LFrustumf)
make_ortho(fnear: float, ffar: float)

Behaves like gluOrtho

make_ortho(fnear: float, ffar: float, l: float, r: float, t: float, b: float)

Behaves like gluOrtho

make_ortho_2D()

Sets up a two-dimensional orthographic frustum

make_ortho_2D(l: float, r: float, t: float, b: float)

Sets up a two-dimensional orthographic frustum

make_perspective(xfov: float, yfov: float, fnear: float, ffar: float)
make_perspective_hfov(xfov: float, aspect: float, fnear: float, ffar: float)

Behaves like gluPerspective (Aspect = width/height, Yfov in degrees)

make_perspective_vfov(yfov: float, aspect: float, fnear: float, ffar: float)