![]() |
|
A layer. More...
#include <ilayer.h>
Public Member Functions | |
virtual AtLastUstring | GetName () const =0 |
Get the name of this layer. | |
virtual bool | IsVisible () const =0 |
Determine whether this layer is visible. | |
virtual void | SetVisibility (bool is_visible)=0 |
Set the layer's visibility. | |
virtual ISketchUpMaterialPtr | GetMaterial () const =0 |
Retrieves the material associated with this layer. |
A layer.
virtual ISketchUpMaterialPtr atlast::sketchup::ISketchUpLayer::GetMaterial | ( | ) | const [pure virtual] |
Retrieves the material associated with this layer.
It is possible that the returned material will be NULL, in which case the Model's default color should be used.
If this layer is not valid, NULL is returned.
virtual AtLastUstring atlast::sketchup::ISketchUpLayer::GetName | ( | ) | const [pure virtual] |
Get the name of this layer.
If this layer is not valid, an empty string is returned.
virtual bool atlast::sketchup::ISketchUpLayer::IsVisible | ( | ) | const [pure virtual] |
Determine whether this layer is visible.
If this layer is not valid, false is returned.
virtual void atlast::sketchup::ISketchUpLayer::SetVisibility | ( | bool | is_visible | ) | [pure virtual] |
Set the layer's visibility.
is_visible | If true, the layer will be turned on. |
©2010 Google - Google Home - About Google |