\hypertarget{group__Evas__Canvas3D__Scene}{}\section{Scene Object}
\label{group__Evas__Canvas3D__Scene}\index{Scene Object@{Scene Object}}


A scene represents a captured image of a scene graph through its viewing camera.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+PI void \hyperlink{group__Evas__Canvas3D__Scene_ga56e50e146e4c8eb75e999a42077ffeb8}{evas\+\_\+canvas3d\+\_\+scene\+\_\+root\+\_\+node\+\_\+set} (Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$node)
\begin{DoxyCompactList}\small\item\em Set the root node of a scene. \end{DoxyCompactList}\item 
E\+O\+A\+PI Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$ \hyperlink{group__Evas__Canvas3D__Scene_ga43da69805fbb65cd87fd70df67d35614}{evas\+\_\+canvas3d\+\_\+scene\+\_\+root\+\_\+node\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the root node of a scene. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Evas__Canvas3D__Scene_ga57c2dbbc51bcaf66ca62c60c44ce52d9}{evas\+\_\+canvas3d\+\_\+scene\+\_\+camera\+\_\+node\+\_\+set} (Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$node)
\begin{DoxyCompactList}\small\item\em Set the camera node of a scene. \end{DoxyCompactList}\item 
E\+O\+A\+PI Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$ \hyperlink{group__Evas__Canvas3D__Scene_ga630489802664252cdf27668b867b15d1}{evas\+\_\+canvas3d\+\_\+scene\+\_\+camera\+\_\+node\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the camera node of a scene. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Evas__Canvas3D__Scene_gafff987c1eb38789b51746eb3e19d8d6a}{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+depth\+\_\+set} (\hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} depth\+\_\+offset, \hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} depth\+\_\+constant)
\begin{DoxyCompactList}\small\item\em Set scale and units used to calculate depth values. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Evas__Canvas3D__Scene_gaf46d9a5e690ba63d8382bf7c6d03506d}{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+depth\+\_\+get} (\hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} $\ast$depth\+\_\+offset, \hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} $\ast$depth\+\_\+constant)
\begin{DoxyCompactList}\small\item\em Get scale and units used to calculate depth values. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Evas__Canvas3D__Scene_gac14536e0dea2b29e44f2ead354a1b665}{evas\+\_\+canvas3d\+\_\+scene\+\_\+size\+\_\+set} (int w, int h)
\begin{DoxyCompactList}\small\item\em Set the resolution of a scene. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Evas__Canvas3D__Scene_ga124c7bdf784ad407c0045fe190c807c6}{evas\+\_\+canvas3d\+\_\+scene\+\_\+size\+\_\+get} (int $\ast$w, int $\ast$h)
\begin{DoxyCompactList}\small\item\em Get the internal resolution of a scene. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Evas__Canvas3D__Scene_ga171c9a49e95d179d1610ff3537584296}{evas\+\_\+canvas3d\+\_\+scene\+\_\+background\+\_\+color\+\_\+set} (\hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} r, \hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} g, \hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} b, \hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} a)
\begin{DoxyCompactList}\small\item\em Set the background color of a scene. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Evas__Canvas3D__Scene_gad480a1dbdfe01a371d7c07f75b1cdc4f}{evas\+\_\+canvas3d\+\_\+scene\+\_\+background\+\_\+color\+\_\+get} (\hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} $\ast$r, \hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} $\ast$g, \hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} $\ast$b, \hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} $\ast$a)
\begin{DoxyCompactList}\small\item\em Get the background color of a scene. \end{DoxyCompactList}\item 
E\+O\+A\+PI \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Canvas3D__Scene_gaf42b68d557f55c2e51cdded1d52d49f9}{evas\+\_\+canvas3d\+\_\+scene\+\_\+pick} (\hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} x, \hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} y, Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$$\ast$node, Evas\+\_\+\+Canvas3\+D\+\_\+\+Mesh $\ast$$\ast$mesh, \hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} $\ast$s, \hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} $\ast$t)
\begin{DoxyCompactList}\small\item\em Get information on the most front visible mesh for the given position. \end{DoxyCompactList}\item 
E\+O\+A\+PI Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$ \hyperlink{group__Evas__Canvas3D__Scene_gae42cee93e5641497bb66c02f7ca6450d}{evas\+\_\+canvas3d\+\_\+scene\+\_\+exist} (\hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} x, \hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} y, Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$node)
\begin{DoxyCompactList}\small\item\em Search given node in the given position. \end{DoxyCompactList}\item 
E\+O\+A\+PI \hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Evas__Canvas3D__Scene_gabd521171ee56e18262ca850ec9ee43ce}{evas\+\_\+canvas3d\+\_\+scene\+\_\+pick\+\_\+member\+\_\+list\+\_\+get} (\hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} x, \hyperlink{group__Evas_gafe9cc74872ef141d258c2162fa0ce5ca}{Evas\+\_\+\+Real} y)
\begin{DoxyCompactList}\small\item\em Get list of the all root members from scene in the given position. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Evas__Canvas3D__Scene_gad421ca288ee7c6642b84b78c7d020be4}{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+enable\+\_\+set} (\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} shadows\+\_\+enabled)
\begin{DoxyCompactList}\small\item\em Enable or disable shadows on given scene. \end{DoxyCompactList}\item 
E\+O\+A\+PI \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Canvas3D__Scene_ga25044c36d00804829c29944a811f2c18}{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+enable\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get shadows enabled status for given scene. \end{DoxyCompactList}\item 
E\+O\+A\+PI \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Canvas3D__Scene_ga8dfd6e059520fed17596638601ed886d}{evas\+\_\+canvas3d\+\_\+scene\+\_\+color\+\_\+pick\+\_\+enable\+\_\+get} (void)\hypertarget{group__Evas__Canvas3D__Scene_ga8dfd6e059520fed17596638601ed886d}{}\label{group__Evas__Canvas3D__Scene_ga8dfd6e059520fed17596638601ed886d}

