Blender V2.61 - r43446
Public Attributes

World Struct Reference

#include <DNA_world_types.h>

List of all members.

Public Attributes

ID id
struct AnimDataadt
short colormodel
short totex
short texact
short mistype
float horr
float horg
float horb
float zenr
float zeng
float zenb
float ambr
float ambg
float ambb
float pad2
unsigned int fastcol
float exposure
float exp
float range
float linfac
float logfac
float gravity
float activityBoxRadius
short skytype
short mode
short occlusionRes
short physicsEngine
short ticrate
short maxlogicstep
short physubstep
short maxphystep
float misi
float miststa
float mistdist
float misthi
float starr DNA_DEPRECATED
float starr starg DNA_DEPRECATED
float starr starg starb DNA_DEPRECATED
float starr starg starb stark DNA_DEPRECATED
float starsize
float starmindist
float stardist
float starcolnoise
short dofsta
short dofend
short dofmin
short dofmax
float aodist
float aodistfac
float aoenergy
float aobias
short aomode
short aosamp
short aomix
short aocolor
float ao_adapt_thresh
float ao_adapt_speed_fac
float ao_approx_error
float ao_approx_correction
float ao_indirect_energy
float ao_env_energy
float ao_pad2
short ao_indirect_bounces
short ao_pad
short ao_samp_method
short ao_gather_method
short ao_approx_passes
short flag
float * aosphere
float * aotables
struct Ipo *ipo DNA_DEPRECATED
struct MTexmtex [18]
short pr_texture
short use_nodes
short pad [2]
struct PreviewImagepreview
struct bNodeTreenodetree

Detailed Description

World defines general modeling data such as a background fill, gravity, color model, stars, etc. It mixes game-data, rendering data and modeling data.

Definition at line 52 of file DNA_world_types.h.


Member Data Documentation

Radius of the activity bubble, in Manhattan length. Objects outside the box are activity-culled.

Definition at line 82 of file DNA_world_types.h.

float World::ambb

Definition at line 61 of file DNA_world_types.h.

Referenced by do_material_tex(), and GPU_shaderesult_set().

float World::ambg

Definition at line 61 of file DNA_world_types.h.

Referenced by do_material_tex(), and GPU_shaderesult_set().

float World::ambr

Definition at line 111 of file DNA_world_types.h.

Definition at line 111 of file DNA_world_types.h.

Referenced by do_versions().

Definition at line 112 of file DNA_world_types.h.

Referenced by sample_occ_tree().

Definition at line 112 of file DNA_world_types.h.

Referenced by add_world(), do_versions(), and occ_tree_build().

Definition at line 115 of file DNA_world_types.h.

Referenced by make_occ_tree().

Definition at line 113 of file DNA_world_types.h.

Referenced by add_world(), and do_versions().

Definition at line 114 of file DNA_world_types.h.

Referenced by add_world(), do_versions(), make_occ_tree(), and occ_tree_build().

Definition at line 113 of file DNA_world_types.h.

Referenced by add_world(), and occ_tree_build().

Definition at line 114 of file DNA_world_types.h.

Definition at line 113 of file DNA_world_types.h.

Definition at line 109 of file DNA_world_types.h.

Referenced by add_world(), and do_versions().

Definition at line 110 of file DNA_world_types.h.

Referenced by do_versions(), and sample_occ_tree().

Definition at line 109 of file DNA_world_types.h.

Referenced by add_world(), and do_versions().

Definition at line 109 of file DNA_world_types.h.

Referenced by occ_tree_build().

Definition at line 109 of file DNA_world_types.h.

Referenced by add_world(), and do_versions().

short World::aomix

Definition at line 110 of file DNA_world_types.h.

Referenced by do_versions().

Definition at line 110 of file DNA_world_types.h.

Referenced by do_versions(), and occ_tree_build().

Definition at line 110 of file DNA_world_types.h.

Referenced by add_world(), do_versions(), init_ao_sphere(), and init_render_world().

Definition at line 121 of file DNA_world_types.h.

Referenced by init_ao_sphere(), and RE_Database_Free().

float * World::aotables

Definition at line 121 of file DNA_world_types.h.

Referenced by init_ao_sphere(), and RE_Database_Free().

Definition at line 56 of file DNA_world_types.h.

