WorldToObject4x3

Description

Returns the world-to-object transformation matrix (4x3).

Signature

matrix<float, 4, 3> WorldToObject4x3();

Return value

4x3 matrix transforming from world to object space

Remarks

Transposed version of WorldToObject3x4

Availability and Requirements

Defined for the following targets:

hlsl

Available in stages: intersection, closesthit, anyhit.

glsl

Available in stages: intersection, closesthit, anyhit.

spirv

Available in stages: intersection, closesthit, anyhit.

Requires capability: spvRayTracingKHR.