\begin{DoxyCompactList}\small\item\em Get status of color picking of the scene. \end{DoxyCompactList}\item 
E\+O\+A\+PI \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Canvas3D__Scene_ga0cd07edf487fd1ffd202cd7c58c9e96d}{evas\+\_\+canvas3d\+\_\+scene\+\_\+color\+\_\+pick\+\_\+enable\+\_\+set} (\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} color\+\_\+pick)
\begin{DoxyCompactList}\small\item\em Set posibility color picking. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A scene represents a captured image of a scene graph through its viewing camera. 

A scene can be set to an image object to be displayed on the Evas canvas by using evas\+\_\+object\+\_\+image\+\_\+scene\+\_\+set() function. 

\subsection{Function Documentation}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+root\+\_\+node\+\_\+set@{evas\+\_\+canvas3d\+\_\+scene\+\_\+root\+\_\+node\+\_\+set}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+root\+\_\+node\+\_\+set@{evas\+\_\+canvas3d\+\_\+scene\+\_\+root\+\_\+node\+\_\+set}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+root\+\_\+node\+\_\+set(\+Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$node)}{evas_canvas3d_scene_root_node_set(Evas_Canvas3D_Node *node)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void evas\+\_\+canvas3d\+\_\+scene\+\_\+root\+\_\+node\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$}]{node}
\end{DoxyParamCaption}
)}\hypertarget{group__Evas__Canvas3D__Scene_ga56e50e146e4c8eb75e999a42077ffeb8}{}\label{group__Evas__Canvas3D__Scene_ga56e50e146e4c8eb75e999a42077ffeb8}


Set the root node of a scene. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em node} & A node which will be used as a root node for the scene. \\
\hline
\end{DoxyParams}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+root\+\_\+node\+\_\+get@{evas\+\_\+canvas3d\+\_\+scene\+\_\+root\+\_\+node\+\_\+get}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+root\+\_\+node\+\_\+get@{evas\+\_\+canvas3d\+\_\+scene\+\_\+root\+\_\+node\+\_\+get}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+root\+\_\+node\+\_\+get(void)}{evas_canvas3d_scene_root_node_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Evas\+\_\+\+Canvas3\+D\+\_\+\+Node$\ast$ evas\+\_\+canvas3d\+\_\+scene\+\_\+root\+\_\+node\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Evas__Canvas3D__Scene_ga43da69805fbb65cd87fd70df67d35614}{}\label{group__Evas__Canvas3D__Scene_ga43da69805fbb65cd87fd70df67d35614}


Get the root node of a scene. 

