Blender V4.3
rna_lightprobe.cc File Reference
#include <cstdlib>
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "rna_internal.hh"
#include "DNA_lightprobe_types.h"
#include "WM_types.hh"

Go to the source code of this file.

Functions

static void rna_def_lightprobe (BlenderRNA *brna)
 
static void rna_def_lightprobe_plane (BlenderRNA *brna)
 
static void rna_def_lightprobe_sphere (BlenderRNA *brna)
 
static void rna_def_lightprobe_volume (BlenderRNA *brna)
 
void RNA_def_lightprobe (BlenderRNA *brna)
 

Variables

static EnumPropertyItem parallax_type_items []
 
static EnumPropertyItem lightprobe_type_items []
 

Function Documentation

◆ RNA_def_lightprobe()

void RNA_def_lightprobe ( BlenderRNA * brna)

◆ rna_def_lightprobe()

◆ rna_def_lightprobe_plane()

static void rna_def_lightprobe_plane ( BlenderRNA * brna)
static

◆ rna_def_lightprobe_sphere()

◆ rna_def_lightprobe_volume()

Variable Documentation

◆ lightprobe_type_items

EnumPropertyItem lightprobe_type_items[]
static
Initial value:
= {
"SPHERE",
ICON_LIGHTPROBE_SPHERE,
"Sphere",
"Light probe that captures precise lighting from all directions at a single point in space"},
"PLANE",
ICON_LIGHTPROBE_PLANE,
"Plane",
"Light probe that captures incoming light from a single direction on a plane"},
"VOLUME",
ICON_LIGHTPROBE_VOLUME,
"Volume",
"Light probe that captures low frequency lighting inside a volume"},
{0, nullptr, 0, nullptr, nullptr},
}
@ LIGHTPROBE_TYPE_PLANE
@ LIGHTPROBE_TYPE_VOLUME
@ LIGHTPROBE_TYPE_SPHERE

Definition at line 60 of file rna_lightprobe.cc.

Referenced by rna_def_lightprobe().

◆ parallax_type_items

EnumPropertyItem parallax_type_items[]
static
Initial value:
= {
{LIGHTPROBE_SHAPE_ELIPSOID, "ELIPSOID", ICON_NONE, "Sphere", ""},
{LIGHTPROBE_SHAPE_BOX, "BOX", ICON_NONE, "Box", ""},
{0, nullptr, 0, nullptr, nullptr},
}
@ LIGHTPROBE_SHAPE_BOX
@ LIGHTPROBE_SHAPE_ELIPSOID

Definition at line 54 of file rna_lightprobe.cc.

Referenced by rna_def_lightprobe_sphere().