Blender V2.61 - r43446
Functions | Variables

rna_rna.c File Reference

#include <stdlib.h>
#include "DNA_ID.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "rna_internal.h"

Go to the source code of this file.

Functions

static void rna_def_struct (BlenderRNA *brna)
static void rna_def_property (BlenderRNA *brna)
static void rna_def_function (BlenderRNA *brna)
static void rna_def_number_property (StructRNA *srna, PropertyType type)
static void rna_def_string_property (StructRNA *srna)
static void rna_def_enum_property (BlenderRNA *brna, StructRNA *srna)
static void rna_def_pointer_property (StructRNA *srna, PropertyType type)
void RNA_def_rna (BlenderRNA *brna)

Variables

EnumPropertyItem property_type_items []
EnumPropertyItem property_subtype_items []
EnumPropertyItem property_unit_items []

Detailed Description

Definition in file rna_rna.c.


Function Documentation

static void rna_def_enum_property ( BlenderRNA brna,
StructRNA srna 
) [static]
static void rna_def_function ( BlenderRNA brna) [static]
static void rna_def_number_property ( StructRNA srna,
PropertyType  type 
) [static]
static void rna_def_pointer_property ( StructRNA srna,
PropertyType  type 
) [static]
static void rna_def_property ( BlenderRNA brna) [static]
void RNA_def_rna ( BlenderRNA brna)
static void rna_def_string_property ( StructRNA srna) [static]
static void rna_def_struct ( BlenderRNA brna) [static]

Variable Documentation

Definition at line 47 of file rna_rna.c.

Initial value:
 {
    {PROP_BOOLEAN, "BOOLEAN", 0, "Boolean", ""},
    {PROP_INT, "INT", 0, "Integer", ""},
    {PROP_FLOAT, "FLOAT", 0, "Float", ""},
    {PROP_STRING, "STRING", 0, "String", ""},
    {PROP_ENUM, "ENUM", 0, "Enumeration", ""},
    {PROP_POINTER, "POINTER", 0, "Pointer", ""},
    {PROP_COLLECTION, "COLLECTION", 0, "Collection", ""},
    {0, NULL, 0, NULL, NULL}}

Definition at line 37 of file rna_rna.c.

Referenced by pyrna_prop_str().

Initial value:
 {
    {PROP_UNIT_NONE, "NONE", 0, "None", ""},
    {PROP_UNIT_LENGTH, "LENGTH", 0, "Length", ""},
    {PROP_UNIT_AREA, "AREA", 0, "Area", ""},
    {PROP_UNIT_VOLUME, "VOLUME", 0, "Volume", ""},
    {PROP_UNIT_ROTATION, "ROTATION", 0, "Rotation", ""},
    {PROP_UNIT_TIME, "TIME", 0, "Time", ""},
    {PROP_UNIT_VELOCITY, "VELOCITY", 0, "Velocity", ""},
    {PROP_UNIT_ACCELERATION, "ACCELERATION", 0, "Acceleration", ""},
    {0, NULL, 0, NULL, NULL}}

Definition at line 84 of file rna_rna.c.

Referenced by BPy_FloatProperty(), and BPy_FloatVectorProperty().