\begin{DoxyReturn}{Returns}
A node which will be used as a root node for the scene. 
\end{DoxyReturn}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+camera\+\_\+node\+\_\+set@{evas\+\_\+canvas3d\+\_\+scene\+\_\+camera\+\_\+node\+\_\+set}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+camera\+\_\+node\+\_\+set@{evas\+\_\+canvas3d\+\_\+scene\+\_\+camera\+\_\+node\+\_\+set}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+camera\+\_\+node\+\_\+set(\+Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$node)}{evas_canvas3d_scene_camera_node_set(Evas_Canvas3D_Node *node)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void evas\+\_\+canvas3d\+\_\+scene\+\_\+camera\+\_\+node\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$}]{node}
\end{DoxyParamCaption}
)}\hypertarget{group__Evas__Canvas3D__Scene_ga57c2dbbc51bcaf66ca62c60c44ce52d9}{}\label{group__Evas__Canvas3D__Scene_ga57c2dbbc51bcaf66ca62c60c44ce52d9}


Set the camera node of a scene. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em node} & A node which will be used as a camera node for the scene. \\
\hline
\end{DoxyParams}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+camera\+\_\+node\+\_\+get@{evas\+\_\+canvas3d\+\_\+scene\+\_\+camera\+\_\+node\+\_\+get}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+camera\+\_\+node\+\_\+get@{evas\+\_\+canvas3d\+\_\+scene\+\_\+camera\+\_\+node\+\_\+get}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+camera\+\_\+node\+\_\+get(void)}{evas_canvas3d_scene_camera_node_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Evas\+\_\+\+Canvas3\+D\+\_\+\+Node$\ast$ evas\+\_\+canvas3d\+\_\+scene\+\_\+camera\+\_\+node\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Evas__Canvas3D__Scene_ga630489802664252cdf27668b867b15d1}{}\label{group__Evas__Canvas3D__Scene_ga630489802664252cdf27668b867b15d1}


Get the camera node of a scene. 

\begin{DoxyReturn}{Returns}
A node which will be used as a camera node for the scene. 
\end{DoxyReturn}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+depth\+\_\+set@{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+depth\+\_\+set}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+depth\+\_\+set@{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+depth\+\_\+set}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+depth\+\_\+set(\+Evas\+\_\+\+Real depth\+\_\+offset, Evas\+\_\+\+Real depth\+\_\+constant)}{evas_canvas3d_scene_shadows_depth_set(Evas_Real depth_offset, Evas_Real depth_constant)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+depth\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{depth\+\_\+offset, }
\item[{{\bf Evas\+\_\+\+Real}}]{depth\+\_\+constant}
\end{DoxyParamCaption}
)}\hypertarget{group__Evas__Canvas3D__Scene_gafff987c1eb38789b51746eb3e19d8d6a}{}\label{group__Evas__Canvas3D__Scene_gafff987c1eb38789b51746eb3e19d8d6a}


Set scale and units used to calculate depth values. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em depth\+\_\+offset} & Scale factor that is used to create a variable depth offset for each polygon. \\
\hline
\mbox{\tt in}  & {\em depth\+\_\+constant} & Value to create a constant depth offset \\
\hline
\end{DoxyParams}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+depth\+\_\+get@{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+depth\+\_\+get}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+depth\+\_\+get@{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+depth\+\_\+get}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+depth\+\_\+get(\+Evas\+\_\+\+Real $\ast$depth\+\_\+offset, Evas\+\_\+\+Real $\ast$depth\+\_\+constant)}{evas_canvas3d_scene_shadows_depth_get(Evas_Real *depth_offset, Evas_Real *depth_constant)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+depth\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{depth\+\_\+offset, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{depth\+\_\+constant}
\end{DoxyParamCaption}
)}\hypertarget{group__Evas__Canvas3D__Scene_gaf46d9a5e690ba63d8382bf7c6d03506d}{}\label{group__Evas__Canvas3D__Scene_gaf46d9a5e690ba63d8382bf7c6d03506d}


