ドキュメント

Unity Engine

Unity Engine

Using unmanaged API for transform operations

Use the TransformHandle API as an alternative to the Transform API.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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