\hypertarget{group__Evas__3D__Light}{\section{Light Object}
\label{group__Evas__3D__Light}\index{Light Object@{Light Object}}
}


A light object represents a set of properties of a light source.  


\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} \hyperlink{group__Evas__3D__Light_ga8dfa7fb0636587e790767fa558ddf002}{Evas\+\_\+3\+D\+\_\+\+Light}
\begin{DoxyCompactList}\small\item\em Light object handle. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_ga136bb2c0bfb0bf4e62ab7034f1942d06}{evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+set} (\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} directional)
\begin{DoxyCompactList}\small\item\em Set the directional flag of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__3D__Light_ga378c3a4317e605931b68e9f699389475}{evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the directional flag of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_gad71d6c14c50f82b09e4dd47b8e3bc828}{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} exponent)
\begin{DoxyCompactList}\small\item\em Set the spot exponent of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} \hyperlink{group__Evas__3D__Light_gaf4524415986765c8d870a45c7b633e92}{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the spot exponent of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_ga05068efd7012f94cb9d901479b20cc86}{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} cutoff)
\begin{DoxyCompactList}\small\item\em Set the spot cutoff angle of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} \hyperlink{group__Evas__3D__Light_ga2bc3e5713a2eda0dcdcda5c7816a4f4d}{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the spot cutoff angle of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_gadcdfa88d7bf0369ca36d02b5d82ea14e}{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+set} (\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} enable)
\begin{DoxyCompactList}\small\item\em Set the attenuation enable flag of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__3D__Light_ga99051a9b9563994a276b492560c9de02}{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the attenuation enable flag of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_ga3afd01d21ce3ed7aed5ddb168b72c10c}{evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} r, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} g, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} b, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} a)
\begin{DoxyCompactList}\small\item\em Set the ambient color of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_ga0d2cff6d4326341250c45718de090717}{evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+get} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$r, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$g, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$b, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$a)
\begin{DoxyCompactList}\small\item\em Get the ambient color of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_ga71030d9a715a0ca47849107c4d8e9ed3}{evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} r, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} g, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} b, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} a)
\begin{DoxyCompactList}\small\item\em Set the diffuse color of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_ga0d8546100f6e1fca3a002c598fe66158}{evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+get} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$r, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$g, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$b, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$a)
\begin{DoxyCompactList}\small\item\em Get the diffuse color of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_ga27f4a5a9e95e37edd5866fe14bbe6f43}{evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} r, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} g, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} b, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} a)
\begin{DoxyCompactList}\small\item\em Set the specular color of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_ga35132a5ca0ad10c299cbe619de4ca800}{evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+get} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$r, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$g, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$b, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$a)
\begin{DoxyCompactList}\small\item\em Get the specular color of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_gacb4d8e38f8c678a7a05f995fa8425999}{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} constant, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} linear, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} quadratic)
\begin{DoxyCompactList}\small\item\em Set the attenuation of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_gad5c5ad21ee7051a862a5f737d90fa716}{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+get} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$constant, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$linear, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$quadratic)
\begin{DoxyCompactList}\small\item\em Get the attenuation of the given light. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_ga4d960fb0e5ae92108e6cca2dd9817a2c}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+set} (const \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$matrix)
\begin{DoxyCompactList}\small\item\em Set the projection matrix of the given light source. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_ga9b48da0256169b16dab4d66a3ff08a46}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+get} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$matrix)
\begin{DoxyCompactList}\small\item\em Get the projection matrix of the given light source. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_ga2236a94c61779d0e63850549a3f125d7}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+perspective\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} fovy, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} aspect, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} dnear, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} dfar)
\begin{DoxyCompactList}\small\item\em Set the projection matrix of the given light source with perspective projection. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_ga8309f732ea8b684faece888deb59a8b1}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+frustum\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} left, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} right, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} bottom, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} top, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} dnear, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} dfar)
\begin{DoxyCompactList}\small\item\em Set the projection matrix of the given light source with frustum projection. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Light_ga9f74147d9cd098dd7e8c665064faf327}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+ortho\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} left, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} right, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} bottom, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} top, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} dnear, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} dfar)
\begin{DoxyCompactList}\small\item\em Set the projection matrix of the given light source with orthogonal projection. \end{DoxyCompactList}\item 
bool \hyperlink{group__Evas__3D__Light_ga06b7170fd8aa5741c988da20291ea83e}{evas\+\_\+3d\+\_\+light\+::directional\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em Get the directional flag of the given light. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_gad9a53821fd6f16fa4aa4dfa68159b357}{evas\+\_\+3d\+\_\+light\+::directional\+\_\+set} (bool directional\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the directional flag of the given light. \end{DoxyCompactList}\item 
\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} \hyperlink{group__Evas__3D__Light_gad0265a171651e97a66f524ba5a77c228}{evas\+\_\+3d\+\_\+light\+::spot\+\_\+exponent\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em Get the spot exponent of the given light. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_ga33b58ee5211d874bdda3ac99e5722f7f}{evas\+\_\+3d\+\_\+light\+::spot\+\_\+exponent\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} exponent\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the spot exponent of the given light. \end{DoxyCompactList}\item 
\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} \hyperlink{group__Evas__3D__Light_ga5b9783ab2ae5e1a2c7336c951fbca0f6}{evas\+\_\+3d\+\_\+light\+::spot\+\_\+cutoff\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em Get the spot cutoff angle of the given light. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_gaf893bd0c5501fc6c835382cc24171f8b}{evas\+\_\+3d\+\_\+light\+::spot\+\_\+cutoff\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} cutoff\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the spot cutoff angle of the given light. \end{DoxyCompactList}\item 
bool \hyperlink{group__Evas__3D__Light_ga79f68af85db1c92e4de489e49b25ffe5}{evas\+\_\+3d\+\_\+light\+::attenuation\+\_\+enable\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em Get the attenuation enable flag of the given light. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_ga76a72a470d0fbf7a4a2ef8bcdcc47386}{evas\+\_\+3d\+\_\+light\+::attenuation\+\_\+enable\+\_\+set} (bool enable\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the attenuation enable flag of the given light. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_gaeaeb01b849f09f478ae9e66c202e8f9d}{evas\+\_\+3d\+\_\+light\+::ambient\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} r\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} g\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} b\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} a\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the ambient color of the given light. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_ga5ac59491f5a792d337fee76910c0359d}{evas\+\_\+3d\+\_\+light\+::ambient\+\_\+get} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$r\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$g\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$b\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$a\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Get the ambient color of the given light. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_ga8f2767136320b9d27a7686ef25f44d39}{evas\+\_\+3d\+\_\+light\+::diffuse\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} r\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} g\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} b\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} a\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the diffuse color of the given light. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_ga40e8eecf6560caa3fe40afbe3224b91d}{evas\+\_\+3d\+\_\+light\+::diffuse\+\_\+get} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$r\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$g\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$b\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$a\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Get the diffuse color of the given light. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_ga83837b03e44e084a33e796ad2ccc04af}{evas\+\_\+3d\+\_\+light\+::specular\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} r\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} g\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} b\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} a\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the specular color of the given light. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_ga56417bf43ee5919d0d77df2d741f6450}{evas\+\_\+3d\+\_\+light\+::specular\+\_\+get} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$r\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$g\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$b\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$a\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Get the specular color of the given light. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_gad4415cb67a0e2c29714bb5ce6c241973}{evas\+\_\+3d\+\_\+light\+::attenuation\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} constant\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} linear\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} quadratic\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the attenuation of the given light. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_ga8fdad326f78e0e867d3bcc0caaf0dac8}{evas\+\_\+3d\+\_\+light\+::attenuation\+\_\+get} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$constant\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$linear\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$quadratic\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Get the attenuation of the given light. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_ga366ca0ad515bf6992cdb3d71b3b812c2}{evas\+\_\+3d\+\_\+light\+::projection\+\_\+matrix\+\_\+set} (const \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$matrix\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the projection matrix of the given light source. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_gacbdc53f86b0e0206a23f85906e376e3f}{evas\+\_\+3d\+\_\+light\+::projection\+\_\+matrix\+\_\+get} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} $\ast$matrix\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Get the projection matrix of the given light source. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_gad8f20077f640a81e5ee2c4e88ede6404}{evas\+\_\+3d\+\_\+light\+::projection\+\_\+perspective\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} fovy\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} aspect\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} dnear\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} dfar\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the projection matrix of the given light source with perspective projection. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_ga46a4384e8010ec38a97849319437135e}{evas\+\_\+3d\+\_\+light\+::projection\+\_\+frustum\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} left\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} right\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} bottom\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} top\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} dnear\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} dfar\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the projection matrix of the given light source with frustum projection. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Light_gab1a75dacdb7a2644f78ad330f02b0eae}{evas\+\_\+3d\+\_\+light\+::projection\+\_\+ortho\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} left\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} right\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} bottom\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} top\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} dnear\+\_\+, \hyperlink{group__Evas__3D__Types_ga26ac85dabaf94eff27c75c387b526ef8}{Evas\+\_\+\+Real} dfar\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the projection matrix of the given light source with orthogonal projection. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A light object represents a set of properties of a light source. 

