Class HomeDescriptor
Defined in: SweetHome3D.js.
Constructor Attributes | Constructor Name and Description |
---|---|
HomeDescriptor(name, content, icon)
Creates a home descriptor.
|
Method Attributes | Method Name and Description |
---|---|
Returns the content to read this home.
|
|
getIcon()
Returns the icon of this home.
|
|
getName()
Returns the name of this home.
|
Class Detail
HomeDescriptor(name, content, icon)
Creates a home descriptor.
Author: Emmanuel Puybaret.
Author: Emmanuel Puybaret.
- Parameters:
- {string} name
- name of the home
- {Object} content
- content that allows to read home data
- {Object} icon
- icon of the home
Method Detail
{Object}
getContent()
Returns the content to read this home.
- Returns:
- {Object}
{Object}
getIcon()
Returns the icon of this home.
- Returns:
- {Object}
{string}
getName()
Returns the name of this home.
- Returns:
- {string}