docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TransformTree<T>

    A concrete TransformTree node whose inclusion criterion is the presence of a T Component on a GameObject.

    Inheritance
    object
    TransformTree
    TransformTree<T>
    Inherited Members
    TransformTree.TimeStamp
    TransformTree.IsRoot
    TransformTree.Children
    TransformTree.IsALeafNode
    TransformTree.m_SceneObject
    TransformTree.m_Frame
    TransformTree.m_Parent
    TransformTree.Transform
    TransformTree.ConvertToMessage(TransformTree)
    TransformTree.GetTimeMsg(double)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.SimulationPro.Foundation
    Assembly: Unity.SimulationPro.Foundation.dll
    Syntax
    public class TransformTree<T> : TransformTree where T : Component
    Type Parameters
    Name Description
    T

    The Component type used to identify transform-tree participants. Typical values are ArticulationBody or Transform.

    Constructors

    TransformTree(GameObject, string)

    Constructs the transform tree rooted at rootGameObject, recursively adding child nodes for every descendant GameObject that carries a T component.

    Declaration
    public TransformTree(GameObject rootGameObject, string parent = null)
    Parameters
    Type Name Description
    GameObject rootGameObject

    The root GameObject of the hierarchy to represent.

    string parent

    The ROS frame ID of this node's parent frame, or null to treat this node as the tree root (anchored to the global frame).

    Methods

    PropagateTimeStamp(double)

    Updates the timestamp on this node and all descendant nodes.

    Declaration
    public override void PropagateTimeStamp(double newTime)
    Parameters
    Type Name Description
    double newTime

    The new simulation time in seconds, typically sourced from Now.

    Overrides
    TransformTree.PropagateTimeStamp(double)
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)