Function(bpy_struct)

base class — bpy_struct

class bpy.types.Function(bpy_struct)

RNA function definition

description

Description of the Function’s purpose

Type

string, default “”, (readonly, never None)

identifier

Unique name used in the code and scripting

Type

string, default “”, (readonly, never None)

is_registered

Function is registered as callback as part of type registration

Type

boolean, default False, (readonly)

is_registered_optional

Function is optionally registered as callback part of type registration

Type

boolean, default False, (readonly)

parameters

Parameters for the function

Type

bpy_prop_collection of Property, (readonly)

use_self

Function does not pass its self as an argument (becomes a static method in python)

Type

boolean, default False, (readonly)

use_self_type

Function passes its self type as an argument (becomes a class method in python if use_self is false)

Type

boolean, default False, (readonly)

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions

References