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