Get scale and units used to calculate depth values. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em depth\+\_\+offset} & Scale factor that is used to create a variable depth offset for each polygon. \\
\hline
\mbox{\tt out}  & {\em depth\+\_\+constant} & Value to create a constant depth offset \\
\hline
\end{DoxyParams}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+size\+\_\+set@{evas\+\_\+canvas3d\+\_\+scene\+\_\+size\+\_\+set}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+size\+\_\+set@{evas\+\_\+canvas3d\+\_\+scene\+\_\+size\+\_\+set}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+size\+\_\+set(int w, int h)}{evas_canvas3d_scene_size_set(int w, int h)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void evas\+\_\+canvas3d\+\_\+scene\+\_\+size\+\_\+set (
\begin{DoxyParamCaption}
\item[{int}]{w, }
\item[{int}]{h}
\end{DoxyParamCaption}
)}\hypertarget{group__Evas__Canvas3D__Scene_gac14536e0dea2b29e44f2ead354a1b665}{}\label{group__Evas__Canvas3D__Scene_gac14536e0dea2b29e44f2ead354a1b665}


Set the resolution of a scene. 

A scene should be rendered to be displayed through an image objects. The resolution defines size of the internal surface holding the rendered result.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em h} & Height of the resolution. \\
\hline
\end{DoxyParams}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+size\+\_\+get@{evas\+\_\+canvas3d\+\_\+scene\+\_\+size\+\_\+get}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+size\+\_\+get@{evas\+\_\+canvas3d\+\_\+scene\+\_\+size\+\_\+get}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+size\+\_\+get(int $\ast$w, int $\ast$h)}{evas_canvas3d_scene_size_get(int *w, int *h)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void evas\+\_\+canvas3d\+\_\+scene\+\_\+size\+\_\+get (
\begin{DoxyParamCaption}
\item[{int $\ast$}]{w, }
\item[{int $\ast$}]{h}
\end{DoxyParamCaption}
)}\hypertarget{group__Evas__Canvas3D__Scene_ga124c7bdf784ad407c0045fe190c807c6}{}\label{group__Evas__Canvas3D__Scene_ga124c7bdf784ad407c0045fe190c807c6}


Get the internal resolution of a scene. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em h} & Pointer to receive height of the resolution. \\
\hline
\end{DoxyParams}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+background\+\_\+color\+\_\+set@{evas\+\_\+canvas3d\+\_\+scene\+\_\+background\+\_\+color\+\_\+set}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+background\+\_\+color\+\_\+set@{evas\+\_\+canvas3d\+\_\+scene\+\_\+background\+\_\+color\+\_\+set}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+background\+\_\+color\+\_\+set(\+Evas\+\_\+\+Real r, Evas\+\_\+\+Real g, Evas\+\_\+\+Real b, Evas\+\_\+\+Real a)}{evas_canvas3d_scene_background_color_set(Evas_Real r, Evas_Real g, Evas_Real b, Evas_Real a)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void evas\+\_\+canvas3d\+\_\+scene\+\_\+background\+\_\+color\+\_\+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}
)}\hypertarget{group__Evas__Canvas3D__Scene_ga171c9a49e95d179d1610ff3537584296}{}\label{group__Evas__Canvas3D__Scene_ga171c9a49e95d179d1610ff3537584296}


Set the background color of a scene. 

Background color defines initial color of pixels before a scene is rendered. If you want to display a scene with background evas objects are still remaining as if it was the background, set the alpha term to 0.\+0.

Default background color is (0.\+0, 0.\+0, 0.\+0, 0.\+0).


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em g} & Green component of the background color. \\
\hline
\mbox{\tt in}  & {\em b} & Blue component of the background color. \\
\hline
\mbox{\tt in}  & {\em a} & Alpha component of the background color. \\
\hline
\end{DoxyParams}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+background\+\_\+color\+\_\+get@{evas\+\_\+canvas3d\+\_\+scene\+\_\+background\+\_\+color\+\_\+get}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+background\+\_\+color\+\_\+get@{evas\+\_\+canvas3d\+\_\+scene\+\_\+background\+\_\+color\+\_\+get}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+background\+\_\+color\+\_\+get(\+Evas\+\_\+\+Real $\ast$r, Evas\+\_\+\+Real $\ast$g, Evas\+\_\+\+Real $\ast$b, Evas\+\_\+\+Real $\ast$a)}{evas_canvas3d_scene_background_color_get(Evas_Real *r, Evas_Real *g, Evas_Real *b, Evas_Real *a)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void evas\+\_\+canvas3d\+\_\+scene\+\_\+background\+\_\+color\+\_\+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}
)}\hypertarget{group__Evas__Canvas3D__Scene_gad480a1dbdfe01a371d7c07f75b1cdc4f}{}\label{group__Evas__Canvas3D__Scene_gad480a1dbdfe01a371d7c07f75b1cdc4f}


