Ray Struct Reference

#include <c4d_shader.h>

公共成员函数

  Ray ()

Public Attributes

Vector64   p
Vector64   v
Float   ior
向量   pp [3]
向量   vv [3]
向量   transport

构造函数 & 析构函数文档编制

◆  Ray()

Ray ( )

Default constructor.

Member Data Documentation

◆  p

Vector64 p

[READ WRITE] The rays position.

◆  v

Vector64 v

[READ WRITE] The rays direction vector.

◆  ior

Float ior

[READ WRITE] The current index of refraction.

◆  pp

向量 pp[3]

[READ WRITE] 3 additional ray points for MIP-Mapping.

注意
P is the pixel origin or where the ray was generated.
0/1/2 are indices into the pp and vv arrays.
The square is one screen pixel wide in X and Y direction.

◆  vv

向量 vv[3]

[READ WRITE] 3 additional ray vectors for MIP-Mapping.

注意
P is the pixel origin or where the ray was generated.
0/1/2 are indices into the pp and vv arrays.
The square is one screen pixel wide in X and Y direction.

◆  transport

向量 transport

[READ ONLY] The current ray intensity (for special shadow calculation). A ray starts with intensity 1.0 .