Class UnsafeUtilityEx | Collections | 0.6.0-preview.9
docs.unity3d.com
    Show / Hide Table of Contents

    Class UnsafeUtilityEx

    Inheritance
    Object
    UnsafeUtilityEx
    Namespace: Unity.Collections.LowLevel.Unsafe
    Syntax
    public static class UnsafeUtilityEx

    Methods

    ArrayElementAsRef<T>(Void*, Int32)

    Declaration
    public static T ArrayElementAsRef<T>(void *ptr, int index)
        where T : struct
    Parameters
    Type Name Description
    Void* ptr
    Int32 index
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    As<U, T>(ref U)

    Declaration
    public static T As<U, T>(ref U from)
    Parameters
    Type Name Description
    U from
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    U
    T

    AsRef<T>(Void*)

    Declaration
    public static T AsRef<T>(void *ptr)
        where T : struct
    Parameters
    Type Name Description
    Void* ptr
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023