Class: frustumobject
l3dcameras can use multiple user defined frustumobjects instead of the automatically created frustum. The latter is based on the projection settings. A frusutmobject is user defined and consists of 6 planes defining the frustum and the 8 points of the corners. At runtime all assoicated frustumobjects are used for the visibility test of that camera. frustumobjects are stored in world space.
Hierarchy
o-+ l3dlist
o-+ frustumobject
Methods:
Method overview:
- new ()
- returns: (frustumobject)
returns self
- corner (frustumobject,int index,[float x,y,z])
- returns: ([float x,y,z])
returns or sets ith 0-7 corner.
- frommatrix (frustumobject, matrix44 mat)
- returns: ()
updates planes from given projection matrix.
- plane (frustumobject,int index,[float x,y,z,-d])
- returns: ([float x,y,z,-d])
returns or sets ith 0-5 plane. Plane normals point to inside.
- update (frustumobject, [boolean fromcorners])
- returns: ()
updates vice versa from planes or corners (default is true).
Inherited Methods: