Blender V5.3
blender::Light Struct Reference

#include <DNA_light_types.h>

Public Attributes

ID id
struct AnimData * adt = nullptr
eLightType type = LA_LOCAL
eLight_Flag flag = {}
eLight_Mode mode = LA_SHADOW | LA_USE_SOFT_FALLOFF
float r = 1.0f
float g = 1.0f
float b = 1.0f
float temperature = 6500.0f
float energy = 10.0f
float exposure = 0
float radius = 0
float spotsize = DEG2RADF(45.0f)
float spotblend = 0.15f
eLightAreaShape area_shape = LA_AREA_SQUARE
short _pad1 = {}
float area_size = 0.25f
float area_sizey = 0.25f
float area_sizez = 0.25f
float area_spread = DEG2RADF(180.0f)
float sun_angle = DEG2RADF(0.526f)
short pr_texture = 0
DNA_DEPRECATED short use_nodes = 0
float clipsta = 0.05f
float clipend_deprecated = 0
float cascade_max_dist = 200.0f
float cascade_exponent = 0.8f
float cascade_fade = 0.1f
int cascade_count = 4
float diff_fac = 1.0f
float spec_fac = 1.0f
float transmission_fac = 1.0f
float volume_fac = 1.0f
float att_dist = 40.0f
float shadow_filter_radius = 1.0f
float shadow_maximum_resolution = 0.001f
float shadow_jitter_overblur = 10.0f
struct PreviewImage * preview = nullptr
struct bNodeTree * nodetree = nullptr
DNA_DEPRECATED float energy_deprecated = 10.0f
float _pad2 = 0.0f

Detailed Description

Definition at line 102 of file DNA_light_types.h.

Member Data Documentation

◆ _pad1

short blender::Light::_pad1 = {}

Definition at line 133 of file DNA_light_types.h.

◆ _pad2

float blender::Light::_pad2 = 0.0f

Definition at line 173 of file DNA_light_types.h.

◆ adt

struct AnimData* blender::Light::adt = nullptr

Animation data (must be immediately after id for utilities to use it).

Definition at line 111 of file DNA_light_types.h.

◆ area_shape

eLightAreaShape blender::Light::area_shape = LA_AREA_SQUARE

Definition at line 132 of file DNA_light_types.h.

◆ area_size

float blender::Light::area_size = 0.25f

Definition at line 134 of file DNA_light_types.h.

◆ area_sizey

float blender::Light::area_sizey = 0.25f

Definition at line 135 of file DNA_light_types.h.

◆ area_sizez

float blender::Light::area_sizez = 0.25f

Definition at line 136 of file DNA_light_types.h.

◆ area_spread

float blender::Light::area_spread = DEG2RADF(180.0f)

Definition at line 137 of file DNA_light_types.h.

◆ att_dist

float blender::Light::att_dist = 40.0f

Definition at line 160 of file DNA_light_types.h.

◆ b

float blender::Light::b = 1.0f

Definition at line 119 of file DNA_light_types.h.

◆ cascade_count

int blender::Light::cascade_count = 4

Definition at line 153 of file DNA_light_types.h.

◆ cascade_exponent

float blender::Light::cascade_exponent = 0.8f

Definition at line 151 of file DNA_light_types.h.

◆ cascade_fade

float blender::Light::cascade_fade = 0.1f

Definition at line 152 of file DNA_light_types.h.

◆ cascade_max_dist

float blender::Light::cascade_max_dist = 200.0f

Definition at line 150 of file DNA_light_types.h.

◆ clipend_deprecated

float blender::Light::clipend_deprecated = 0

Definition at line 148 of file DNA_light_types.h.

◆ clipsta

float blender::Light::clipsta = 0.05f

Definition at line 147 of file DNA_light_types.h.

◆ diff_fac

float blender::Light::diff_fac = 1.0f

Definition at line 155 of file DNA_light_types.h.

◆ energy

float blender::Light::energy = 10.0f

Definition at line 121 of file DNA_light_types.h.

◆ energy_deprecated

DNA_DEPRECATED float blender::Light::energy_deprecated = 10.0f

Definition at line 172 of file DNA_light_types.h.

◆ exposure

float blender::Light::exposure = 0

Definition at line 122 of file DNA_light_types.h.

◆ flag

eLight_Flag blender::Light::flag = {}

Definition at line 115 of file DNA_light_types.h.

◆ g

float blender::Light::g = 1.0f

Definition at line 119 of file DNA_light_types.h.

◆ id

ID blender::Light::id

Definition at line 109 of file DNA_light_types.h.

◆ mode

eLight_Mode blender::Light::mode = LA_SHADOW | LA_USE_SOFT_FALLOFF

Definition at line 116 of file DNA_light_types.h.

◆ nodetree

struct bNodeTree* blender::Light::nodetree = nullptr

Definition at line 169 of file DNA_light_types.h.

◆ pr_texture

short blender::Light::pr_texture = 0

Definition at line 143 of file DNA_light_types.h.

◆ preview

struct PreviewImage* blender::Light::preview = nullptr

Definition at line 166 of file DNA_light_types.h.

◆ r

float blender::Light::r = 1.0f

Definition at line 119 of file DNA_light_types.h.

◆ radius

float blender::Light::radius = 0

Definition at line 125 of file DNA_light_types.h.

◆ shadow_filter_radius

float blender::Light::shadow_filter_radius = 1.0f

Definition at line 161 of file DNA_light_types.h.

◆ shadow_jitter_overblur

float blender::Light::shadow_jitter_overblur = 10.0f

Definition at line 163 of file DNA_light_types.h.

◆ shadow_maximum_resolution

float blender::Light::shadow_maximum_resolution = 0.001f

Definition at line 162 of file DNA_light_types.h.

◆ spec_fac

float blender::Light::spec_fac = 1.0f

Definition at line 156 of file DNA_light_types.h.

◆ spotblend

float blender::Light::spotblend = 0.15f

Definition at line 129 of file DNA_light_types.h.

◆ spotsize

float blender::Light::spotsize = DEG2RADF(45.0f)

Definition at line 128 of file DNA_light_types.h.

◆ sun_angle

float blender::Light::sun_angle = DEG2RADF(0.526f)

Definition at line 140 of file DNA_light_types.h.

◆ temperature

float blender::Light::temperature = 6500.0f

Definition at line 120 of file DNA_light_types.h.

◆ transmission_fac

float blender::Light::transmission_fac = 1.0f

Definition at line 157 of file DNA_light_types.h.

◆ type

eLightType blender::Light::type = LA_LOCAL

Definition at line 114 of file DNA_light_types.h.

◆ use_nodes

DNA_DEPRECATED short blender::Light::use_nodes = 0

Definition at line 144 of file DNA_light_types.h.

◆ volume_fac

float blender::Light::volume_fac = 1.0f

Definition at line 158 of file DNA_light_types.h.


The documentation for this struct was generated from the following file: