docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Update

    Update(XRSessionUpdateParams)

    Perform any per-frame update logic here.

    Declaration
    public virtual void Update(XRSessionUpdateParams updateParams)
    Parameters
    Type Name Description
    XRSessionUpdateParams updateParams

    Parameters about the current state that may be needed to inform the session.

    Update(XRSessionUpdateParams, Configuration)

    Perform any per-frame update logic here. The session should use the configuration indicated by configuration.descriptor.identifier.descriptor.identifier, which should be one of the ones returned by GetConfigurationDescriptors(Allocator).

    Declaration
    public virtual void Update(XRSessionUpdateParams updateParams, Configuration configuration)
    Parameters
    Type Name Description
    XRSessionUpdateParams updateParams

    Parameters about the current state that might be needed to inform the session.

    Configuration configuration

    The configuration the session should use.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023