docs.unity3d.com
    Show / Hide Table of Contents

    Class ElevationRelation

    Inheritance
    Object
    Object
    Component
    Behaviour
    MonoBehaviour
    ConditionBase
    RelationBase
    Relation
    Relation<Pose>
    NonBinaryRelation<Single, Pose>
    BoundedFloatRelation<Pose>
    ElevationRelation
    Inherited Members
    NonBinaryRelation<Single, Pose>.m_MinBounded
    NonBinaryRelation<Single, Pose>.m_MaxBounded
    NonBinaryRelation<Single, Pose>.m_Minimum
    NonBinaryRelation<Single, Pose>.m_Maximum
    NonBinaryRelation<Single, Pose>.m_RatingConfig
    NonBinaryRelation<Single, Pose>.noMinMaxWarning
    NonBinaryRelation<Single, Pose>.smallMinMaxRangeWarning
    NonBinaryRelation<Single, Pose>.ratingConfig
    NonBinaryRelation<Single, Pose>.minBounded
    NonBinaryRelation<Single, Pose>.maxBounded
    NonBinaryRelation<Single, Pose>.minimum
    NonBinaryRelation<Single, Pose>.maximum
    NonBinaryRelation<Single, Pose>.OnRatingConfigChange()
    Relation<Pose>.ConformToData(TraitDataSnapshot, TraitDataSnapshot)
    Relation.child1TraitName
    Relation.child2TraitName
    RelationBase.m_Child1
    RelationBase.m_Child2
    RelationBase.child1
    RelationBase.child2
    RelationBase.child1Transform
    RelationBase.child2Transform
    RelationBase.child1Proxy
    RelationBase.child2Proxy
    RelationBase.proxyGroup
    RelationBase.ResetChildrenReferences()
    ConditionBase.proxy
    ConditionBase.drawWarning
    ConditionBase.OnValidate()
    MonoBehaviour.IsInvoking()
    MonoBehaviour.CancelInvoke()
    MonoBehaviour.Invoke(String, Single)
    MonoBehaviour.InvokeRepeating(String, Single, Single)
    MonoBehaviour.CancelInvoke(String)
    MonoBehaviour.IsInvoking(String)
    MonoBehaviour.StartCoroutine(String)
    MonoBehaviour.StartCoroutine(String, Object)
    MonoBehaviour.StartCoroutine(IEnumerator)
    MonoBehaviour.StartCoroutine_Auto(IEnumerator)
    MonoBehaviour.StopCoroutine(IEnumerator)
    MonoBehaviour.StopCoroutine(Coroutine)
    MonoBehaviour.StopCoroutine(String)
    MonoBehaviour.StopAllCoroutines()
    MonoBehaviour.print(Object)
    MonoBehaviour.useGUILayout
    MonoBehaviour.runInEditMode
    Behaviour.enabled
    Behaviour.isActiveAndEnabled
    Component.GetComponent(Type)
    Component.GetComponent<T>()
    Component.TryGetComponent(Type, Component)
    Component.TryGetComponent<T>(T)
    Component.GetComponent(String)
    Component.GetComponentInChildren(Type, Boolean)
    Component.GetComponentInChildren(Type)
    Component.GetComponentInChildren<T>(Boolean)
    Component.GetComponentInChildren<T>()
    Component.GetComponentsInChildren(Type, Boolean)
    Component.GetComponentsInChildren(Type)
    Component.GetComponentsInChildren<T>(Boolean)
    Component.GetComponentsInChildren<T>(Boolean, List<T>)
    Component.GetComponentsInChildren<T>()
    Component.GetComponentsInChildren<T>(List<T>)
    Component.GetComponentInParent(Type)
    Component.GetComponentInParent<T>()
    Component.GetComponentsInParent(Type, Boolean)
    Component.GetComponentsInParent(Type)
    Component.GetComponentsInParent<T>(Boolean)
    Component.GetComponentsInParent<T>(Boolean, List<T>)
    Component.GetComponentsInParent<T>()
    Component.GetComponents(Type)
    Component.GetComponents(Type, List<Component>)
    Component.GetComponents<T>(List<T>)
    Component.GetComponents<T>()
    Component.CompareTag(String)
    Component.SendMessageUpwards(String, Object, SendMessageOptions)
    Component.SendMessageUpwards(String, Object)
    Component.SendMessageUpwards(String)
    Component.SendMessageUpwards(String, SendMessageOptions)
    Component.SendMessage(String, Object)
    Component.SendMessage(String)
    Component.SendMessage(String, Object, SendMessageOptions)
    Component.SendMessage(String, SendMessageOptions)
    Component.BroadcastMessage(String, Object, SendMessageOptions)
    Component.BroadcastMessage(String, Object)
    Component.BroadcastMessage(String)
    Component.BroadcastMessage(String, SendMessageOptions)
    Component.transform
    Component.gameObject
    Component.tag
    Component.rigidbody
    Component.rigidbody2D
    Component.camera
    Component.light
    Component.animation
    Component.constantForce
    Component.renderer
    Component.audio
    Component.networkView
    Component.collider
    Component.collider2D
    Component.hingeJoint
    Component.particleSystem
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    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, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: Unity.MARS.Conditions
    Syntax
    [MonoBehaviourComponentMenu(typeof(ElevationRelation), "Relation/Elevation")]
    [CreateFromDataOptions(1, true)]
    [MovedFrom("Unity.MARS")]
    public class ElevationRelation : BoundedFloatRelation<Pose>, ISimulatable, IRelation<Pose>, IRelation, IRelationBase, IConditionBase, IRequiresTraits<Pose>, IRequiresTraits, ICreateFromDataPair, IConfigurableMatchRating, IRangeBoundingOptions<float>, IRangeBoundingOptions, ISpatialCondition, IUsesCameraOffset, IFunctionalitySubscriber<IProvidesCameraOffset>, IFunctionalitySubscriber, IAdjustableComponent

    Properties

    Adjusting

    Declaration
    public bool Adjusting { get; set; }
    Property Value
    Type Description
    Boolean
    Implements
    IAdjustableComponent.Adjusting

    provider

    Declaration
    public IProvidesCameraOffset provider { get; set; }
    Property Value
    Type Description
    IProvidesCameraOffset
    Implements
    IFunctionalitySubscriber<TProvider>.provider

    Methods

    FormatDataString(TraitDataSnapshot, TraitDataSnapshot)

    Declaration
    public override string FormatDataString(TraitDataSnapshot child1Data, TraitDataSnapshot child2Data)
    Parameters
    Type Name Description
    TraitDataSnapshot child1Data
    TraitDataSnapshot child2Data
    Returns
    Type Description
    String
    Overrides
    Unity.MARS.Relation<UnityEngine.Pose>.FormatDataString(Unity.MARS.Data.TraitDataSnapshot, Unity.MARS.Data.TraitDataSnapshot)

    GetRequiredTraits()

    Get the TraitRequirements that are required by this object

    Declaration
    public override TraitRequirement[] GetRequiredTraits()
    Returns
    Type Description
    TraitRequirement[]

    The required traits

    Overrides
    Relation.GetRequiredTraits()

    OnEnable()

    Declaration
    public void OnEnable()

    OnRatingConfigChange()

    Declaration
    public override void OnRatingConfigChange()
    Overrides
    Unity.MARS.Conditions.NonBinaryRelation<System.Single, UnityEngine.Pose>.OnRatingConfigChange()

    OptimizeForData(TraitDataSnapshot, TraitDataSnapshot)

    Declaration
    public override void OptimizeForData(TraitDataSnapshot child1Data, TraitDataSnapshot child2Data)
    Parameters
    Type Name Description
    TraitDataSnapshot child1Data
    TraitDataSnapshot child2Data
    Overrides
    Unity.MARS.Relation<UnityEngine.Pose>.OptimizeForData(Unity.MARS.Data.TraitDataSnapshot, Unity.MARS.Data.TraitDataSnapshot)

    RateDataMatch(ref Pose, ref Pose)

    Declaration
    public override float RateDataMatch(ref Pose child1Data, ref Pose child2Data)
    Parameters
    Type Name Description
    Pose child1Data
    Pose child2Data
    Returns
    Type Description
    Single
    Overrides
    Unity.MARS.Relation<UnityEngine.Pose>.RateDataMatch(UnityEngine.Pose, UnityEngine.Pose)

    Events

    AdjustingChanged

    Declaration
    public event Action<bool> AdjustingChanged
    Event Type
    Type Description
    Action<Boolean>
    Implements
    IAdjustableComponent.AdjustingChanged

    Extension Methods

    IRequiresTraitsMethods.TryGetTraitValue<T>(IRequiresTraits<T>, Int32, String, out T)
    IRequiresTraitsMethods.TryGetAllTraitsWithSemanticTag<T>(IRequiresTraits<T>, String, String, out Dictionary<Int32, T>)
    IRequiresTraitsMethods.ForEachContextIdWithTrait<T>(IRequiresTraits<T>, String, Action<Int32>)
    IUsesCameraOffsetMethods.GetCameraPositionOffset(IUsesCameraOffset)
    IUsesCameraOffsetMethods.SetCameraPositionOffset(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.GetCameraYawOffset(IUsesCameraOffset)
    IUsesCameraOffsetMethods.SetCameraYawOffset(IUsesCameraOffset, Single)
    IUsesCameraOffsetMethods.GetCameraScale(IUsesCameraOffset)
    IUsesCameraOffsetMethods.SetCameraScale(IUsesCameraOffset, Single)
    IUsesCameraOffsetMethods.GetCameraOffsetMatrix(IUsesCameraOffset)
    IUsesCameraOffsetMethods.ApplyOffsetToPose(IUsesCameraOffset, Pose)
    IUsesCameraOffsetMethods.ApplyInverseOffsetToPose(IUsesCameraOffset, Pose)
    IUsesCameraOffsetMethods.ApplyOffsetToPosition(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.ApplyInverseOffsetToPosition(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.ApplyOffsetToDirection(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.ApplyInverseOffsetToDirection(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.ApplyOffsetToRotation(IUsesCameraOffset, Quaternion)
    IUsesCameraOffsetMethods.ApplyInverseOffsetToRotation(IUsesCameraOffset, Quaternion)
    CameraOffsetExtensions.PoseToCameraSpace(IUsesCameraOffset, Pose, Vector3)
    IRelationGenericMethods.PassesRelation<T>(IRelation<T>, ref T, ref T)
    In This Article
    • Properties
      • Adjusting
      • provider
    • Methods
      • FormatDataString(TraitDataSnapshot, TraitDataSnapshot)
      • GetRequiredTraits()
      • OnEnable()
      • OnRatingConfigChange()
      • OptimizeForData(TraitDataSnapshot, TraitDataSnapshot)
      • RateDataMatch(ref Pose, ref Pose)
    • Events
      • AdjustingChanged
    • Extension Methods
    Back to top
    Terms of use
    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