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
Denne nettleseren støttes ikke lenger.
Oppgrader til Microsoft Edge for å dra nytte av de nyeste funksjonene, sikkerhetsoppdateringene og den nyeste tekniske støtten.
The world-space origin of the current ray.
float3 WorldRayOrigin();
This function can be called from the following raytracing shader types: