from tdw.obi_data.fluids.sphere_emitter import SphereEmitter
A sphere-shaped Obi fluid emitter.
-
radius
The radius of the sphere. -
sampling_method
TheEmitterSamplingMethod
.
SphereEmitter()
SphereEmitter(radius=0.1, sampling_method=EmitterSamplingMethod.volume)
Parameter | Type | Default | Description |
---|---|---|---|
radius | float | 0.1 | The radius of the sphere. |
sampling_method | EmitterSamplingMethod | EmitterSamplingMethod.volume | The EmitterSamplingMethod . |
self.to_dict()
Returns: A JSON dictionary of this object.