|
Blender V5.0
|
#include <BKE_geometry_set.hh>
Inherits blender::bke::GeometryComponent.
Static Public Attributes | |
| static constexpr GeometryComponent::Type | static_type = Type::GreasePencil |
Additional Inherited Members | |
| Public Types inherited from blender::bke::GeometryComponent | |
| enum class | Type { Mesh = 0 , PointCloud = 1 , Instance = 2 , Volume = 3 , Curve = 4 , Edit = 5 , GreasePencil = 6 } |
| static GeometryComponentPtr | create (Type component_type) |
A geometry component that stores GreasePencil data. The attributes on this component are only on the layer domain. Each individual layer represents a CurvesGeometry with its own curve and point domain. See CurveComponent.
Definition at line 772 of file BKE_geometry_set.hh.
Definition at line 19 of file geometry_component_grease_pencil.cc.
Definition at line 21 of file geometry_component_grease_pencil.cc.
|
finalvirtual |
Get access to the attributes in this geometry component. May return none if the geometry does not support the attribute system.
Reimplemented from blender::bke::GeometryComponent.
Definition at line 108 of file geometry_component_grease_pencil.cc.
|
finalvirtual |
Reimplemented from blender::bke::GeometryComponent.
Definition at line 113 of file geometry_component_grease_pencil.cc.
|
overridevirtual |
Remove referenced data from the geometry component.
Implements blender::bke::GeometryComponent.
Definition at line 36 of file geometry_component_grease_pencil.cc.
|
overridevirtual |
Copies the component. The returned component only has a single user and is therefor mutable.
Implements blender::bke::GeometryComponent.
Definition at line 26 of file geometry_component_grease_pencil.cc.
|
overridevirtual |
Implements blender::bke::GeometryComponent.
Definition at line 93 of file geometry_component_grease_pencil.cc.
| const GreasePencil * blender::bke::GreasePencilComponent::get | ( | ) | const |
Definition at line 68 of file geometry_component_grease_pencil.cc.
Definition at line 73 of file geometry_component_grease_pencil.cc.
| bool blender::bke::GreasePencilComponent::has_grease_pencil | ( | ) | const |
Definition at line 47 of file geometry_component_grease_pencil.cc.
|
finalvirtual |
Reimplemented from blender::bke::GeometryComponent.
Definition at line 83 of file geometry_component_grease_pencil.cc.
|
overridevirtual |
Implements blender::bke::GeometryComponent.
Definition at line 88 of file geometry_component_grease_pencil.cc.
Return the Grease Pencil data and clear the component. The caller takes over responsibility for freeing the Grease Pencil data (if the component was responsible before).
Definition at line 60 of file geometry_component_grease_pencil.cc.
| void blender::bke::GreasePencilComponent::replace | ( | GreasePencil * | grease_pencil, |
| GeometryOwnershipType | ownership = GeometryOwnershipType::Owned ) |
Clear the component and replace it with the new grease_pencil data.
Definition at line 52 of file geometry_component_grease_pencil.cc.
|
staticconstexpr |
Definition at line 803 of file BKE_geometry_set.hh.