Blender V5.0
PropertyRNAOrID Struct Reference

#include <rna_internal_types.hh>

Public Attributes

PointerRNAptr
PropertyRNArawprop
PropertyRNArnaprop
IDPropertyidprop
const char * identifier
bool is_idprop
bool is_rna_storage_idprop
bool is_set
bool is_array
uint array_len

Detailed Description

Structure storing all needed data to process all three kinds of RNA properties.

Definition at line 161 of file rna_internal_types.hh.

Member Data Documentation

◆ array_len

◆ identifier

◆ idprop

◆ is_array

◆ is_idprop

bool PropertyRNAOrID::is_idprop

Whether this property is a 'pure' IDProperty or not.

Note
Mutually exclusive with is_rna_storage_idprop.

Definition at line 194 of file rna_internal_types.hh.

Referenced by rna_property_override_diff(), rna_property_rna_or_id_get(), and RNA_struct_override_matches().

◆ is_rna_storage_idprop

bool PropertyRNAOrID::is_rna_storage_idprop

Whether this property is defined as a RNA one, but uses an IDProperty to store its value (aka Python-defined runtime RNA properties).

Note
In that case, the IDProperty itself may very well not exist (yet), when it has never been set.
Mutually exclusive with is_idprop.

Definition at line 204 of file rna_internal_types.hh.

Referenced by rna_property_rna_or_id_get().

◆ is_set

◆ ptr

◆ rawprop

PropertyRNA* PropertyRNAOrID::rawprop

The PropertyRNA passed as parameter, used to generate that structure's content:

Definition at line 170 of file rna_internal_types.hh.

Referenced by rna_property_override_diff(), and rna_property_rna_or_id_get().

◆ rnaprop


The documentation for this struct was generated from the following file: