Returns the transmitted direction vector (ix, iy, iz). Parameters ---------- surface: Surface The surface object owned by the material. ray: Ray The incident ray. geometry: Geometry
(
self, surface, ray, geometry, container, adjacent
)
| 56 | |
| 57 | @abc.abstractmethod |
| 58 | def transmitted_direction( |
| 59 | self, surface, ray, geometry, container, adjacent |
| 60 | ) -> Tuple[float, float, float]: |
| 61 | """ Returns the transmitted direction vector (ix, iy, iz). |
| 62 | |
| 63 | Parameters |
| 64 | ---------- |
| 65 | surface: Surface |
| 66 | The surface object owned by the material. |
| 67 | ray: Ray |
| 68 | The incident ray. |
| 69 | geometry: Geometry |
| 70 | The geometry being hit. |
| 71 | container: Node |
| 72 | The node containing the incident ray. |
| 73 | adjacent: Node |
| 74 | The node that would contain the ray if transmitted. |
| 75 | """ |
| 76 | pass |
| 77 | |
| 78 | |
| 79 | class NullSurfaceDelegate(SurfaceDelegate): |