docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Register

    Register(XREnvironmentProbeSubsystemCinfo)

    Registers a subsystem implementation based on the given subystem parameters.

    Declaration
    public static bool Register(XREnvironmentProbeSubsystemCinfo environmentProbeSubsystemCinfo)
    Parameters
    Type Name Description
    XREnvironmentProbeSubsystemCinfo environmentProbeSubsystemCinfo

    The parameters defining the environment probe functionality implemented by the subsystem provider.

    Returns
    Type Description
    bool

    true if the subsystem implementation is registered. Otherwise, false.

    Exceptions
    Type Condition
    ArgumentException

    Thrown when the values specified in the environmentProbeSubsystemCinfo parameter are invalid. Typically, this happens:

    • If id is null or empty.
    • If implementationType is null.
    • If implementationType does not derive from the XREnvironmentProbeSubsystem class.
    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023