|
Blender V5.3
|
#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 812 of file BKE_geometry_set.hh.
Definition at line 23 of file geometry_component_grease_pencil.cc.
Definition at line 25 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 112 of file geometry_component_grease_pencil.cc.
|
finalvirtual |
Reimplemented from blender::bke::GeometryComponent.
Definition at line 117 of file geometry_component_grease_pencil.cc.
|
overridevirtual |
Remove referenced data from the geometry component.
Implements blender::bke::GeometryComponent.
Definition at line 40 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 30 of file geometry_component_grease_pencil.cc.
|
overridevirtual |
Implements blender::bke::GeometryComponent.
Definition at line 97 of file geometry_component_grease_pencil.cc.
| const GreasePencil * blender::bke::GreasePencilComponent::get | ( | ) | const |
Definition at line 72 of file geometry_component_grease_pencil.cc.
Definition at line 77 of file geometry_component_grease_pencil.cc.
| bool blender::bke::GreasePencilComponent::has_grease_pencil | ( | ) | const |
Definition at line 51 of file geometry_component_grease_pencil.cc.
|
finalvirtual |
Reimplemented from blender::bke::GeometryComponent.
Definition at line 87 of file geometry_component_grease_pencil.cc.
|
overridevirtual |
Implements blender::bke::GeometryComponent.
Definition at line 92 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 64 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 56 of file geometry_component_grease_pencil.cc.
|
staticconstexpr |
Definition at line 843 of file BKE_geometry_set.hh.