RayQuery<rayFlagsGeneric:uint>.CandidateRayObjectRayDirection
Description
Gets the ray direction in object space for the candidate hit.
Signature
vector<float, 3> RayQuery<rayFlagsGeneric:uint>.CandidateRayObjectRayDirection();
Return value
Direction vector transformed into instance’s object space
Remarks
GLSL/SPIRV only
Availability and Requirements
Defined for the following targets:
glsl
Available in all stages.
spirv
Available in all stages.
Requires capability: spvRayQueryKHR
.