Files
test/source/blender/io/usd/intern/usd_reader_camera.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
781 B
C
Raw Normal View History

/* SPDX-FileCopyrightText: 2021 Tangent Animation. All rights reserved.
* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* Adapted from the Blender Alembic importer implementation. */
#pragma once
#include "usd.h"
#include "usd_reader_xform.h"
namespace blender::io::usd {
class USDCameraReader : public USDXformReader {
public:
USDCameraReader(const pxr::UsdPrim &object,
const USDImportParams &import_params,
const ImportSettings &settings)
: USDXformReader(object, import_params, settings)
{
}
void create_object(Main *bmain, double motionSampleTime) override;
void read_object_data(Main *bmain, double motionSampleTime) override;
};
} // namespace blender::io::usd