#include <c4d_shader.h>
A structure for surface intersections.
公共成员函数 |
|
SurfaceIntersection () | |
SurfaceIntersection ( _DONTCONSTRUCT dc) |
Public Attributes |
|
const RayObject * | op |
RayHitID | id |
Vector64 | p |
Vector64 | n |
Int32 | sid |
Float | par_u |
Float | par_v |
SurfaceIntersection | ( | ) |
Default constructor.
|
explicit |
Creates an uninitialized surface intersection structure.
[in] | dc | Dummy argument. Pass DC . |
const RayObject * op |
Intersected object.
RayHitID id |
Ray hit identity.
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).