Blender V5.3
blender::DeprecatedRNA Struct Reference

#include <RNA_types.hh>

Public Attributes

const char * note
short version
short removal_version

Detailed Description

Information about deprecated properties.

Used by the API documentation and Python API to print warnings when accessing a deprecated property.

Definition at line 1143 of file RNA_types.hh.

Member Data Documentation

◆ note

const char* blender::DeprecatedRNA::note

Single line deprecation message, suggest alternatives where possible.

Definition at line 1145 of file RNA_types.hh.

Referenced by blender::pyrna_prop_warn_deprecated(), blender::RNA_def_property_deprecated(), and blender::rna_generate_property().

◆ removal_version

short blender::DeprecatedRNA::removal_version

The version this will be removed. The value represents major, minor versions (sub-version isn't supported). Compatible with #Main::versionfile (e.g. 502 for v5.2).

Definition at line 1157 of file RNA_types.hh.

Referenced by blender::pyrna_prop_warn_deprecated(), blender::RNA_def_property_deprecated(), and blender::rna_generate_property().

◆ version

short blender::DeprecatedRNA::version

The released version this was deprecated. The value represents major, minor versions (sub-version isn't supported). Compatible with #Main::versionfile (e.g. 502 for v5.2).

Definition at line 1151 of file RNA_types.hh.

Referenced by blender::RNA_def_property_deprecated(), and blender::rna_generate_property().


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