Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/python/BPy_FrsMaterial.cpp
| Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | |||||
| //------------------------INSTANCE METHODS ---------------------------------- | //------------------------INSTANCE METHODS ---------------------------------- | ||||
| PyDoc_STRVAR( | PyDoc_STRVAR( | ||||
| FrsMaterial_doc, | FrsMaterial_doc, | ||||
| "Class defining a material.\n" | "Class defining a material.\n" | ||||
| "\n" | "\n" | ||||
| ".. method:: __init__()\n" | ".. method:: __init__()\n" | ||||
| " __init__(brother)\n" | |||||
| " __init__(line, diffuse, ambient, specular, emission, shininess, priority)\n" | |||||
| "\n" | "\n" | ||||
| " Default constructor.\n" | " Creates a :class:`FrsMaterial` using either default constructor,\n" | ||||
| " copy constructor, or an overloaded constructor\n" | |||||
| "\n" | "\n" | ||||
| ".. method:: __init__(brother)\n" | " :arg brother: A Material object to be used as a copy constructor.\n" | ||||
| "\n" | |||||
| " Copy constructor.\n" | |||||
| "\n" | |||||
| " :arg brother: A Material object.\n" | |||||
| " :type brother: :class:`Material`\n" | " :type brother: :class:`Material`\n" | ||||
| "\n" | |||||
| ".. method:: __init__(line, diffuse, ambient, specular, emission, shininess, priority)\n" | |||||
| "\n" | |||||
| " Builds a Material from its line, diffuse, ambient, specular, emissive\n" | |||||
| " colors, a shininess coefficient and line color priority.\n" | |||||
| "\n" | |||||
| " :arg line: The line color.\n" | " :arg line: The line color.\n" | ||||
| " :type line: :class:`mathutils.Vector`, list or tuple of 4 float values\n" | " :type line: :class:`mathutils.Vector`, list or tuple of 4 float values\n" | ||||
| " :arg diffuse: The diffuse color.\n" | " :arg diffuse: The diffuse color.\n" | ||||
| " :type diffuse: :class:`mathutils.Vector`, list or tuple of 4 float values\n" | " :type diffuse: :class:`mathutils.Vector`, list or tuple of 4 float values\n" | ||||
| " :arg ambient: The ambient color.\n" | " :arg ambient: The ambient color.\n" | ||||
| " :type ambient: :class:`mathutils.Vector`, list or tuple of 4 float values\n" | " :type ambient: :class:`mathutils.Vector`, list or tuple of 4 float values\n" | ||||
| " :arg specular: The specular color.\n" | " :arg specular: The specular color.\n" | ||||
| " :type specular: :class:`mathutils.Vector`, list or tuple of 4 float values\n" | " :type specular: :class:`mathutils.Vector`, list or tuple of 4 float values\n" | ||||
| ▲ Show 20 Lines • Show All 507 Lines • Show Last 20 Lines | |||||