WorldRayOrigin
The world-space origin of the current ray.
Syntax
float3 WorldRayOrigin();
Remarks
This function can be called from the following raytracing shader types:
See also
Den här webbläsaren stöds inte längre.
Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk support.
The world-space origin of the current ray.
float3 WorldRayOrigin();
This function can be called from the following raytracing shader types: