Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Using unmanaged API for transform operations

Use the TransformHandle API as an alternative to the Transform API.
Read time 1 minuteLast updated 5 days ago

The
TransformHandle
API is an alternative to the
Transform
API. Unlike the
Transform
component (a managed class),
TransformHandle
is an unmanaged
struct
, which makes it fully compatible with the Burst compiler.

Page

Description

Introduction to TransformHandle APIIntroduction to the
TransformHandle
API and the key differences from the
Transform
API.
TransformHandle API code examplesCode examples that demonstrate the difference between
Transform
and
TransformHandle
API.
Using TransformHandle with BurstThe
TransformHandle
API is fully compatible with the Burst compiler, which lets you optimize your code.

Additional resources