docs.unity3d.com
    目次を表示する/隠す

    Class FallbackComposite<TValue>

    Base class for a composite that returns a single value computed from an ordered list of bindings.

    Inheritance
    Object
    InputBindingComposite
    InputBindingComposite<TValue>
    FallbackComposite<TValue>
    QuaternionFallbackComposite
    Vector3FallbackComposite
    Inherited Members
    InputBindingComposite<TValue>.ReadValue(InputBindingCompositeContext)
    InputBindingComposite<TValue>.ReadValue(InputBindingCompositeContext, Void*, Int32)
    InputBindingComposite<TValue>.ReadValueAsObject(InputBindingCompositeContext)
    InputBindingComposite<TValue>.valueType
    InputBindingComposite<TValue>.valueSizeInBytes
    InputBindingComposite.EvaluateMagnitude(InputBindingCompositeContext)
    InputBindingComposite.FinishSetup(InputBindingCompositeContext)
    InputBindingComposite.GetExpectedControlLayoutName(String, String)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Composites
    Syntax
    [Preserve]
    public abstract class FallbackComposite<TValue> : InputBindingComposite<TValue> where TValue : struct
    Type Parameters
    Name Description
    TValue

    Type of value returned by the composite.

    Remarks

    This composite allows for defining multiple binding paths, but unlike a Value action with multiple bindings which uses control magnitude to select the active control, this composite uses an ordered priority list of bindings. If the first input binding is not bound to an input control, it falls back to try the second input binding, and so on.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)