docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MARSMemoryOptions

    Memory management options for the MARS database.

    Inheritance
    object
    Object
    ScriptableObject
    ScriptableSettingsBase
    ScriptableSettingsBase<MARSMemoryOptions>
    ScriptableSettings<MARSMemoryOptions>
    MARSMemoryOptions
    Inherited Members
    ScriptableSettings<MARSMemoryOptions>.instance
    ScriptableSettingsBase<MARSMemoryOptions>.k_HasCustomPath
    ScriptableSettingsBase<MARSMemoryOptions>.s_Instance
    ScriptableSettingsBase<MARSMemoryOptions>.Save(string)
    ScriptableSettingsBase<MARSMemoryOptions>.GetFilePath()
    ScriptableSettingsBase.k_PathExceptionMessage
    ScriptableSettingsBase.GetInstanceByType(Type)
    ScriptableSettingsBase.OnLoaded()
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.InstantiateAsync<T>(T)
    Object.InstantiateAsync<T>(T, Transform)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int)
    Object.InstantiateAsync<T>(T, int, Transform)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, CancellationToken)
    Object.InstantiateAsync<T>(T, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, InstantiateParameters, CancellationToken)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Scene)
    Object.Instantiate<T>(T, InstantiateParameters)
    Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.MARS.Settings
    Assembly: Unity.MARS.dll
    Syntax
    [ScriptableSettingsPath("Assets/MARS/Settings")]
    [MovedFrom("Unity.MARS.Data")]
    public class MARSMemoryOptions : ScriptableSettings<MARSMemoryOptions>

    Fields

    DataDirtyStatesCapacity

    The starting capacity of the Dictionary instances that track data dirty states

    Declaration
    [Tooltip("The starting capacity of the Dictionary instances that track data dirty states")]
    public int DataDirtyStatesCapacity
    Field Value
    Type Description
    int

    DataDirtyStatesPreAllocationCount

    How many 'dirty state tracking' collection to allocate when the database loads

    Declaration
    [Tooltip("How many 'dirty state tracking' collection to allocate when the database loads")]
    public int DataDirtyStatesPreAllocationCount
    Field Value
    Type Description
    int

    DataUseTrackingCapacity

    The starting capacity of all collections in the database used to track data ownership

    Declaration
    [Tooltip("The starting capacity of all collections in the database used to track data ownership")]
    public int DataUseTrackingCapacity
    Field Value
    Type Description
    int

    MatchIdHashSetCapacity

    The starting capacity of the HashSet instances used for match set intersection

    Declaration
    [Tooltip("The starting capacity of the HashSet instances used for match set intersection")]
    public int MatchIdHashSetCapacity
    Field Value
    Type Description
    int

    MatchIdHashSetPreAllocationCount

    How many match set instances to pre-allocate when the database loads

    Declaration
    [Tooltip("How many match set instances to pre-allocate when the database loads")]
    public int MatchIdHashSetPreAllocationCount
    Field Value
    Type Description
    int

    QueryDataCapacity

    The starting capacity of all collections used to store per-query match data

    Declaration
    [Tooltip("The starting capacity of all collections used to store per-query match data")]
    public int QueryDataCapacity
    Field Value
    Type Description
    int

    RatingDictionaryCapacity

    The starting capacity of the Dictionary instances used for match ratings

    Declaration
    [Tooltip("The starting capacity of the Dictionary instances used for match ratings")]
    public int RatingDictionaryCapacity
    Field Value
    Type Description
    int

    ResultDictionaryCapacity

    The starting capacity of the Dictionary instances used in QueryResult

    Declaration
    [Tooltip("The starting capacity of the Dictionary instances used in QueryResults")]
    public int ResultDictionaryCapacity
    Field Value
    Type Description
    int

    SetMemberCapacityMultiplier

    The number of slots in the Set member data to pre-allocate for every slot in the Set data

    Declaration
    [Tooltip("The number of slots in the Set member data to pre-allocate for every slot in the Set data")]
    public int SetMemberCapacityMultiplier
    Field Value
    Type Description
    int

    TraitDictionaryListCapacity

    The starting capacity of the Lists of trait value collections used at the start of the pipeline

    Declaration
    [Tooltip("The starting capacity of the Lists of trait value collections used at the start of the pipeline")]
    public int TraitDictionaryListCapacity
    Field Value
    Type Description
    int
    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)