Evas 3\+D provides standard reflection model that of ambient, diffuse and specular reflection model. Also, Evas 3\+D support 3 types of light model, directional, point and spot light. Light position and direction is determined by the node containing the light. 

\subsection{Typedef Documentation}
\hypertarget{group__Evas__3D__Light_ga8dfa7fb0636587e790767fa558ddf002}{\index{Light Object@{Light Object}!Evas\+\_\+3\+D\+\_\+\+Light@{Evas\+\_\+3\+D\+\_\+\+Light}}
\index{Evas\+\_\+3\+D\+\_\+\+Light@{Evas\+\_\+3\+D\+\_\+\+Light}!Light Object@{Light Object}}
\subsubsection[{Evas\+\_\+3\+D\+\_\+\+Light}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\+\_\+3\+D\+\_\+\+Light}}}\label{group__Evas__3D__Light_ga8dfa7fb0636587e790767fa558ddf002}


Light object handle. 

\begin{DoxySince}{Since}
1.\+10 
\end{DoxySince}


\subsection{Function Documentation}
\hypertarget{group__Evas__3D__Light_ga136bb2c0bfb0bf4e62ab7034f1942d06}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+set}}
\index{evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Bool}}]{directional}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga136bb2c0bfb0bf4e62ab7034f1942d06}


Set the directional flag of the given light. 

Directional light is a type of light which is infinitely far away with no attenuation. The light direction is determined by the containing node's forward vector (negative Z-\/axis).

By default, directional is not enabled.

