Class SynthesizedTrackable<T> | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class SynthesizedTrackable<T>

    Representation for a single typed property in a piece of Synthesized MARS data

    Inheritance
    Object
    SynthesizedTrackable
    SynthesizedTrackable<T>
    SynthesizedMarker
    SynthesizedPlane
    SynthesizedReferencePoint
    Inherited Members
    SynthesizedTrackable.TraitName
    SynthesizedTrackable.Initialize()
    SynthesizedTrackable.Terminate()
    Namespace: Unity.MARS.Data
    Syntax
    public abstract class SynthesizedTrackable<T> : SynthesizedTrackable, ISimulatable, IProvidesTraits<bool>, IProvidesTraits, IUsesMARSTrackableData<T> where T : IMRTrackable
    Type Parameters
    Name Description
    T

    The type of data being represented by this trait

    Methods

    AddSynthData(Int32)

    Declaration
    public override sealed void AddSynthData(int dataID)
    Parameters
    Type Name Description
    Int32 dataID
    Overrides
    SynthesizedTrackable.AddSynthData(Int32)

    GetData()

    Calculates and retrieves the most up-to-date piece of data representing this trait

    Declaration
    public abstract T GetData()
    Returns
    Type Description
    T

    GetProvidedTraits()

    Declaration
    public virtual TraitDefinition[] GetProvidedTraits()
    Returns
    Type Description
    TraitDefinition[]
    Implements
    IProvidesTraits.GetProvidedTraits()

    RemoveSynthData(Int32)

    Declaration
    public override sealed void RemoveSynthData(int dataID)
    Parameters
    Type Name Description
    Int32 dataID
    Overrides
    SynthesizedTrackable.RemoveSynthData(Int32)

    UpdateSynthData()

    Declaration
    public override sealed void UpdateSynthData()
    Overrides
    SynthesizedTrackable.UpdateSynthData()

    Extension Methods

    IUsesMARSTrackableDataGenericMethods.AddOrUpdateData<T>(IUsesMARSTrackableData<T>, T)
    IUsesMARSTrackableDataGenericMethods.AddData<T>(IUsesMARSTrackableData<T>, Int32, T)
    IUsesMARSTrackableDataGenericMethods.RemoveData<T>(IUsesMARSTrackableData<T>, T)
    IUsesMARSTrackableDataGenericMethods.GetIdValue<T>(IUsesMARSTrackableData<T>, Int32)
    IUsesMARSTrackableDataGenericMethods.GetCollection<T>(IUsesMARSTrackableData<T>)
    IUsesMARSTrackableDataGenericMethods.RegisterProcessingJob<T>(IUsesMARSTrackableData<T>, ProcessingJobType)
    IUsesMARSTrackableDataGenericMethods.UnregisterProcessingJob<T>(IUsesMARSTrackableData<T>, ProcessingJobType)
    IProvidesTraitsMethods.AddOrUpdateTrait<T>(IProvidesTraits<T>, Int32, String, T)
    IProvidesTraitsMethods.RemoveTrait<T>(IProvidesTraits<T>, Int32, String)
    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