ObjectToWorld4x3

Description

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

Signature

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

Return value

4x3 matrix transforming from object to world space

Remarks

Transposed version of ObjectToWorld3x4

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.