\begin{DoxySeeAlso}{See also}
evas\+\_\+3d\+\_\+node\+\_\+look\+\_\+at\+\_\+set()
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em directional} & Whether the light is directional ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}), or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}). \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::directional\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga378c3a4317e605931b68e9f699389475}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+get}}
\index{evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Eina\+\_\+\+Bool} evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga378c3a4317e605931b68e9f699389475}


Get the directional flag of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga136bb2c0bfb0bf4e62ab7034f1942d06}{evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+set()} 
\end{DoxySeeAlso}


Referenced by evas\+\_\+3d\+\_\+light\+::directional\+\_\+get().

\hypertarget{group__Evas__3D__Light_gad71d6c14c50f82b09e4dd47b8e3bc828}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+set}}
\index{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{exponent}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_gad71d6c14c50f82b09e4dd47b8e3bc828}


Set the spot exponent of the given light. 

Higher spot exponent means intensity at the center of the cone is relatively stronger. Zero exponent means the light intensity is evenly distibuted. The spot exponent has no effect when the light is not spot light (spot cutoff angle is less than 180 degree).

Default spot exponent is 0.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga05068efd7012f94cb9d901479b20cc86}{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em exponent} & Spot exponent value.. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::spot\+\_\+exponent\+\_\+set().

\hypertarget{group__Evas__3D__Light_gaf4524415986765c8d870a45c7b633e92}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+get}}
\index{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Evas\+\_\+\+Real} evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_gaf4524415986765c8d870a45c7b633e92}


Get the spot exponent of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_gad71d6c14c50f82b09e4dd47b8e3bc828}{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+set()} 
\end{DoxySeeAlso}


Referenced by evas\+\_\+3d\+\_\+light\+::spot\+\_\+exponent\+\_\+get().

\hypertarget{group__Evas__3D__Light_ga05068efd7012f94cb9d901479b20cc86}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+set}}
\index{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{cutoff}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga05068efd7012f94cb9d901479b20cc86}


Set the spot cutoff angle of the given light. 

Only angle less than 180 degree will make it spot light, so that other spot light attribute will take effect.

Default spot cutoff angle is 180.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em cutoff} & Cutoff angle in degree.. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::spot\+\_\+cutoff\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga2bc3e5713a2eda0dcdcda5c7816a4f4d}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+get}}
\index{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Evas\+\_\+\+Real} evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga2bc3e5713a2eda0dcdcda5c7816a4f4d}


Get the spot cutoff angle of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga05068efd7012f94cb9d901479b20cc86}{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+set()} 
\end{DoxySeeAlso}


Referenced by evas\+\_\+3d\+\_\+light\+::spot\+\_\+cutoff\+\_\+get().

\hypertarget{group__Evas__3D__Light_gadcdfa88d7bf0369ca36d02b5d82ea14e}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+set}}
\index{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Bool}}]{enable}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_gadcdfa88d7bf0369ca36d02b5d82ea14e}


Set the attenuation enable flag of the given light. 

By default, light attenuation is not enabled.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_gacb4d8e38f8c678a7a05f995fa8425999}{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em enable} & Whether to enable attenuation ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}), or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}).. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::attenuation\+\_\+enable\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga99051a9b9563994a276b492560c9de02}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+get}}
\index{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Eina\+\_\+\+Bool} evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga99051a9b9563994a276b492560c9de02}


Get the attenuation enable flag of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_gadcdfa88d7bf0369ca36d02b5d82ea14e}{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+set()} 
\end{DoxySeeAlso}


Referenced by evas\+\_\+3d\+\_\+light\+::attenuation\+\_\+enable\+\_\+get().

\hypertarget{group__Evas__3D__Light_ga3afd01d21ce3ed7aed5ddb168b72c10c}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+set}}
\index{evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{r, }
\item[{{\bf Evas\+\_\+\+Real}}]{g, }
\item[{{\bf Evas\+\_\+\+Real}}]{b, }
\item[{{\bf Evas\+\_\+\+Real}}]{a}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga3afd01d21ce3ed7aed5ddb168b72c10c}


Set the ambient color of the given light. 

Default ambient color is (0.\+0, 0.\+0, 0.\+0, 1.\+0).


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em r} & Red component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt in}  & {\em g} & Green component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt in}  & {\em b} & Blue component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt in}  & {\em a} & Alpha component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::ambient\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga0d2cff6d4326341250c45718de090717}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+get}}
\index{evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{r, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{g, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{b, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{a}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga0d2cff6d4326341250c45718de090717}


Get the ambient color of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga3afd01d21ce3ed7aed5ddb168b72c10c}{evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em r} & Red component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em g} & Green component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em b} & Blue component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em a} & Alpha component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::ambient\+\_\+get().

\hypertarget{group__Evas__3D__Light_ga71030d9a715a0ca47849107c4d8e9ed3}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+set}}
\index{evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{r, }
\item[{{\bf Evas\+\_\+\+Real}}]{g, }
\item[{{\bf Evas\+\_\+\+Real}}]{b, }
\item[{{\bf Evas\+\_\+\+Real}}]{a}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga71030d9a715a0ca47849107c4d8e9ed3}


Set the diffuse color of the given light. 

