docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetDynamicSharedComponentDataAddress

    GetDynamicSharedComponentDataAddress(ref DynamicSharedComponentTypeHandle)

    Provides an unsafe interface to shared components stored in this chunk.

    Declaration
    public readonly void* GetDynamicSharedComponentDataAddress(ref DynamicSharedComponentTypeHandle typeHandle)
    Parameters
    Type Name Description
    DynamicSharedComponentTypeHandle typeHandle

    An object containing type and job safety information. To create this object, call GetDynamicSharedComponentTypeHandle(ComponentType).

    Returns
    Type Description
    void*

    A pointer to the shared component value.

    GetDynamicSharedComponentDataAddress(DynamicSharedComponentTypeHandle)

    Obsolete. Use GetDynamicSharedComponentDataAddress(ref DynamicSharedComponentTypeHandle) instead.

    Declaration
    [Obsolete("The typeHandle argument should now be passed by ref. (RemovedAfter Entities 1.0)", false)]
    public readonly void* GetDynamicSharedComponentDataAddress(DynamicSharedComponentTypeHandle typeHandle)
    Parameters
    Type Name Description
    DynamicSharedComponentTypeHandle typeHandle

    An object containing type and job safety information. To create this object, call GetDynamicSharedComponentTypeHandle(ComponentType).

    Returns
    Type Description
    void*

    A pointer to the shared component value.

    In This Article
    Back to top
    Copyright © 2024 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)