RayQuery<uint rayFlagsGeneric>.CandidateObjectToWorld3x4

Description

Gets the object-to-world transform as a 3x4 matrix.

Signature

matrix<float, 3, 4> RayQuery<uint rayFlagsGeneric>.CandidateObjectToWorld3x4();

Return value

3x4 matrix transforming from object to world space

Remarks

Available for both candidate and committed hits

Availability and Requirements

Defined for the following targets:

hlsl

Available in all stages.

glsl

Available in all stages.

metal

Available in all stages.

spirv

Available in all stages.

Requires capability: spvRayQueryKHR.