Default diffuse color is (1.\+0, 1.\+0, 1.\+0, 1.\+0).


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em r} & Red component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt in}  & {\em g} & Green component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt in}  & {\em b} & Blue component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt in}  & {\em a} & Alpha component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::diffuse\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga0d8546100f6e1fca3a002c598fe66158}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+get}}
\index{evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{r, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{g, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{b, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{a}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga0d8546100f6e1fca3a002c598fe66158}


Get the diffuse color of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga71030d9a715a0ca47849107c4d8e9ed3}{evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em r} & Red component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em g} & Green component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em b} & Blue component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em a} & Alpha component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::diffuse\+\_\+get().

\hypertarget{group__Evas__3D__Light_ga27f4a5a9e95e37edd5866fe14bbe6f43}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+set}}
\index{evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{r, }
\item[{{\bf Evas\+\_\+\+Real}}]{g, }
\item[{{\bf Evas\+\_\+\+Real}}]{b, }
\item[{{\bf Evas\+\_\+\+Real}}]{a}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga27f4a5a9e95e37edd5866fe14bbe6f43}


Set the specular color of the given light. 

Default specular color is (1.\+0, 1.\+0, 1.\+0, 1.\+0).


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em r} & Red component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt in}  & {\em g} & Green component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt in}  & {\em b} & Blue component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt in}  & {\em a} & Alpha component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::specular\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga35132a5ca0ad10c299cbe619de4ca800}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+get}}
\index{evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{r, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{g, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{b, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{a}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga35132a5ca0ad10c299cbe619de4ca800}


Get the specular color of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga27f4a5a9e95e37edd5866fe14bbe6f43}{evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em r} & Red component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em g} & Green component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em b} & Blue component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em a} & Alpha component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::specular\+\_\+get().

\hypertarget{group__Evas__3D__Light_gacb4d8e38f8c678a7a05f995fa8425999}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+set}}
\index{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{constant, }
\item[{{\bf Evas\+\_\+\+Real}}]{linear, }
\item[{{\bf Evas\+\_\+\+Real}}]{quadratic}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_gacb4d8e38f8c678a7a05f995fa8425999}


Set the attenuation of the given light. 

Light attenuation has no effect with directional light. And the attenuation should be enabled first to take effect. The attenuation factor is calculated as follows.

atten = 1.\+0 / constant + linear $\ast$ distance + quadratic $\ast$ distance $\ast$ distance

Default attenuation is constant = 1.\+0, linear = 0.\+0, quadratic = 0.\+0.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_gadcdfa88d7bf0369ca36d02b5d82ea14e}{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em constant} & Constant attenuation term.. \\
\hline
\mbox{\tt in}  & {\em linear} & Linear attenuation term.. \\
\hline
\mbox{\tt in}  & {\em quadratic} & Quadratic attenuation term.. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::attenuation\+\_\+set().

\hypertarget{group__Evas__3D__Light_gad5c5ad21ee7051a862a5f737d90fa716}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+get}}
\index{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{constant, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{linear, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{quadratic}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_gad5c5ad21ee7051a862a5f737d90fa716}


Get the attenuation of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_gacb4d8e38f8c678a7a05f995fa8425999}{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em constant} & Constant attenuation term.. \\
\hline
\mbox{\tt out}  & {\em linear} & Linear attenuation term.. \\
\hline
\mbox{\tt out}  & {\em quadratic} & Quadratic attenuation term.. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::attenuation\+\_\+get().

\hypertarget{group__Evas__3D__Light_ga4d960fb0e5ae92108e6cca2dd9817a2c}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+set}}
\index{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+set (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Real} $\ast$}]{matrix}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga4d960fb0e5ae92108e6cca2dd9817a2c}


Set the projection matrix of the given light source. 


\begin{DoxyParams}{Parameters}
{\em light} & The given light source. \\
\hline
{\em matrix} & Pointer to the array of 16 Evas\+\_\+\+Real values in column major order.\\
\hline
\end{DoxyParams}
Default projection matrix is identity matrix.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga2236a94c61779d0e63850549a3f125d7}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+perspective\+\_\+set()} 

\hyperlink{group__Evas__3D__Light_ga9f74147d9cd098dd7e8c665064faf327}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+ortho\+\_\+set()} 

\hyperlink{group__Evas__3D__Light_ga8309f732ea8b684faece888deb59a8b1}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+frustum\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em matrix} & Projection Matrix \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::projection\+\_\+matrix\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga9b48da0256169b16dab4d66a3ff08a46}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+get}}
\index{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+get@{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{matrix}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga9b48da0256169b16dab4d66a3ff08a46}


Get the projection matrix of the given light source. 


\begin{DoxyParams}{Parameters}
{\em light} & The given light source. \\
\hline
{\em matrix} & Pointer to receive the 16 Evas\+\_\+\+Real values in column major order.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga4d960fb0e5ae92108e6cca2dd9817a2c}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em matrix} & Projection Matrix \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::projection\+\_\+matrix\+\_\+get().

\hypertarget{group__Evas__3D__Light_ga2236a94c61779d0e63850549a3f125d7}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+perspective\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+perspective\+\_\+set}}
\index{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+perspective\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+perspective\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+perspective\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+perspective\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{fovy, }
\item[{{\bf Evas\+\_\+\+Real}}]{aspect, }
\item[{{\bf Evas\+\_\+\+Real}}]{dnear, }
\item[{{\bf Evas\+\_\+\+Real}}]{dfar}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga2236a94c61779d0e63850549a3f125d7}


