Blender  V3.3
usd_reader_camera.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Adapted from the Blender Alembic importer implementation.
3  * Modifications Copyright 2021 Tangent Animation. All rights reserved. */
4 #pragma once
5 
6 #include "usd.h"
7 #include "usd_reader_xform.h"
8 
9 namespace blender::io::usd {
10 
12 
13  public:
14  USDCameraReader(const pxr::UsdPrim &object,
15  const USDImportParams &import_params,
16  const ImportSettings &settings)
17  : USDXformReader(object, import_params, settings)
18  {
19  }
20 
21  void create_object(Main *bmain, double motionSampleTime) override;
22  void read_object_data(Main *bmain, double motionSampleTime) override;
23 };
24 
25 } // namespace blender::io::usd
void create_object(Main *bmain, double motionSampleTime) override
USDCameraReader(const pxr::UsdPrim &object, const USDImportParams &import_params, const ImportSettings &settings)
void read_object_data(Main *bmain, double motionSampleTime) override
Definition: BKE_main.h:121