RayQuery<rayFlagsGeneric:uint>.WorldRayDirection
Description
Gets the world-space direction of the ray.
Signature
vector<float, 3> RayQuery<rayFlagsGeneric:uint>.WorldRayDirection();
Return value
Normalized direction vector in world space
Availability and Requirements
Defined for the following targets:
hlsl
Available in all stages.
glsl
Available in all stages.
spirv
Available in all stages.
Requires capability: spvRayQueryKHR
.