DiskEmitter

March 28, 2022 ยท View on GitHub

from tdw.obi_data.fluids.disk_emitter import DiskEmitter

A disk-shaped Obi fluid emitter.


Fields

  • radius The radius of the circle.

  • edge_emission If enabled, particles will be emitted from the circle's edges, instead of its interior.


Functions

__init__

DiskEmitter()

DiskEmitter(radius=0.1, edge_emission=False)

ParameterTypeDefaultDescription
radiusfloat0.1The radius of the circle.
edge_emissionboolFalseIf 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.