Blender V4.3
usd_reader_camera.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2021 Tangent Animation. All rights reserved.
2 * SPDX-FileCopyrightText: 2023 Blender Authors
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 *
6 * Adapted from the Blender Alembic importer implementation. */
7
8#pragma once
9
10#include "usd.hh"
11#include "usd_reader_xform.hh"
12
13namespace blender::io::usd {
14
16
17 public:
18 USDCameraReader(const pxr::UsdPrim &object,
19 const USDImportParams &import_params,
20 const ImportSettings &settings)
21 : USDXformReader(object, import_params, settings)
22 {
23 }
24
25 void create_object(Main *bmain, double motionSampleTime) override;
26 void read_object_data(Main *bmain, double motionSampleTime) override;
27};
28
29} // 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