- new (string name,|l3dlayerid layer|)
- returns: (l3dprojector)
creates new projector
- activate (l3dprojector,int id)
- returns: ()
adds projector to the active list with given id (0-31)
- aspect (l3dprojector,[float])
- returns: (float)
returns or sets projection aspect ratio = width/height
- attenuate (l3dprojector,[boolean])
- returns: (boolean)
returns or sets attenuation, this is quite heavy effect but will perform a per pixel distance attenuation that causes the projector to fade out towards its backplane.
- backplane (l3dprojector,[float])
- returns: (float)
returns or sets projection backplane distance
- blend (l3dprojector,[blendmode])
- returns: (blendmode)
- deactivate (l3dprojector)
- returns: ()
removes projector from active list
- fov (l3dprojector,[float])
- returns: (float)
returns or sets projection fov, when negative it will be orthogonal projection with abs(fov) rectangular size
- frontplane (l3dprojector,[float])
- returns: (float)
returns or sets projection frontplane distance
- projmatrix (l3dprojector,[matrix4x4])
- returns: ([matrix4x4])
returns or sets projection matrix. Using frontplane,aspect and so on will override manually set matrices.
- textureid (l3dprojector,[texture])
- returns: (texture)