--- layout: stdlib-reference --- # ObjectToWorld3x4 ## Description Returns the object-to-world transformation matrix (3x4). ## Signature
matrix<float, 3, 4> ObjectToWorld3x4();
## Return value
3x4 matrix transforming from object to world space
## Remarks
Includes position and orientation of the current instance
## Availability and Requirements
Defined for the following targets:
#### hlsl
Available in stages: `intersection`, `closesthit`, `anyhit`.
#### glsl
Available in stages: `intersection`, `closesthit`, `anyhit`.
#### cuda
Available in stages: `intersection`, `closesthit`, `anyhit`.
#### spirv
Available in stages: `intersection`, `closesthit`, `anyhit`.
Requires capability: `spvRayTracingKHR`.