zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Lib3dsLight Struct Reference

#include <lib3ds.h>

Public Attributes

float attenuation
 
float color [3]
 
float falloff
 
float hotspot
 
float inner_range
 
float multiplier
 
char name [64]
 
unsigned object_flags
 
int off
 
float outer_range
 
float position [3]
 
char projector [64]
 
float ray_bias
 
int ray_shadows
 
int rectangular_spot
 
float roll
 
int see_cone
 
float shadow_bias
 
float shadow_filter
 
int shadow_size
 
int shadowed
 
float spot_aspect
 
int spot_light
 
int spot_overshoot
 
float target [3]
 
int use_projector
 
unsigned user_id
 
voiduser_ptr
 

Detailed Description

Light object

Definition at line 298 of file lib3ds.h.

Member Data Documentation

float Lib3dsLight::attenuation

Definition at line 314 of file lib3ds.h.

Referenced by lib3ds_light_read(), and lib3ds_light_write().

float Lib3dsLight::color[3]
float Lib3dsLight::falloff

Definition at line 327 of file lib3ds.h.

Referenced by lib3ds_light_write(), lib3ds_node_new_spotlight(), and spotlight_read().

float Lib3dsLight::hotspot

Definition at line 326 of file lib3ds.h.

Referenced by lib3ds_light_write(), lib3ds_node_new_spotlight(), and spotlight_read().

float Lib3dsLight::inner_range

Definition at line 311 of file lib3ds.h.

Referenced by lib3ds_light_read(), and lib3ds_light_write().

float Lib3dsLight::multiplier

Definition at line 312 of file lib3ds.h.

Referenced by lib3ds_light_read(), and lib3ds_light_write().

unsigned Lib3dsLight::object_flags

Definition at line 302 of file lib3ds.h.

Referenced by mdata_write(), and named_object_read().

int Lib3dsLight::off

Definition at line 309 of file lib3ds.h.

Referenced by lib3ds_light_read(), and lib3ds_light_write().

float Lib3dsLight::outer_range

Definition at line 310 of file lib3ds.h.

Referenced by lib3ds_light_read(), and lib3ds_light_write().

char Lib3dsLight::projector[64]

Definition at line 322 of file lib3ds.h.

Referenced by lib3ds_light_write(), and spotlight_read().

float Lib3dsLight::ray_bias

Definition at line 325 of file lib3ds.h.

Referenced by lib3ds_light_write(), and spotlight_read().

int Lib3dsLight::ray_shadows

Definition at line 324 of file lib3ds.h.

Referenced by lib3ds_light_write(), and spotlight_read().

int Lib3dsLight::rectangular_spot

Definition at line 315 of file lib3ds.h.

Referenced by lib3ds_light_write(), and spotlight_read().

float Lib3dsLight::roll

Definition at line 308 of file lib3ds.h.

Referenced by lib3ds_light_write(), lib3ds_node_new_spotlight(), and spotlight_read().

int Lib3dsLight::see_cone

Definition at line 304 of file lib3ds.h.

Referenced by lib3ds_light_write(), and spotlight_read().

float Lib3dsLight::shadow_bias

Definition at line 317 of file lib3ds.h.

Referenced by lib3ds_light_write(), and spotlight_read().

float Lib3dsLight::shadow_filter

Definition at line 318 of file lib3ds.h.

Referenced by lib3ds_light_write(), and spotlight_read().

int Lib3dsLight::shadow_size

Definition at line 319 of file lib3ds.h.

Referenced by lib3ds_light_write(), and spotlight_read().

int Lib3dsLight::shadowed

Definition at line 316 of file lib3ds.h.

Referenced by lib3ds_light_write(), and spotlight_read().

float Lib3dsLight::spot_aspect

Definition at line 320 of file lib3ds.h.

Referenced by lib3ds_light_write(), and spotlight_read().

int Lib3dsLight::spot_light
int Lib3dsLight::spot_overshoot

Definition at line 323 of file lib3ds.h.

Referenced by lib3ds_light_write(), and spotlight_read().

float Lib3dsLight::target[3]
int Lib3dsLight::use_projector

Definition at line 321 of file lib3ds.h.

Referenced by lib3ds_light_write(), and spotlight_read().

unsigned Lib3dsLight::user_id

Definition at line 299 of file lib3ds.h.

void* Lib3dsLight::user_ptr

Definition at line 300 of file lib3ds.h.


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