docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetChanges

    GetChanges(XREnvironmentProbe, Allocator)

    Get changes to environment probes (added, updated, and removed) since the last call to this method.

    Declaration
    public abstract TrackableChanges<XREnvironmentProbe> GetChanges(XREnvironmentProbe defaultEnvironmentProbe, Allocator allocator)
    Parameters
    Type Name Description
    XREnvironmentProbe defaultEnvironmentProbe

    A default value for environment probes. Implementations should first fill their output arrays with copies of this value, then copy in their own. See the NativeCopyUtility. This allows additional fields to be added to the XREnvironmentProbe in the future.

    Allocator allocator

    The allocator to use for the NativeArrays in the returned TrackableChanges<T>.

    Returns
    Type Description
    TrackableChanges<XREnvironmentProbe>

    The environment probes which have been added, updated, and removed since the last call to this method.

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