Go to Google Code Home
Google SketchUp SkpReader C++ API Documentation (Labs)

Properties

ISkpLayer Interface Reference

Interface describing a Layer. More...

Inheritance diagram for ISkpLayer:
SkpLayer

List of all members.

Properties

BSTR Name [get]
 [propget] Returns the name of the layer.
BOOL IsVisible [get]
 [propget] Returns TRUE iff the layer's visibility flag is on, indicating that the layer is visible.
OLE_COLOR Color [get]
 [propget] Returns the color associated with this layer.
ISkpMaterial Material [get]
 Retrieves the material associated with the layer, if any.

Detailed Description

Interface describing a Layer.


Property Documentation

OLE_COLOR ISkpLayer::Color [get]

[propget] Returns the color associated with this layer.

Every layer must have a color, it is an internal error if not.

Return values:
pVal The color of the layer.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
BOOL ISkpLayer::IsVisible [get]

[propget] Returns TRUE iff the layer's visibility flag is on, indicating that the layer is visible.

Return values:
pVal TRUE iff the layer is visible.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
ISkpMaterial ISkpLayer::Material [get]

Retrieves the material associated with the layer, if any.

Return values:
ppMat The material assicated with the layer.
Returns:
S_OK : if successful
S_FALSE : if there was no material associated with this layer
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
BSTR ISkpLayer::Name [get]

[propget] Returns the name of the layer.

Return values:
pVal The name of the layer.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors

©2010 Google - Google Home - About Google