Tizen Native API
5.0
|
Model3dView is a control for displaying 3d geometry. More...
Classes | |
struct | Property |
Enumeration for the instance of properties belonging to the TextLabel class. More... | |
Public Types | |
enum | PropertyRange |
Enumeration for the start and end property ranges for this control. More... | |
enum | IlluminationType |
Enumeration for the type of illumination. More... | |
Public Member Functions | |
Model3dView () | |
Creates an uninitialized Model3dView. | |
~Model3dView () | |
Destructor. | |
Model3dView (const Model3dView &model3dView) | |
Copy constructor. | |
Model3dView & | operator= (const Model3dView &model3dView) |
Assignment operator. | |
Static Public Member Functions | |
static Model3dView | New () |
Creates a new instance of a Model3dView control. | |
static Model3dView | New (const std::string &objUrl, const std::string &mtlUrl, const std::string &imagesUrl) |
Creates a new instance of a Model3dView control. | |
static Model3dView | DownCast (BaseHandle handle) |
Downcasts an Object handle to Model3dView. |
Detailed Description
Model3dView is a control for displaying 3d geometry.
All the geometry loaded with the control is automatically centered and scaled to fit the size of all the other controls. So the max is (0.5,0.5) and the min is (-0.5,-0.5).
- Since:
- 3.0, DALi version 1.1.4
Member Enumeration Documentation
Enumeration for the start and end property ranges for this control.
- Since:
- 3.0, DALi version 1.1.4
- Enumerator:
Reimplemented from Dali::Toolkit::Control.
Constructor & Destructor Documentation
Creates an uninitialized Model3dView.
Only derived versions can be instantiated. Calling member functions with an uninitialized Dali::Object is not allowed.
- Since:
- 3.0, DALi version 1.1.4
Destructor.
This is non-virtual since derived Handle types must not contain data or virtual methods.
- Since:
- 3.0, DALi version 1.1.4
Dali::Toolkit::Model3dView::Model3dView | ( | const Model3dView & | model3dView | ) |
Member Function Documentation
static Model3dView Dali::Toolkit::Model3dView::DownCast | ( | BaseHandle | handle | ) | [static] |
Downcasts an Object handle to Model3dView.
If handle points to a Model3dView, the downcast produces valid handle. If not, the returned handle is left uninitialized.
- Since:
- 3.0, DALi version 1.1.4
- Parameters:
-
[in] handle Handle to an object
- Returns:
- Handle to a Model3dView or an uninitialized handle
Reimplemented from Dali::Toolkit::Control.
static Model3dView Dali::Toolkit::Model3dView::New | ( | ) | [static] |
Creates a new instance of a Model3dView control.
- Since:
- 3.0, DALi version 1.1.4
- Returns:
- A handle to the new Model3dView control
Reimplemented from Dali::Toolkit::Control.
static Model3dView Dali::Toolkit::Model3dView::New | ( | const std::string & | objUrl, |
const std::string & | mtlUrl, | ||
const std::string & | imagesUrl | ||
) | [static] |
Creates a new instance of a Model3dView control.
- Since:
- 3.0, DALi version 1.1.4
- Parameters:
-
[in] objUrl The path to the geometry file [in] mtlUrl The path to the material file [in] imagesUrl The path to the images directory
- Returns:
- A handle to the new Model3dView control
Model3dView& Dali::Toolkit::Model3dView::operator= | ( | const Model3dView & | model3dView | ) |
Assignment operator.
- Since:
- 3.0, DALi version 1.1.4
- Parameters:
-
[in] model3dView Handle to an object
- Returns:
- reference to this