Logo Search packages:      
Sourcecode: blender version File versions

World.c File Reference


Detailed Description

Blender.World Module and World Data PyObject implementation.

Note: Parameters between "<" and ">" are optional. But if one of them is given, all preceding ones must be given, too. Of course, this only relates to the Python functions and methods described here and only inside Python code. [ This will go to another file later, probably the main exppython doc file]. XXX Better: put optional args with their default value: (self, name = "MyName")

Definition in file World.c.

#include <BKE_main.h>
#include <BKE_global.h>
#include <BKE_object.h>
#include <BKE_library.h>
#include <BLI_blenlib.h>
#include <DNA_scene_types.h>
#include "World.h"
#include "Ipo.h"
#include "constant.h"
#include "gen_utils.h"

Go to the source code of this file.

Functions

WorldGetWorldByName (char *name)
static PyObject * M_World_Get (PyObject *self, PyObject *args)
 Python module function: Blender.World.Get().
static PyObject * M_World_GetCurrent (PyObject *self)
static PyObject * M_World_New (PyObject *self, PyObject *args, PyObject *kwords)
 Python module function: Blender.World.New().
static PyObject * World_addScriptLink (BPy_World *self, PyObject *args)
int World_CheckPyObject (PyObject *py_obj)
static PyObject * World_clearIpo (BPy_World *self)
static PyObject * World_clearScriptLinks (BPy_World *self)
PyObject * World_CreatePyObject (struct World *world)
WorldWorld_FromPyObject (PyObject *py_obj)
static PyObject * World_getAmb (BPy_World *self)
static PyObject * World_getHor (BPy_World *self)
static PyObject * World_getIpo (BPy_World *self)
static PyObject * World_getMist (BPy_World *self)
static PyObject * World_getMistype (BPy_World *self)
 World PyMethod getMistype.
static PyObject * World_getMode (BPy_World *self)
 World PyMethod getMode.
static PyObject * World_getName (BPy_World *self)
 World PyMethod getName.
static PyObject * World_getRange (BPy_World *self)
static PyObject * World_getScriptLinks (BPy_World *self, PyObject *args)
static PyObject * World_getSkytype (BPy_World *self)
 World PyMethod getSkytype.
static PyObject * World_getStar (BPy_World *self)
static PyObject * World_getZen (BPy_World *self)
PyObject * World_Init (void)
 Initializes the Blender.World submodule.
static PyObject * World_setAmb (BPy_World *self, PyObject *args)
static PyObject * World_setCurrent (BPy_World *self)
static PyObject * World_setHor (BPy_World *self, PyObject *args)
static PyObject * World_setIpo (BPy_World *self, PyObject *args)
static PyObject * World_setMist (BPy_World *self, PyObject *args)
static PyObject * World_setMistype (BPy_World *self, PyObject *args)
 World PyMethod setMistype.
static PyObject * World_setMode (BPy_World *self, PyObject *args)
 World PyMethod setMode.
static PyObject * World_setName (BPy_World *self, PyObject *args)
 World PyMethod setName.
static PyObject * World_setRange (BPy_World *self, PyObject *args)
static PyObject * World_setSkytype (BPy_World *self, PyObject *args)
 World PyMethod setSkytype.
static PyObject * World_setStar (BPy_World *self, PyObject *args)
static PyObject * World_setZen (BPy_World *self, PyObject *args)
static int World_Compare (BPy_World *a, BPy_World *b)
 The World PyType compare function.
static void World_DeAlloc (BPy_World *self)
 The World PyType destructor.
static PyObject * World_GetAttr (BPy_World *self, char *name)
 The World PyType attribute getter.
static PyObject * World_Repr (BPy_World *self)
 The World PyType print callback.
static int World_SetAttr (BPy_World *self, char *name, PyObject *value)
 The World PyType attribute setter.

Variables

static PyMethodDef BPy_World_methods []
static char M_World_doc []
static char M_World_Get_doc []
static char M_World_GetCurrent_doc []
struct PyMethodDef M_World_methods []
static char M_World_New_doc [] = "() - return a new World object"
PyTypeObject World_Type


Generated by  Doxygen 1.6.0   Back to index