Blender V2.61 - r43446
Functions | Variables

rna_lamp.c File Reference

#include <stdlib.h>
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "rna_internal.h"
#include "DNA_lamp_types.h"
#include "DNA_material_types.h"
#include "DNA_texture_types.h"
#include "BLI_math_base.h"

Go to the source code of this file.

Functions

static void rna_def_lamp_mtex (BlenderRNA *brna)
static void rna_def_lamp_sky_settings (BlenderRNA *brna)
static void rna_def_lamp (BlenderRNA *brna)
static void rna_def_lamp_falloff (StructRNA *srna)
static void rna_def_lamp_shadow (StructRNA *srna, int spot, int area)
static void rna_def_point_lamp (BlenderRNA *brna)
static void rna_def_area_lamp (BlenderRNA *brna)
static void rna_def_spot_lamp (BlenderRNA *brna)
static void rna_def_sun_lamp (BlenderRNA *brna)
static void rna_def_hemi_lamp (BlenderRNA *brna)
void RNA_def_lamp (BlenderRNA *brna)

Variables

EnumPropertyItem lamp_type_items []

Detailed Description

Definition in file rna_lamp.c.


Function Documentation

static void rna_def_area_lamp ( BlenderRNA brna) [static]
static void rna_def_hemi_lamp ( BlenderRNA brna) [static]
void RNA_def_lamp ( BlenderRNA brna)
static void rna_def_lamp ( BlenderRNA brna) [static]
static void rna_def_lamp_falloff ( StructRNA srna) [static]
static void rna_def_lamp_mtex ( BlenderRNA brna) [static]
static void rna_def_lamp_shadow ( StructRNA srna,
int  spot,
int  area 
) [static]
static void rna_def_lamp_sky_settings ( BlenderRNA brna) [static]
static void rna_def_point_lamp ( BlenderRNA brna) [static]
static void rna_def_spot_lamp ( BlenderRNA brna) [static]
static void rna_def_sun_lamp ( BlenderRNA brna) [static]

Variable Documentation

Initial value:
 {
    {LA_LOCAL, "POINT", 0, "Point", "Omnidirectional point light source"},
    {LA_SUN, "SUN", 0, "Sun", "Constant direction parallel ray light source"},
    {LA_SPOT, "SPOT", 0, "Spot", "Directional cone light source"},
    {LA_HEMI, "HEMI", 0, "Hemi", "180 degree constant light source"},
    {LA_AREA, "AREA", 0, "Area", "Directional area light source"},
    {0, NULL, 0, NULL, NULL}}

Definition at line 161 of file rna_lamp.c.

Referenced by OBJECT_OT_lamp_add(), and RNA_def_main_lamps().