Skip to content

Commit

Permalink
Add PerformanceModel#entityList
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Jun 2, 2020
1 parent 42ebe1f commit 184443d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/viewer/scene/PerformanceModel/PerformanceModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,15 @@ class PerformanceModel extends Component {
return this._backfaces;
}

/**
* Gets the list of {@link Entity}s within this PerformanceModel.
*
* @returns {Entity[]}
*/
get entityList() {
return this._nodeList;
}

//------------------------------------------------------------------------------------------------------------------
// Entity members
//------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 184443d

Please sign in to comment.