Set the projection matrix of the given light source with perspective projection. 


\begin{DoxyParams}{Parameters}
{\em light} & The given light source. \\
\hline
{\em fovy} & Field of view angle in Y direction. \\
\hline
{\em aspect} & Aspect ratio. \\
\hline
{\em dnear} & Distance to near clipping plane. \\
\hline
{\em dfar} & Distance to far clipping plane.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga4d960fb0e5ae92108e6cca2dd9817a2c}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fovy} & Field of view angle in Y direction. \\
\hline
\mbox{\tt in}  & {\em aspect} & Aspect ratio. \\
\hline
\mbox{\tt in}  & {\em dnear} & Distance to near clipping plane. \\
\hline
\mbox{\tt in}  & {\em dfar} & Distance to far clipping plane. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::projection\+\_\+perspective\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga8309f732ea8b684faece888deb59a8b1}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+frustum\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+frustum\+\_\+set}}
\index{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+frustum\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+frustum\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+frustum\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+frustum\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{left, }
\item[{{\bf Evas\+\_\+\+Real}}]{right, }
\item[{{\bf Evas\+\_\+\+Real}}]{bottom, }
\item[{{\bf Evas\+\_\+\+Real}}]{top, }
\item[{{\bf Evas\+\_\+\+Real}}]{dnear, }
\item[{{\bf Evas\+\_\+\+Real}}]{dfar}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga8309f732ea8b684faece888deb59a8b1}


Set the projection matrix of the given light source with frustum projection. 

\begin{DoxySeeAlso}{See also}
evas\+\_\+3d\+\_\+\+Light\+\_\+projection\+\_\+matrix\+\_\+set()
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em left} & Left X coordinate of the near clipping plane. \\
\hline
\mbox{\tt in}  & {\em right} & Right X coordinate of the near clipping plane.. \\
\hline
\mbox{\tt in}  & {\em bottom} & Bottom Y coordinate of the near clipping plane. \\
\hline
\mbox{\tt in}  & {\em top} & Top Y coordinate of the near clipping plane \\
\hline
\mbox{\tt in}  & {\em dnear} & Distance to near clipping plane. \\
\hline
\mbox{\tt in}  & {\em dfar} & Distance to far clipping plane. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::projection\+\_\+frustum\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga9f74147d9cd098dd7e8c665064faf327}{\index{Light Object@{Light Object}!evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+ortho\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+ortho\+\_\+set}}
\index{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+ortho\+\_\+set@{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+ortho\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+ortho\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+ortho\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{left, }
\item[{{\bf Evas\+\_\+\+Real}}]{right, }
\item[{{\bf Evas\+\_\+\+Real}}]{bottom, }
\item[{{\bf Evas\+\_\+\+Real}}]{top, }
\item[{{\bf Evas\+\_\+\+Real}}]{dnear, }
\item[{{\bf Evas\+\_\+\+Real}}]{dfar}
\end{DoxyParamCaption}
)}}\label{group__Evas__3D__Light_ga9f74147d9cd098dd7e8c665064faf327}


Set the projection matrix of the given light source with orthogonal projection. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga4d960fb0e5ae92108e6cca2dd9817a2c}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em left} & Left X coordinate of the near clipping plane. \\
\hline
\mbox{\tt in}  & {\em right} & Right X coordinate of the near clipping plane.. \\
\hline
\mbox{\tt in}  & {\em bottom} & Bottom Y coordinate of the near clipping plane. \\
\hline
\mbox{\tt in}  & {\em top} & Top Y coordinate of the near clipping plane \\
\hline
\mbox{\tt in}  & {\em dnear} & Distance to near clipping plane. \\
\hline
\mbox{\tt in}  & {\em dfar} & Distance to far clipping plane. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+3d\+\_\+light\+::projection\+\_\+ortho\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga06b7170fd8aa5741c988da20291ea83e}{\index{Light Object@{Light Object}!directional\+\_\+get@{directional\+\_\+get}}
\index{directional\+\_\+get@{directional\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{directional\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}bool evas\+\_\+3d\+\_\+light\+::directional\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_ga06b7170fd8aa5741c988da20291ea83e}


Get the directional flag of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga136bb2c0bfb0bf4e62ab7034f1942d06}{evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em directional} & Whether the light is directional ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}), or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}). \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+get().

\hypertarget{group__Evas__3D__Light_gad9a53821fd6f16fa4aa4dfa68159b357}{\index{Light Object@{Light Object}!directional\+\_\+set@{directional\+\_\+set}}
\index{directional\+\_\+set@{directional\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{directional\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::directional\+\_\+set (
\begin{DoxyParamCaption}
\item[{bool}]{directional\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_gad9a53821fd6f16fa4aa4dfa68159b357}


Set the directional flag of the given light. 

Directional light is a type of light which is infinitely far away with no attenuation. The light direction is determined by the containing node's forward vector (negative Z-\/axis).

By default, directional is not enabled.

\begin{DoxySeeAlso}{See also}
evas\+\_\+3d\+\_\+node\+\_\+look\+\_\+at\+\_\+set()
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em directional} & Whether the light is directional ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}), or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}). \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+directional\+\_\+set().

