Blender  V3.3
Functions | Variables
BPy_MaterialF0D.cpp File Reference
#include "BPy_MaterialF0D.h"
#include "../../../view_map/Functions0D.h"

Go to the source code of this file.

Functions

static int MaterialF0D___init__ (BPy_MaterialF0D *self, PyObject *args, PyObject *kwds)
 

Variables

static char MaterialF0D___doc__ []
 
PyTypeObject MaterialF0D_Type
 

Function Documentation

◆ MaterialF0D___init__()

static int MaterialF0D___init__ ( BPy_MaterialF0D self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 49 of file BPy_MaterialF0D.cpp.

Variable Documentation

◆ MaterialF0D___doc__

char MaterialF0D___doc__[]
static
Initial value:
=
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
":class:`freestyle.types.UnaryFunction0DMaterial` > :class:`MaterialF0D`\n"
"\n"
".. method:: __init__()\n"
"\n"
" Builds a MaterialF0D object.\n"
"\n"
".. method:: __call__(it)\n"
"\n"
" Returns the material of the object evaluated at the\n"
" :class:`freestyle.types.Interface0D` pointed by the\n"
" Interface0DIterator. This evaluation can be ambiguous (in the case of\n"
" a :class:`freestyle.types.TVertex` for example. This functor tries to\n"
" remove this ambiguity using the context offered by the 1D element to\n"
" which the Interface0DIterator belongs to and by arbitrary choosing the\n"
" material of the face that lies on its left when following the 1D\n"
" element if there are two different materials on each side of the\n"
" point. However, there still can be problematic cases, and the user\n"
" willing to deal with this cases in a specific way should implement its\n"
" own getMaterial functor.\n"
"\n"
" :arg it: An Interface0DIterator object.\n"
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
" :return: The material of the object evaluated at the pointed\n"
" Interface0D.\n"
" :rtype: :class:`freestyle.types.Material`\n"

Definition at line 21 of file BPy_MaterialF0D.cpp.

◆ MaterialF0D_Type

PyTypeObject MaterialF0D_Type

Definition at line 63 of file BPy_MaterialF0D.cpp.

Referenced by UnaryFunction0DMaterial_Init().