Get the background color of a scene. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em g} & Pointer to receive green component of the background color. \\
\hline
\mbox{\tt out}  & {\em b} & Pointer to receive blue component of the background color. \\
\hline
\mbox{\tt out}  & {\em a} & Pointer to receive alpha component of the background color. \\
\hline
\end{DoxyParams}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+pick@{evas\+\_\+canvas3d\+\_\+scene\+\_\+pick}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+pick@{evas\+\_\+canvas3d\+\_\+scene\+\_\+pick}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+pick(\+Evas\+\_\+\+Real x, Evas\+\_\+\+Real y, Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$$\ast$node, Evas\+\_\+\+Canvas3\+D\+\_\+\+Mesh $\ast$$\ast$mesh, Evas\+\_\+\+Real $\ast$s, Evas\+\_\+\+Real $\ast$t)}{evas_canvas3d_scene_pick(Evas_Real x, Evas_Real y, Evas_Canvas3D_Node **node, Evas_Canvas3D_Mesh **mesh, Evas_Real *s, Evas_Real *t)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI {\bf Eina\+\_\+\+Bool} evas\+\_\+canvas3d\+\_\+scene\+\_\+pick (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{x, }
\item[{{\bf Evas\+\_\+\+Real}}]{y, }
\item[{Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$$\ast$}]{node, }
\item[{Evas\+\_\+\+Canvas3\+D\+\_\+\+Mesh $\ast$$\ast$}]{mesh, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{s, }
\item[{{\bf Evas\+\_\+\+Real} $\ast$}]{t}
\end{DoxyParamCaption}
)}\hypertarget{group__Evas__Canvas3D__Scene_gaf42b68d557f55c2e51cdded1d52d49f9}{}\label{group__Evas__Canvas3D__Scene_gaf42b68d557f55c2e51cdded1d52d49f9}


Get information on the most front visible mesh for the given position. 

(x, y) is the screen coordinate of the given scene. That is, left-\/top is (0, 0) and right-\/bottom is (w, h) where (w, h) is the size of the scene. The texture coordinate is useful when using proxy texture source.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em y} & Y coordinate of the picking position. \\
\hline
\mbox{\tt out}  & {\em node} & Pointer to receive the node contains the picked mesh. \\
\hline
\mbox{\tt out}  & {\em mesh} & Pointer to receive the picked mesh. \\
\hline
\mbox{\tt out}  & {\em s} & Pointer to receive the texture \char`\"{}s\char`\"{} coordinate. \\
\hline
\mbox{\tt out}  & {\em t} & Pointer to receive the texture \char`\"{}t\char`\"{} coordinate. \\
\hline
\end{DoxyParams}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+exist@{evas\+\_\+canvas3d\+\_\+scene\+\_\+exist}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+exist@{evas\+\_\+canvas3d\+\_\+scene\+\_\+exist}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+exist(\+Evas\+\_\+\+Real x, Evas\+\_\+\+Real y, Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$node)}{evas_canvas3d_scene_exist(Evas_Real x, Evas_Real y, Evas_Canvas3D_Node *node)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Evas\+\_\+\+Canvas3\+D\+\_\+\+Node$\ast$ evas\+\_\+canvas3d\+\_\+scene\+\_\+exist (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{x, }
\item[{{\bf Evas\+\_\+\+Real}}]{y, }
\item[{Evas\+\_\+\+Canvas3\+D\+\_\+\+Node $\ast$}]{node}
\end{DoxyParamCaption}
)}\hypertarget{group__Evas__Canvas3D__Scene_gae42cee93e5641497bb66c02f7ca6450d}{}\label{group__Evas__Canvas3D__Scene_gae42cee93e5641497bb66c02f7ca6450d}


