/// <summary> /// Gets the entities in the scene. /// </summary> /// <returns>A list of entities in the scene.</returns> public IReadOnlyList <IEntity> GetEntities() { if (sceneGraph == null) { return(new List <IEntity>(0)); } return(sceneGraph.GetEntities()); }