Manual do PHP
Anterior |  | Próxima

# swf_perspective

(PHP 4, PECL)

swf_perspective -- Define a perspective projection transformation

## Descrição

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

Defines a perspective projection transformation.

> Nota: 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.

## Parâmetros

`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.

## Valores de retornado

Não há valor retornado.

Anterior | Principal | Próxima
swf_ortho | Acima | swf_placeobject