
## \_\_init\_\_(self) {#}

Initializes a new instance of the [`Light`](/3d/python-net/aspose.threed.entities/light) class.



```python

def __init__(self):
    ...
```




## \_\_init\_\_(self, name) {#str}

Initializes a new instance of the [`Light`](/3d/python-net/aspose.threed.entities/light) class.



```python

def __init__(self, name):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| name | str | Name |


## \_\_init\_\_(self, name, type) {#str-aspose.threed.entities.LightType}

Initializes a new instance of the [`Light`](/3d/python-net/aspose.threed.entities/light) class.



```python

def __init__(self, name, type):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| name | str | Name |
| type | [`LightType`](/3d/python-net/aspose.threed.entities/lighttype) | New light's type |



### See Also
* module [`aspose.threed.entities`](../../)
* class [`Light`](/3d/python-net/aspose.threed.entities/light)
