The LSRenderable3D interface defines the basic interface of objects which can be rendered in a view.
More...
#include <lsrenderable3d.h>
|
void | ref () const |
| Increments the internal reference counter. More...
|
|
void | unref () const |
| Decrements the internal reference counter. More...
|
|
The LSRenderable3D interface defines the basic interface of objects which can be rendered in a view.
- Version
- SCENE API Version 2.0.0.
◆ LSRenderable3D()
Constructor.
- Version
- SCENE API Version 2.0.0.
◆ render()
Renders this object.
May be overwritten to introduce custom render code
- Version
- SCENE API Version 2.0.0.
◆ isVisible()
virtual bool isVisible |
( |
| ) |
const |
|
inlinevirtual |
Query if this object is visible.
- Returns
- true if this object is visible, false if not.
- Version
- SCENE API Version 2.0.0.
◆ setVisible()
virtual void setVisible |
( |
bool |
visible | ) |
|
|
inlinevirtual |
Sets whether this object is visible.
- Parameters
-
visible | Whether the object is visible. |
- Version
- SCENE API Version 2.0.0.
◆ isTransparent()
virtual bool isTransparent |
( |
| ) |
const |
|
inlinevirtual |
Query if this object is transparent.
- Returns
- true if this object is transparent, false if not.
- Version
- SCENE API Version 2.0.0.
◆ setTransparent()
virtual void setTransparent |
( |
bool |
transparent | ) |
|
|
inlinevirtual |
Sets whether this object is transparent.
- Parameters
-
transparent | Whether the object is transparent. |
- Version
- SCENE API Version 2.0.0.