% Auto-generated: do not edit by hand
\name{simple3DScene}

\alias{simple3DScene}

\title{Simple3DScene component}

\description{

}

\usage{
simple3DScene(id=NULL, data=NULL, settings=NULL, toggleVisibility=NULL, downloadRequest=NULL,
selectedObject=NULL, sceneSize=NULL, axisView=NULL, inletSize=NULL,
inletPadding=NULL, debug=NULL)
}

\arguments{
\item{id}{The ID used to identify this component in Dash callbacks}

\item{data}{Simple3DScene JSON, the easiest way to generate this is to use the Scene class
in crystal_toolkit.core.scene and its to_json method.}

\item{settings}{Options used for generating scene.
Supported options and their defaults are given as follows:
{
   antialias: true, // set to false to improve performance
   renderer: 'webgl', // 'svg' also an option, used for unit testing
   transparentBackground: false, // transparent background
   background: '#ffffff', // background color if not transparent,
   sphereSegments: 32, // decrease to improve performance
   cylinderSegments: 16, // decrease to improve performance
   staticScene: true, // disable if animation required
   defaultZoom: 0.8, // 1 will completely fill viewport with scene
   extractAxis: false // will remove the axis from the main scene
   isMultiSelectionEnabled: false // allow to use shift to select
}
There are several additional options used for debugging and testing,
please consult the source code directly for these.}

\item{toggleVisibility}{Hide/show nodes in scene by its name (key), value is 1 to show the node
and 0 to hide it.}

\item{downloadRequest}{Set to trigger a screenshot or scene download. Should be an object with
the structure:
{
   "n_requests": n_requests, // increment to trigger a new download request
   "filename": request_filename, // the download filename
   "filetype": "png", // the download format
}}

\item{selectedObject}{This points to the last clicked objects. Use it in your dash callback
to know which objects are currently selected in the scene}

\item{sceneSize}{Width / Height of the displayed component}

\item{axisView}{Where is the axis displayed ( 'NW' / 'NE' / 'SE' / 'SW' / 'HIDDEN' )}

\item{inletSize}{Size of the axis view}

\item{inletPadding}{Padding of the axis view}

\item{debug}{Display a debug view}
}
