Class Object3DBranchFactory
Defined in: HomeComponent3D.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Object3DBranchFactory(preferences)
A factory able to create instances of Object3DBranch class.
|
Method Attributes | Method Name and Description |
---|---|
createObject3D(home, item, waitForLoading)
Returns the 3D object matching a given
item . |
Class Detail
Object3DBranchFactory(preferences)
A factory able to create instances of Object3DBranch class.
Author: Emmanuel Puybaret.
Author: Emmanuel Puybaret.
- Parameters:
- {UserPreferences} preferences Optional
Method Detail
{Object3DBranch}
createObject3D(home, item, waitForLoading)
Returns the 3D object matching a given
item
.
- Parameters:
- {Home} home
- {Object} item
- {boolean|function} waitForLoading
- Returns:
- {Object3DBranch} an instance of a subclass of Object3DBranch