Blender V4.3
BPy_MaterialF0D.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (MaterialF0D___doc__, "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")
 
static int MaterialF0D___init__ (BPy_MaterialF0D *self, PyObject *args, PyObject *kwds)
 

Variables

PyTypeObject MaterialF0D_Type
 

Function Documentation

◆ MaterialF0D___init__()

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

Definition at line 53 of file BPy_MaterialF0D.cpp.

References self.

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( MaterialF0D___doc__ ,
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` ,
" ":class:`freestyle.types.UnaryFunction0DMaterial`  )

Variable Documentation

◆ MaterialF0D_Type

PyTypeObject MaterialF0D_Type

Definition at line 67 of file BPy_MaterialF0D.cpp.

Referenced by UnaryFunction0DMaterial_Init().