docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class NativeReferenceUnsafeUtility

    Provides extension methods for NativeReference.

    Inheritance
    object
    NativeReferenceUnsafeUtility
    Namespace: Unity.Collections.LowLevel.Unsafe
    Assembly: solution.dll
    Syntax
    public static class NativeReferenceUnsafeUtility

    Methods

    Name Description
    GetUnsafePtrWithoutChecks<T>(NativeReference<T>)

    Returns a pointer to this reference's stored value.

    GetUnsafePtr<T>(NativeReference<T>)

    Returns a pointer to this reference's stored value.

    GetUnsafeReadOnlyPtr<T>(NativeReference<T>)

    Returns a pointer to this reference's stored value.

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