SWF 函数
PHP 手册

swf_perspective

(PHP 4)

swf_perspectiveDefine a perspective projection transformation

说明

void swf_perspective ( float $fovy , float $aspect , float $near , float $far )

Defines a perspective projection transformation.

Note: Various distortion artifacts may appear when performing a perspective projection, this is because Flash players only have a two dimensional matrix. Some are not to pretty.

参数

fovy

A field-of-view angle in the y direction.

aspect

The aspect ratio of the viewport that is being drawn onto.

near

The near clipping plane.

far

The far clipping plane.

返回值

无返回值。


SWF 函数
PHP 手册