|
Blender V5.0
|
#include <BKE_grease_pencil.hh>
Public Member Functions | |
| void | clear () |
Public Attributes | |
| Map< FramesMapKeyT, GreasePencilFrame > | frames_ |
| SharedCache< Vector< FramesMapKeyT > > | sorted_keys_cache_ |
| Vector< LayerMask > | masks_ |
| LayerTransformData | trans_data_ |
| bool | is_visibility_animated_ |
| int | orig_layer_index_ = -1 |
Definition at line 392 of file BKE_grease_pencil.hh.
| void blender::bke::greasepencil::LayerRuntime::clear | ( | ) |
Reset all runtime data.
Definition at line 1143 of file grease_pencil.cc.
References frames_, masks_, sorted_keys_cache_, and trans_data_.
| Map<FramesMapKeyT, GreasePencilFrame> blender::bke::greasepencil::LayerRuntime::frames_ |
Definition at line 419 of file BKE_grease_pencil.hh.
Referenced by clear().
| bool blender::bke::greasepencil::LayerRuntime::is_visibility_animated_ |
Whether this layer's visibility is animated (via the ".hide" RNA property). This is only set when creating a copy of the owning GreasePencil ID for the depsgraph evaluation.
Definition at line 437 of file BKE_grease_pencil.hh.
A vector of LayerMask. This layer will be masked by the layers referenced in the masks. A layer can have zero or more layer masks.
Definition at line 428 of file BKE_grease_pencil.hh.
Referenced by clear().
| int blender::bke::greasepencil::LayerRuntime::orig_layer_index_ = -1 |
For evaluated layers, the index of the corresponding original layer, or -1 if there is no original layer that could be mapped to. E.g. when the layer was created during evaluation.
TODO: Find a way to store this information in GreasePencilEditHints instead.
Definition at line 445 of file BKE_grease_pencil.hh.
|
mutable |
Caches a sorted vector of the keys of frames_.
Definition at line 423 of file BKE_grease_pencil.hh.
Referenced by clear().
| LayerTransformData blender::bke::greasepencil::LayerRuntime::trans_data_ |
Runtime data used for frame transformations.
Definition at line 431 of file BKE_grease_pencil.hh.
Referenced by clear().