RayQuery<uint rayFlagsGeneric>.CandidateRayObjectToWorld¶
Description¶
Gets the object-to-world transform matrix for the candidate hit instance.
Signature¶
matrix<float, 4, 3> RayQuery<uint rayFlagsGeneric>.CandidateRayObjectToWorld();
Return value¶
4x3 matrix transforming from object to world 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.