WorldToObject3x4¶
Description¶
Returns the world-to-object transformation matrix (3x4).
Signature¶
matrix<float, 3, 4> WorldToObject3x4();
Return value¶
3x4 matrix transforming from world to object space
Remarks¶
Inverse of the object-to-world transform
Availability and Requirements¶
Defined for the following targets:
hlsl¶
Available in stages: intersection, closesthit, anyhit.
glsl¶
Available in stages: intersection, closesthit, anyhit.
cuda¶
Available in stages: intersection, closesthit, anyhit.
spirv¶
Available in stages: intersection, closesthit, anyhit.
Requires capability: spvRayTracingKHR.