SCENE C++ API  2.1.0
Public Member Functions | List of all members
LSRenderable3D Class Referenceabstract

The LSRenderable3D interface defines the basic interface of objects which can be rendered in a view. More...

#include <lsrenderable3d.h>

+ Inheritance diagram for LSRenderable3D:

Public Member Functions

 LSRenderable3D ()
 Constructor. More...
 
virtual void render ()=0
 Renders this object. More...
 
virtual bool isVisible () const
 Query if this object is visible. More...
 
virtual void setVisible (bool visible)
 Sets whether this object is visible. More...
 
virtual bool isTransparent () const
 Query if this object is transparent. More...
 
virtual void setTransparent (bool transparent)
 Sets whether this object is transparent. More...
 

Additional Inherited Members

- Protected Member Functions inherited from LSRefType
void ref () const
 Increments the internal reference counter. More...
 
void unref () const
 Decrements the internal reference counter. More...
 

Detailed Description

The LSRenderable3D interface defines the basic interface of objects which can be rendered in a view.

Version
SCENE API Version 2.0.0.

Constructor & Destructor Documentation

◆ LSRenderable3D()

LSRenderable3D ( )
inline

Constructor.

Version
SCENE API Version 2.0.0.

Member Function Documentation

◆ render()

virtual void render ( )
pure virtual

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
visibleWhether 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
transparentWhether the object is transparent.
Version
SCENE API Version 2.0.0.