docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IUsesMARSTrackableDataGenericMethods

    Inheritance
    object
    IUsesMARSTrackableDataGenericMethods
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.MARS.Data
    Assembly: Unity.MARS.Interfaces.dll
    Syntax
    public static class IUsesMARSTrackableDataGenericMethods

    Methods

    AddData<T>(IUsesMARSTrackableData<T>, int, T)

    Declaration
    public static void AddData<T>(this IUsesMARSTrackableData<T> obj, int dataId, T value) where T : IMRTrackable
    Parameters
    Type Name Description
    IUsesMARSTrackableData<T> obj
    int dataId
    T value
    Type Parameters
    Name Description
    T

    AddOrUpdateData<T>(IUsesMARSTrackableData<T>, T)

    Declaration
    public static int AddOrUpdateData<T>(this IUsesMARSTrackableData<T> obj, T value) where T : IMRTrackable
    Parameters
    Type Name Description
    IUsesMARSTrackableData<T> obj
    T value
    Returns
    Type Description
    int
    Type Parameters
    Name Description
    T

    GetCollection<T>(IUsesMARSTrackableData<T>)

    Declaration
    public static ICollection<KeyValuePair<int, T>> GetCollection<T>(this IUsesMARSTrackableData<T> obj) where T : IMRTrackable
    Parameters
    Type Name Description
    IUsesMARSTrackableData<T> obj
    Returns
    Type Description
    ICollection<KeyValuePair<int, T>>
    Type Parameters
    Name Description
    T

    GetIdValue<T>(IUsesMARSTrackableData<T>, int)

    Declaration
    public static T GetIdValue<T>(this IUsesMARSTrackableData<T> obj, int dataId) where T : IMRTrackable
    Parameters
    Type Name Description
    IUsesMARSTrackableData<T> obj
    int dataId
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    RegisterProcessingJob<T>(IUsesMARSTrackableData<T>, ProcessingJobType)

    Declaration
    public static List<KeyValuePair<int, T>> RegisterProcessingJob<T>(this IUsesMARSTrackableData<T> obj, ProcessingJobType jobType) where T : IMRTrackable
    Parameters
    Type Name Description
    IUsesMARSTrackableData<T> obj
    ProcessingJobType jobType
    Returns
    Type Description
    List<KeyValuePair<int, T>>
    Type Parameters
    Name Description
    T

    RemoveData<T>(IUsesMARSTrackableData<T>, T)

    Declaration
    public static int RemoveData<T>(this IUsesMARSTrackableData<T> obj, T value) where T : IMRTrackable
    Parameters
    Type Name Description
    IUsesMARSTrackableData<T> obj
    T value
    Returns
    Type Description
    int
    Type Parameters
    Name Description
    T

    UnregisterProcessingJob<T>(IUsesMARSTrackableData<T>, ProcessingJobType)

    Declaration
    public static int UnregisterProcessingJob<T>(this IUsesMARSTrackableData<T> obj, ProcessingJobType jobType) where T : IMRTrackable
    Parameters
    Type Name Description
    IUsesMARSTrackableData<T> obj
    ProcessingJobType jobType
    Returns
    Type Description
    int
    Type Parameters
    Name Description
    T
    In This Article
    Back to top
    Copyright © 2025 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)