docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class LocomotionVignetteProvider

    Represents an ITunnelingVignetteProvider with a LocomotionProvider.

    Inheritance
    object
    LocomotionVignetteProvider
    Implements
    ITunnelingVignetteProvider
    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
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class LocomotionVignetteProvider : ITunnelingVignetteProvider

    Properties

    Name Description
    enabled

    Whether to enable this LocomotionProvider to trigger the tunneling vignette effects.

    locomotionProvider

    The LocomotionProvider to trigger the tunneling vignette effects based on its LocomotionState.

    overrideDefaultParameters

    If enabled, Unity will override the value of defaultParameters and instead use the customized VignetteParameters defined by this class.

    overrideParameters

    The VignetteParameters that this LocomotionVignetteProvider uses to control the vignette when the property to override defaultParameters is enabled.

    vignetteParameters

    Represents the parameter values that this provider wants to set for the tunneling vignette effect. A value of null indicates the defaultParameters should be used.

    In This Article
    Back to top
    Copyright © 2023 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)