HitObject.GetWorldToObject3x4
Description
Returns the 3x4 world-to-object transform matrix. Valid if the hit object represents a hit. DXR 1.3 only.
Signature
matrix<float, 3, 4> HitObject.GetWorldToObject3x4();
Availability and Requirements
Defined for the following targets:
hlsl
Available in stages: raygen, closesthit, miss.
Requires capability: ser_hlsl_native.