Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 737 Bytes

sphere_emitter.md

File metadata and controls

34 lines (19 loc) · 737 Bytes

SphereEmitter

from tdw.obi_data.fluids.sphere_emitter import SphereEmitter

A sphere-shaped Obi fluid emitter.


Fields


Functions

__init__

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.

to_dict

self.to_dict()

Returns: A JSON dictionary of this object.