docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct TransformTypeHandle

    A handle to the TransformRef component type, used to access an ArchetypeChunk's transform component data in a job.

    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    [NativeContainer]
    [NativeContainerSupportsMinMaxWriteRestriction]
    public struct TransformTypeHandle
    Remarks

    Passing a type handle to a job automatically registers the job as a reader or writer of that type, which allows the DOTS safety system to detect potential race conditions between concurrent jobs which access the same component type.

    To create a TransformTypeHandle, use ComponentSystemBase.GetTransformTypeHandle.

    If the component type is not known at compile time, use DynamicComponentTypeHandle.

    Properties

    Name Description
    GlobalSystemVersion

    The global system version for which this handle is valid.

    IsReadOnly

    Reports whether this type handle was created in read-only mode.

    Methods

    Name Description
    ToFixedString()

    Returns the formatted FixedString "TransformTypeHandle".

    Update(SystemBase)

    When a TransformTypeHandle is cached by a system across multiple system updates, calling this function inside the system's OnUpdate() method performs the minimal incremental updates necessary to make the type handle safe to use.

    Update(ref SystemState)

    When a TransformTypeHandle is cached by a system across multiple system updates, calling this function inside the system's OnUpdate() method performs the minimal incremental updates necessary to make the type handle safe to use.

    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)