Search given node in the given position. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em y} & Y coordinate of the picking position. \\
\hline
\mbox{\tt in}  & {\em node} & Node for search. \\
\hline
\end{DoxyParams}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+pick\+\_\+member\+\_\+list\+\_\+get@{evas\+\_\+canvas3d\+\_\+scene\+\_\+pick\+\_\+member\+\_\+list\+\_\+get}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+pick\+\_\+member\+\_\+list\+\_\+get@{evas\+\_\+canvas3d\+\_\+scene\+\_\+pick\+\_\+member\+\_\+list\+\_\+get}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+pick\+\_\+member\+\_\+list\+\_\+get(\+Evas\+\_\+\+Real x, Evas\+\_\+\+Real y)}{evas_canvas3d_scene_pick_member_list_get(Evas_Real x, Evas_Real y)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI {\bf Eina\+\_\+\+List}$\ast$ evas\+\_\+canvas3d\+\_\+scene\+\_\+pick\+\_\+member\+\_\+list\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Real}}]{x, }
\item[{{\bf Evas\+\_\+\+Real}}]{y}
\end{DoxyParamCaption}
)}\hypertarget{group__Evas__Canvas3D__Scene_gabd521171ee56e18262ca850ec9ee43ce}{}\label{group__Evas__Canvas3D__Scene_gabd521171ee56e18262ca850ec9ee43ce}


Get list of the all root members from scene in the given position. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em y} & Y coordinate of the picking position. \\
\hline
\end{DoxyParams}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+enable\+\_\+set@{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+enable\+\_\+set}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+enable\+\_\+set@{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+enable\+\_\+set}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+enable\+\_\+set(\+Eina\+\_\+\+Bool shadows\+\_\+enabled)}{evas_canvas3d_scene_shadows_enable_set(Eina_Bool shadows_enabled)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+enable\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Bool}}]{shadows\+\_\+enabled}
\end{DoxyParamCaption}
)}\hypertarget{group__Evas__Canvas3D__Scene_gad421ca288ee7c6642b84b78c7d020be4}{}\label{group__Evas__Canvas3D__Scene_gad421ca288ee7c6642b84b78c7d020be4}


Enable or disable shadows on given scene. 

If shadows\+\_\+enabled is {\ttfamily true}, the objects in the scene can throw shadow to another objects located behind them. The depth map used for shading. Directed and projective light sources are supported.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em shadows\+\_\+enabled} & Shadows enabled status. \\
\hline
\end{DoxyParams}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+enable\+\_\+get@{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+enable\+\_\+get}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+enable\+\_\+get@{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+enable\+\_\+get}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+enable\+\_\+get(void)}{evas_canvas3d_scene_shadows_enable_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI {\bf Eina\+\_\+\+Bool} evas\+\_\+canvas3d\+\_\+scene\+\_\+shadows\+\_\+enable\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Evas__Canvas3D__Scene_ga25044c36d00804829c29944a811f2c18}{}\label{group__Evas__Canvas3D__Scene_ga25044c36d00804829c29944a811f2c18}


Get shadows enabled status for given scene. 

\begin{DoxyReturn}{Returns}
The shadows enabled status. 
\end{DoxyReturn}
\index{Scene Object@{Scene Object}!evas\+\_\+canvas3d\+\_\+scene\+\_\+color\+\_\+pick\+\_\+enable\+\_\+set@{evas\+\_\+canvas3d\+\_\+scene\+\_\+color\+\_\+pick\+\_\+enable\+\_\+set}}
\index{evas\+\_\+canvas3d\+\_\+scene\+\_\+color\+\_\+pick\+\_\+enable\+\_\+set@{evas\+\_\+canvas3d\+\_\+scene\+\_\+color\+\_\+pick\+\_\+enable\+\_\+set}!Scene Object@{Scene Object}}
\subsubsection[{\texorpdfstring{evas\+\_\+canvas3d\+\_\+scene\+\_\+color\+\_\+pick\+\_\+enable\+\_\+set(\+Eina\+\_\+\+Bool color\+\_\+pick)}{evas_canvas3d_scene_color_pick_enable_set(Eina_Bool color_pick)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI {\bf Eina\+\_\+\+Bool} evas\+\_\+canvas3d\+\_\+scene\+\_\+color\+\_\+pick\+\_\+enable\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Bool}}]{color\+\_\+pick}
\end{DoxyParamCaption}
)}\hypertarget{group__Evas__Canvas3D__Scene_ga0cd07edf487fd1ffd202cd7c58c9e96d}{}\label{group__Evas__Canvas3D__Scene_ga0cd07edf487fd1ffd202cd7c58c9e96d}


Set posibility color picking. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em color\+\_\+pick} & Posibility flag \\
\hline
\end{DoxyParams}
