docs.unity3d.com
    Show / Hide Table of Contents

    Class AudioAffordanceTheme

    Audio clip affordance theme.

    Inheritance
    Object
    AudioAffordanceTheme
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.Interaction.Toolkit.AffordanceSystem.Theme.Audio
    Syntax
    [Serializable]
    public class AudioAffordanceTheme
    Remarks

    It does not support state tweening so it is simplified and does not inherit from BaseAffordanceTheme<T>.

    Constructors

    AudioAffordanceTheme()

    Initializes and returns an instance of AudioAffordanceTheme.

    Declaration
    protected AudioAffordanceTheme()

    Methods

    GetAffordanceThemeDataForIndex(Byte)

    Gets the affordance theme data for the affordance state.

    Declaration
    public AudioAffordanceThemeData GetAffordanceThemeDataForIndex(byte stateIndex)
    Parameters
    Type Name Description
    Byte stateIndex

    The affordance state index to get the theme data for.

    Returns
    Type Description
    AudioAffordanceThemeData

    Returns the affordance theme data for the affordance state, or null if there is no theme data associated with the state.

    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