Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/alembic/exporter/abc_writer_abstract.h
| Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | protected: | ||||
| /* Visibility of this writer's data in Alembic. */ | /* Visibility of this writer's data in Alembic. */ | ||||
| Alembic::Abc::OCharProperty abc_visibility_; | Alembic::Abc::OCharProperty abc_visibility_; | ||||
| /* Optional writer for custom properties. */ | /* Optional writer for custom properties. */ | ||||
| std::unique_ptr<CustomPropertiesExporter> custom_props_; | std::unique_ptr<CustomPropertiesExporter> custom_props_; | ||||
| public: | public: | ||||
| explicit ABCAbstractWriter(const ABCWriterConstructorArgs &args); | explicit ABCAbstractWriter(const ABCWriterConstructorArgs &args); | ||||
| virtual ~ABCAbstractWriter(); | |||||
| virtual void write(HierarchyContext &context) override; | virtual void write(HierarchyContext &context) override; | ||||
| /* Returns true if the data to be written is actually supported. This would, for example, allow a | /* Returns true if the data to be written is actually supported. This would, for example, allow a | ||||
| * hypothetical camera writer accept a perspective camera but reject an orthogonal one. | * hypothetical camera writer accept a perspective camera but reject an orthogonal one. | ||||
| * | * | ||||
| * Returning false from a transform writer will prevent the object and all its descendants from | * Returning false from a transform writer will prevent the object and all its descendants from | ||||
| * being exported. Returning false from a data writer (object data, hair, or particles) will | * being exported. Returning false from a data writer (object data, hair, or particles) will | ||||
| ▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines | |||||