#include <c4d_shader.h>
A structure for surface intersections.
Public Member Functions | |
| SurfaceIntersection () | |
| SurfaceIntersection (_DONTCONSTRUCT dc) | |
Public Attributes | |
| const RayObject * | op |
| RayHitID | id |
| Vector64 | p |
| Vector64 | n |
| Int32 | sid |
| Float | par_u |
| Float | par_v |
Default constructor.
|
explicit |
Creates an uninitialized surface intersection structure.
| [in] | dc | Dummy argument. Pass DC. |
| const RayObject* op |
Intersected object.
| Vector64 p |
Point.
| Vector64 n |
Normal.
| Int32 sid |
Sub-ID (only used for SPD).
| Float par_u |
Barycentric U coordinate (only used for SPD).
| Float par_v |
Barycentric V coordinate (only used for SPD).