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