swf_lookat()
swf_lookat - Define a viewing transformation
Syntax
swf_lookat (
float $view_x,
float $view_y,
float $view_z,
float $reference_x,
float $reference_y,
float $reference_z,
float $twist)
Arguments
- view_x - x-coordinate for the viewing position
- view_y - y-coordinate for the viewing position
- view_z - z-coordinate for the viewing position
- reference_x - x-coordinate for the reference point
- reference_y - y-coordinate for the reference point
- reference_z - z-coordinate for the reference point
- twist - Controls the rotation along with viewer\'s z axis.
Description
Defines a viewing transformation by giving the viewing position and the coordinates of a reference point in the scene.
Version
PHP 4
Return value
No value is returned.