vray.Category

class vray.Category

Bases: object

V-Ray Plugin Category

A type class that defines a particular V-Ray render plugin category. It holds all the classes which belong to this category. And can return all plugin instances belonging to this category.

Methods

__init__()

belongs(self, element)

Checks if a plugin or a class belong to this category.

getInstances(self)

Returns a list of all Plugin instances of this category.

getName(self)

Returns this category name as a string.

getRenderer(self)

Returns the VRayRenderer instance to which this category belongs.

belongs(self, element: Plugin | Class) → bool

Checks if a plugin or a class belong to this category.

getInstances(self) → PluginList

Returns a list of all Plugin instances of this category.

getName(self) → str

Returns this category name as a string.

getRenderer(self) → Renderer

Returns the VRayRenderer instance to which this category belongs.