Light constructor

init

Initializes a new instance of the Light class.

def __init__(self):
    ...

init

Initializes a new instance of the Light class.

def __init__(self, name):
    ...
ParameterTypeDescription
namestrName

init

Initializes a new instance of the Light class.

def __init__(self, name, type):
    ...
ParameterTypeDescription
namestrName
typeLightTypeNew light’s type

See Also