#include <c4d_shader.h>
公共成员函数 |
|
Ray () |
Public Attributes |
|
Vector64 | p |
Vector64 | v |
Float | ior |
向量 | pp [3] |
向量 | vv [3] |
向量 | transport |
Ray | ( | ) |
Default constructor.
Vector64 p |
[READ WRITE] The rays position.
Vector64 v |
[READ WRITE] The rays direction vector.
Float ior |
[READ WRITE] The current index of refraction.
向量 pp[3] |
[READ WRITE] 3 additional ray points for MIP-Mapping.
P
is the pixel origin or where the ray was generated.
向量 vv[3] |
[READ WRITE] 3 additional ray vectors for MIP-Mapping.
P
is the pixel origin or where the ray was generated.
向量 transport |
[READ ONLY] The current ray intensity (for special shadow calculation). A ray starts with intensity 1.0 .