\hypertarget{group__Evas__3D__Light_gad0265a171651e97a66f524ba5a77c228}{\index{Light Object@{Light Object}!spot\+\_\+exponent\+\_\+get@{spot\+\_\+exponent\+\_\+get}}
\index{spot\+\_\+exponent\+\_\+get@{spot\+\_\+exponent\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{spot\+\_\+exponent\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\+\_\+\+Real} evas\+\_\+3d\+\_\+light\+::spot\+\_\+exponent\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_gad0265a171651e97a66f524ba5a77c228}


Get the spot exponent of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_gad71d6c14c50f82b09e4dd47b8e3bc828}{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em exponent} & Spot exponent value.. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+get().

\hypertarget{group__Evas__3D__Light_ga33b58ee5211d874bdda3ac99e5722f7f}{\index{Light Object@{Light Object}!spot\+\_\+exponent\+\_\+set@{spot\+\_\+exponent\+\_\+set}}
\index{spot\+\_\+exponent\+\_\+set@{spot\+\_\+exponent\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{spot\+\_\+exponent\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::spot\+\_\+exponent\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{exponent\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_ga33b58ee5211d874bdda3ac99e5722f7f}


Set the spot exponent of the given light. 

Higher spot exponent means intensity at the center of the cone is relatively stronger. Zero exponent means the light intensity is evenly distibuted. The spot exponent has no effect when the light is not spot light (spot cutoff angle is less than 180 degree).

Default spot exponent is 0.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga05068efd7012f94cb9d901479b20cc86}{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em exponent} & Spot exponent value.. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+exponent\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga5b9783ab2ae5e1a2c7336c951fbca0f6}{\index{Light Object@{Light Object}!spot\+\_\+cutoff\+\_\+get@{spot\+\_\+cutoff\+\_\+get}}
\index{spot\+\_\+cutoff\+\_\+get@{spot\+\_\+cutoff\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{spot\+\_\+cutoff\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\+\_\+\+Real} evas\+\_\+3d\+\_\+light\+::spot\+\_\+cutoff\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_ga5b9783ab2ae5e1a2c7336c951fbca0f6}


Get the spot cutoff angle of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga05068efd7012f94cb9d901479b20cc86}{evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em cutoff} & Cutoff angle in degree.. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+get().

\hypertarget{group__Evas__3D__Light_gaf893bd0c5501fc6c835382cc24171f8b}{\index{Light Object@{Light Object}!spot\+\_\+cutoff\+\_\+set@{spot\+\_\+cutoff\+\_\+set}}
\index{spot\+\_\+cutoff\+\_\+set@{spot\+\_\+cutoff\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{spot\+\_\+cutoff\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::spot\+\_\+cutoff\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{cutoff\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_gaf893bd0c5501fc6c835382cc24171f8b}


Set the spot cutoff angle of the given light. 

Only angle less than 180 degree will make it spot light, so that other spot light attribute will take effect.

Default spot cutoff angle is 180.


\begin{DoxyParams}{Parameters}
{\em cutoff} & Cutoff angle in degree.. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+spot\+\_\+cutoff\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga79f68af85db1c92e4de489e49b25ffe5}{\index{Light Object@{Light Object}!attenuation\+\_\+enable\+\_\+get@{attenuation\+\_\+enable\+\_\+get}}
\index{attenuation\+\_\+enable\+\_\+get@{attenuation\+\_\+enable\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{attenuation\+\_\+enable\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}bool evas\+\_\+3d\+\_\+light\+::attenuation\+\_\+enable\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_ga79f68af85db1c92e4de489e49b25ffe5}


Get the attenuation enable flag of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_gadcdfa88d7bf0369ca36d02b5d82ea14e}{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em enable} & Whether to enable attenuation ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}), or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}).. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+get().

\hypertarget{group__Evas__3D__Light_ga76a72a470d0fbf7a4a2ef8bcdcc47386}{\index{Light Object@{Light Object}!attenuation\+\_\+enable\+\_\+set@{attenuation\+\_\+enable\+\_\+set}}
\index{attenuation\+\_\+enable\+\_\+set@{attenuation\+\_\+enable\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{attenuation\+\_\+enable\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::attenuation\+\_\+enable\+\_\+set (
\begin{DoxyParamCaption}
\item[{bool}]{enable\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_ga76a72a470d0fbf7a4a2ef8bcdcc47386}


Set the attenuation enable flag of the given light. 

By default, light attenuation is not enabled.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_gacb4d8e38f8c678a7a05f995fa8425999}{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em enable} & Whether to enable attenuation ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}), or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}).. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+set().

\hypertarget{group__Evas__3D__Light_gaeaeb01b849f09f478ae9e66c202e8f9d}{\index{Light Object@{Light Object}!ambient\+\_\+set@{ambient\+\_\+set}}
\index{ambient\+\_\+set@{ambient\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{ambient\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::ambient\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{r\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{g\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{b\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{a\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_gaeaeb01b849f09f478ae9e66c202e8f9d}


Set the ambient color of the given light. 

Default ambient color is (0.\+0, 0.\+0, 0.\+0, 1.\+0).


\begin{DoxyParams}{Parameters}
{\em r} & Red component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
{\em g} & Green component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
{\em b} & Blue component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
{\em a} & Alpha component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga5ac59491f5a792d337fee76910c0359d}{\index{Light Object@{Light Object}!ambient\+\_\+get@{ambient\+\_\+get}}
\index{ambient\+\_\+get@{ambient\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{ambient\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::ambient\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{r\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{g\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{b\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{a\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_ga5ac59491f5a792d337fee76910c0359d}


Get the ambient color of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga3afd01d21ce3ed7aed5ddb168b72c10c}{evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em r} & Red component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em g} & Green component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em b} & Blue component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em a} & Alpha component of the ambient color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+ambient\+\_\+get().

\hypertarget{group__Evas__3D__Light_ga8f2767136320b9d27a7686ef25f44d39}{\index{Light Object@{Light Object}!diffuse\+\_\+set@{diffuse\+\_\+set}}
\index{diffuse\+\_\+set@{diffuse\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{diffuse\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::diffuse\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{r\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{g\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{b\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{a\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_ga8f2767136320b9d27a7686ef25f44d39}


Set the diffuse color of the given light. 

Default diffuse color is (1.\+0, 1.\+0, 1.\+0, 1.\+0).


\begin{DoxyParams}{Parameters}
{\em r} & Red component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
{\em g} & Green component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
{\em b} & Blue component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
{\em a} & Alpha component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga40e8eecf6560caa3fe40afbe3224b91d}{\index{Light Object@{Light Object}!diffuse\+\_\+get@{diffuse\+\_\+get}}
\index{diffuse\+\_\+get@{diffuse\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{diffuse\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::diffuse\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{r\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{g\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{b\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{a\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_ga40e8eecf6560caa3fe40afbe3224b91d}


Get the diffuse color of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga71030d9a715a0ca47849107c4d8e9ed3}{evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em r} & Red component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em g} & Green component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em b} & Blue component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em a} & Alpha component of the diffuse color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+diffuse\+\_\+get().

\hypertarget{group__Evas__3D__Light_ga83837b03e44e084a33e796ad2ccc04af}{\index{Light Object@{Light Object}!specular\+\_\+set@{specular\+\_\+set}}
\index{specular\+\_\+set@{specular\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{specular\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::specular\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{r\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{g\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{b\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{a\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_ga83837b03e44e084a33e796ad2ccc04af}


Set the specular color of the given light. 

Default specular color is (1.\+0, 1.\+0, 1.\+0, 1.\+0).


\begin{DoxyParams}{Parameters}
{\em r} & Red component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
{\em g} & Green component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
{\em b} & Blue component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
{\em a} & Alpha component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga56417bf43ee5919d0d77df2d741f6450}{\index{Light Object@{Light Object}!specular\+\_\+get@{specular\+\_\+get}}
\index{specular\+\_\+get@{specular\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{specular\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::specular\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{r\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{g\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{b\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{a\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_ga56417bf43ee5919d0d77df2d741f6450}


Get the specular color of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga27f4a5a9e95e37edd5866fe14bbe6f43}{evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em r} & Red component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em g} & Green component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em b} & Blue component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\mbox{\tt out}  & {\em a} & Alpha component of the specular color between \mbox{[}0.\+0, 1.\+0\mbox{]}. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+specular\+\_\+get().

\hypertarget{group__Evas__3D__Light_gad4415cb67a0e2c29714bb5ce6c241973}{\index{Light Object@{Light Object}!attenuation\+\_\+set@{attenuation\+\_\+set}}
\index{attenuation\+\_\+set@{attenuation\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{attenuation\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::attenuation\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{constant\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{linear\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{quadratic\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_gad4415cb67a0e2c29714bb5ce6c241973}


Set the attenuation of the given light. 

Light attenuation has no effect with directional light. And the attenuation should be enabled first to take effect. The attenuation factor is calculated as follows.

atten = 1.\+0 / constant + linear $\ast$ distance + quadratic $\ast$ distance $\ast$ distance

Default attenuation is constant = 1.\+0, linear = 0.\+0, quadratic = 0.\+0.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_gadcdfa88d7bf0369ca36d02b5d82ea14e}{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+enable\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em constant} & Constant attenuation term.. \\
\hline
{\em linear} & Linear attenuation term.. \\
\hline
{\em quadratic} & Quadratic attenuation term.. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga8fdad326f78e0e867d3bcc0caaf0dac8}{\index{Light Object@{Light Object}!attenuation\+\_\+get@{attenuation\+\_\+get}}
\index{attenuation\+\_\+get@{attenuation\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{attenuation\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::attenuation\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{constant\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{linear\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{quadratic\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_ga8fdad326f78e0e867d3bcc0caaf0dac8}


Get the attenuation of the given light. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_gacb4d8e38f8c678a7a05f995fa8425999}{evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em constant} & Constant attenuation term.. \\
\hline
\mbox{\tt out}  & {\em linear} & Linear attenuation term.. \\
\hline
\mbox{\tt out}  & {\em quadratic} & Quadratic attenuation term.. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+attenuation\+\_\+get().

\hypertarget{group__Evas__3D__Light_ga366ca0ad515bf6992cdb3d71b3b812c2}{\index{Light Object@{Light Object}!projection\+\_\+matrix\+\_\+set@{projection\+\_\+matrix\+\_\+set}}
\index{projection\+\_\+matrix\+\_\+set@{projection\+\_\+matrix\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{projection\+\_\+matrix\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::projection\+\_\+matrix\+\_\+set (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Real} $\ast$}]{matrix\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_ga366ca0ad515bf6992cdb3d71b3b812c2}


Set the projection matrix of the given light source. 


\begin{DoxyParams}{Parameters}
{\em light} & The given light source. \\
\hline
{\em matrix} & Pointer to the array of 16 Evas\+\_\+\+Real values in column major order.\\
\hline
\end{DoxyParams}
Default projection matrix is identity matrix.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga2236a94c61779d0e63850549a3f125d7}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+perspective\+\_\+set()} 

\hyperlink{group__Evas__3D__Light_ga9f74147d9cd098dd7e8c665064faf327}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+ortho\+\_\+set()} 

\hyperlink{group__Evas__3D__Light_ga8309f732ea8b684faece888deb59a8b1}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+frustum\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em matrix} & Projection Matrix \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+set().

\hypertarget{group__Evas__3D__Light_gacbdc53f86b0e0206a23f85906e376e3f}{\index{Light Object@{Light Object}!projection\+\_\+matrix\+\_\+get@{projection\+\_\+matrix\+\_\+get}}
\index{projection\+\_\+matrix\+\_\+get@{projection\+\_\+matrix\+\_\+get}!Light Object@{Light Object}}
\subsubsection[{projection\+\_\+matrix\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::projection\+\_\+matrix\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{matrix\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_gacbdc53f86b0e0206a23f85906e376e3f}


Get the projection matrix of the given light source. 


\begin{DoxyParams}{Parameters}
{\em light} & The given light source. \\
\hline
{\em matrix} & Pointer to receive the 16 Evas\+\_\+\+Real values in column major order.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga4d960fb0e5ae92108e6cca2dd9817a2c}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em matrix} & Projection Matrix \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+get().

\hypertarget{group__Evas__3D__Light_gad8f20077f640a81e5ee2c4e88ede6404}{\index{Light Object@{Light Object}!projection\+\_\+perspective\+\_\+set@{projection\+\_\+perspective\+\_\+set}}
\index{projection\+\_\+perspective\+\_\+set@{projection\+\_\+perspective\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{projection\+\_\+perspective\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::projection\+\_\+perspective\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{fovy\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{aspect\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{dnear\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{dfar\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_gad8f20077f640a81e5ee2c4e88ede6404}


Set the projection matrix of the given light source with perspective projection. 


\begin{DoxyParams}{Parameters}
{\em light} & The given light source. \\
\hline
{\em fovy} & Field of view angle in Y direction. \\
\hline
{\em aspect} & Aspect ratio. \\
\hline
{\em dnear} & Distance to near clipping plane. \\
\hline
{\em dfar} & Distance to far clipping plane.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga4d960fb0e5ae92108e6cca2dd9817a2c}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em fovy} & Field of view angle in Y direction. \\
\hline
{\em aspect} & Aspect ratio. \\
\hline
{\em dnear} & Distance to near clipping plane. \\
\hline
{\em dfar} & Distance to far clipping plane. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+perspective\+\_\+set().

\hypertarget{group__Evas__3D__Light_ga46a4384e8010ec38a97849319437135e}{\index{Light Object@{Light Object}!projection\+\_\+frustum\+\_\+set@{projection\+\_\+frustum\+\_\+set}}
\index{projection\+\_\+frustum\+\_\+set@{projection\+\_\+frustum\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{projection\+\_\+frustum\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::projection\+\_\+frustum\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{left\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{right\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{bottom\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{top\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{dnear\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{dfar\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_ga46a4384e8010ec38a97849319437135e}


Set the projection matrix of the given light source with frustum projection. 

\begin{DoxySeeAlso}{See also}
evas\+\_\+3d\+\_\+\+Light\+\_\+projection\+\_\+matrix\+\_\+set()
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em left} & Left X coordinate of the near clipping plane. \\
\hline
{\em right} & Right X coordinate of the near clipping plane.. \\
\hline
{\em bottom} & Bottom Y coordinate of the near clipping plane. \\
\hline
{\em top} & Top Y coordinate of the near clipping plane \\
\hline
{\em dnear} & Distance to near clipping plane. \\
\hline
{\em dfar} & Distance to far clipping plane. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+frustum\+\_\+set().

\hypertarget{group__Evas__3D__Light_gab1a75dacdb7a2644f78ad330f02b0eae}{\index{Light Object@{Light Object}!projection\+\_\+ortho\+\_\+set@{projection\+\_\+ortho\+\_\+set}}
\index{projection\+\_\+ortho\+\_\+set@{projection\+\_\+ortho\+\_\+set}!Light Object@{Light Object}}
\subsubsection[{projection\+\_\+ortho\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+light\+::projection\+\_\+ortho\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{left\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{right\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{bottom\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{top\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{dnear\+\_\+, }
\item[{{\bf Evas\+\_\+\+Real}}]{dfar\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{group__Evas__3D__Light_gab1a75dacdb7a2644f78ad330f02b0eae}


Set the projection matrix of the given light source with orthogonal projection. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__3D__Light_ga4d960fb0e5ae92108e6cca2dd9817a2c}{evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+matrix\+\_\+set()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em left} & Left X coordinate of the near clipping plane. \\
\hline
{\em right} & Right X coordinate of the near clipping plane.. \\
\hline
{\em bottom} & Bottom Y coordinate of the near clipping plane. \\
\hline
{\em top} & Top Y coordinate of the near clipping plane \\
\hline
{\em dnear} & Distance to near clipping plane. \\
\hline
{\em dfar} & Distance to far clipping plane. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr(), and evas\+\_\+3d\+\_\+light\+\_\+projection\+\_\+ortho\+\_\+set().

