Transform broadcasting reference
Find the settings and types you can use to configure transform broadcasting.
This reference covers the types TfBroadcasterComponent uses to build and publish transform trees. To publish a transform hierarchy, refer to Publish your scene's transform hierarchy.
TransformTree
TransformTree traverses the GameObject hierarchy starting from the root and captures each frame's position and orientation. TransformTree.ConvertToMessage converts the captured tree into a TFMessageMsg that you can publish.
TransformTree timestamps each transform frame using Clock.Now. Refer to Sync simulation time.
| Item | Description | |
|---|---|---|
TransformTree |
Generic class parameterized on the joint type (Transform or ArticulationBody). Frame names are derived from the GameObject hierarchy. |
|
TransformTree.ConvertToMessage |
Converts the captured tree into a TFMessageMsg. |
11 |
Note
The internal traversal and frame naming behavior of TransformTree isn't guaranteed to stay the same between versions.
Distributed rendering
When com.unity.simulation.distributedrendering is present and distribution is enabled, TfBroadcasterComponent decorates its FixedUpdate method with [DistributableMethod(invocationMode: InvocationMode.FixedUpdate)]. This lets the distributed rendering framework coordinate transform publishing across nodes.