HitObject.GetObjectToWorld3x4

Description

Returns the 3x4 object-to-world transform matrix. Valid if the hit object represents a hit. DXR 1.3 only.

Signature

matrix<float, 3, 4> HitObject.GetObjectToWorld3x4();

Availability and Requirements

Defined for the following targets:

hlsl

Available in stages: raygen, closesthit, miss.

Requires capability: ser_hlsl_native.