DiskEmitter
March 28, 2022 ยท View on GitHub
from tdw.obi_data.fluids.disk_emitter import DiskEmitter
A disk-shaped Obi fluid emitter.
Fields
-
radiusThe radius of the circle. -
edge_emissionIf enabled, particles will be emitted from the circle's edges, instead of its interior.
Functions
__init__
DiskEmitter()
DiskEmitter(radius=0.1, edge_emission=False)
| Parameter | Type | Default | Description |
|---|---|---|---|
| radius | float | 0.1 | The radius of the circle. |
| edge_emission | bool | False | If enabled, particles will be emitted from the circle's edges, instead of its interior. |
to_dict
self.to_dict()
Returns: A JSON dictionary of this object.