renderObjects method
Implementation
void renderObjects(List<RenderItem> renderList, Object3D scene, Camera camera) {
final overrideMaterial = scene is Scene ? scene.overrideMaterial : null;
for (int i = 0; i < renderList.length; i++) {
final renderItem = renderList[i];
final object = renderItem.object!;
final geometry = renderItem.geometry!;
final material = overrideMaterial ?? renderItem.material!;
final group = renderItem.group;
if (object.layers.test(camera.layers)) {
renderObject(object, scene, camera, geometry, material, group);
}
}
}