from tdw.obi_data.fluids.cube_emitter import CubeEmitter
A cube-shaped Obi fluid emitter.
-
size
The size of the cube in meters. If None, defaults to{"x": 0.1, "y": 0.1, "z": 0.1}
. -
sampling_method
TheEmitterSamplingMethod
.
CubeEmitter()
CubeEmitter(size=None, sampling_method=EmitterSamplingMethod.volume)
Parameter | Type | Default | Description |
---|---|---|---|
size | Dict[str, float] | None | The size of the cube in meters. If None, defaults to {"x": 0.1, "y": 0.1, "z": 0.1} . |
sampling_method | EmitterSamplingMethod | EmitterSamplingMethod.volume | The EmitterSamplingMethod . |
self.to_dict()
Returns: A JSON dictionary of this object.