<?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.5 $ --> <refentry xml:id="function.swf-perspective" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>swf_perspective</refname> <refpurpose>Define a perspective projection transformation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>swf_perspective</methodname> <methodparam><type>float</type><parameter>fovy</parameter></methodparam> <methodparam><type>float</type><parameter>aspect</parameter></methodparam> <methodparam><type>float</type><parameter>near</parameter></methodparam> <methodparam><type>float</type><parameter>far</parameter></methodparam> </methodsynopsis> <para> Defines a perspective projection transformation. </para> <note> <para> 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. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>fovy</parameter></term> <listitem> <para> A field-of-view angle in the y direction. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>aspect</parameter></term> <listitem> <para> The aspect ratio of the viewport that is being drawn onto. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>near</parameter></term> <listitem> <para> The near clipping plane. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>far</parameter></term> <listitem> <para> The far clipping plane. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->