simple Class

class plask.material.simple(base=None)

Decorator for custom simple material class.

Parameters:

base (str or material.Material) – Base class specification. It may be either a material object or a string with either complete or incomplete specification of the material. In either case you must initialize the base in the constructor of your material.

Methods

__call__(cls)

Call self as a function.

Descriptions

Method Details

simple.__call__(cls)

Call self as a function.