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