Blender V4.3
rna_light.cc File Reference
#include <cstdlib>
#include "BLI_math_base.h"
#include "BLI_math_rotation.h"
#include "BLI_sys_types.h"
#include "BLT_translation.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "rna_internal.hh"
#include "DNA_light_types.h"
#include "DNA_material_types.h"
#include "DNA_texture_types.h"

Go to the source code of this file.

Functions

static void rna_def_light (BlenderRNA *brna)
 
static void rna_def_light_energy (StructRNA *srna, const short light_type)
 
static void rna_def_light_shadow (StructRNA *srna, bool sun)
 
static void rna_def_point_light (BlenderRNA *brna)
 
static void rna_def_area_light (BlenderRNA *brna)
 
static void rna_def_spot_light (BlenderRNA *brna)
 
static void rna_def_sun_light (BlenderRNA *brna)
 
void RNA_def_light (BlenderRNA *brna)
 

Variables

const EnumPropertyItem rna_enum_light_type_items []
 

Function Documentation

◆ rna_def_area_light()

◆ RNA_def_light()

void RNA_def_light ( BlenderRNA * brna)

◆ rna_def_light()

◆ rna_def_light_energy()

◆ rna_def_light_shadow()

◆ rna_def_point_light()

◆ rna_def_spot_light()

◆ rna_def_sun_light()

Variable Documentation

◆ rna_enum_light_type_items

const EnumPropertyItem rna_enum_light_type_items[]
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_AREA, "AREA", 0, "Area", "Directional area light source"},
{0, nullptr, 0, nullptr, nullptr},
}
@ LA_AREA
@ LA_LOCAL
@ LA_SPOT
@ LA_SUN

Definition at line 89 of file rna_light.cc.

Referenced by rna_def_light().