docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MemoryRef<T>

    A memory reference allows a ref value to be stored in memory and later to be converted back into its ref value.

    Namespace: Unity.Kinematica
    Assembly: solution.dll
    Syntax
    public struct MemoryRef<T> where T : struct
    Type Parameters
    Name Description
    T

    Constructors

    Name Description
    MemoryRef(ref T)

    Constructs a new memory reference from a ref value.

    Properties

    Name Description
    IsValid

    Determines if the given memory reference is valid or not.

    Null

    Invalid memory reference.

    Ref

    Retrieves the original ref value from the memory reference.

    Methods

    Name Description
    Create(ref T)

    Constructs a new memory reference from a ref value.

    Equals(ref T)
    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)