float starr World::DNA_DEPRECATED

Definition at line 101 of file DNA_world_types.h.

float starr starg World::DNA_DEPRECATED

Definition at line 101 of file DNA_world_types.h.

float starr starg starb World::DNA_DEPRECATED

Definition at line 101 of file DNA_world_types.h.

Definition at line 124 of file DNA_world_types.h.

float starr starg starb stark World::DNA_DEPRECATED

Definition at line 101 of file DNA_world_types.h.

Definition at line 106 of file DNA_world_types.h.

Definition at line 106 of file DNA_world_types.h.

Definition at line 106 of file DNA_world_types.h.

Definition at line 106 of file DNA_world_types.h.

float World::exp

Exposure= mult factor. unused now, but maybe back later. Kept in to be upward compat. New is exp/range control. linfac & logfac are constants... don't belong in file, but allocating 8 bytes for temp mem isnt useful either.

Definition at line 71 of file DNA_world_types.h.

Referenced by add_world(), and do_versions().

unsigned int World::fastcol

Definition at line 64 of file DNA_world_types.h.

Referenced by init_render_world().

short World::flag

Definition at line 118 of file DNA_world_types.h.

Referenced by acf_dswor_setting_ptr().

Gravitation constant for the game world

Definition at line 77 of file DNA_world_types.h.

float World::horb
float World::horg
float World::horr

Definition at line 72 of file DNA_world_types.h.

Referenced by init_render_world().

Definition at line 72 of file DNA_world_types.h.

Referenced by init_render_world().

Definition at line 97 of file DNA_world_types.h.

Referenced by do_versions().

Definition at line 97 of file DNA_world_types.h.

Referenced by do_versions().

float World::misi

Definition at line 99 of file DNA_world_types.h.

Referenced by GPU_shaderesult_set(), and init_render_world().

Definition at line 99 of file DNA_world_types.h.

Definition at line 57 of file DNA_world_types.h.

Referenced by GPU_shaderesult_set().

short World::mode

Some world modes bit 0: Do mist bit 1: Do stars bit 2: (reserved) depth of field bit 3: (gameengine): Activity culling is enabled. bit 4: ambient occlusion bit 5: (gameengine) : enable Bullet DBVT tree for view frustrum culling

Definition at line 94 of file DNA_world_types.h.

Referenced by BlenderWorldInfo::BlenderWorldInfo(), do_versions(), finish_bake_internal(), GPU_shaderesult_set(), init_bake_internal(), init_render_world(), make_occ_tree(), RE_Database_Baking(), RE_Database_FromScene(), render_new_particle_system(), and view3d_main_area_draw_objects().

struct MTex* World::mtex[18]

Definition at line 95 of file DNA_world_types.h.

Referenced by do_versions().

short World::pad[2]

Definition at line 126 of file DNA_world_types.h.

float World::pad2

Definition at line 62 of file DNA_world_types.h.

Definition at line 96 of file DNA_world_types.h.

Referenced by do_versions().

Definition at line 97 of file DNA_world_types.h.

Referenced by do_versions().

Definition at line 126 of file DNA_world_types.h.

float World::range

Definition at line 84 of file DNA_world_types.h.

Referenced by add_world(), and init_render_world().

Definition at line 103 of file DNA_world_types.h.

Referenced by RE_make_stars().

Definition at line 103 of file DNA_world_types.h.

Referenced by add_world(), and RE_make_stars().

Definition at line 102 of file DNA_world_types.h.

Referenced by RE_make_stars().

Definition at line 102 of file DNA_world_types.h.

Referenced by add_world(), and RE_make_stars().

Definition at line 97 of file DNA_world_types.h.

Referenced by do_versions().

short World::totex

Definition at line 56 of file DNA_world_types.h.

Definition at line 126 of file DNA_world_types.h.

Referenced by new_world_exec(), and node_area_refresh().

float World::zenb

Definition at line 60 of file DNA_world_types.h.

Referenced by add_world(), and sample_occ_tree().

float World::zeng

Definition at line 60 of file DNA_world_types.h.

Referenced by add_world(), and sample_occ_tree().

float World::zenr

Definition at line 60 of file DNA_world_types.h.

Referenced by add_world(), do_versions(), and sample_occ_tree().


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