transparent_medium
A placeholder for an empty medium acting as a container.
Attributes
Name | Type | Description |
---|---|---|
density | number |
The transparent medium has a null density. |
magnet | nil |
The transparent medium is not locally magnetized. |
material | nil |
The transparent medium has no filling material. |
Description
The transparent_medium is a special Medium instance that can be used in a Geometry in order to indicate the absence of filling medium. When such a medium is encountered the corresponding volume is ignored. A transparent volume can still contain (non transparent) daughters and be included in an other geometry. A typical usage is to make the top volume of a PolyhedronGeometry transparent such that it behaves as a bounding box for its content without erasing its own mother geometry, e.g. an EarthGeometry it would be placed in.
Note
The transparent_medium should not be mistaken with
the nil
medium. The latter indicates the absence of medium at all, i.e.
the end of the simulation geometry.