Class XREnvironmentProbeSubsystemDescriptor
Specifies a functionality description that can be registered for each implementation that provides the XREnvironmentProbeSubsystem interface.
Inheritance
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public class XREnvironmentProbeSubsystemDescriptor : SubsystemDescriptorWithProvider<XREnvironmentProbeSubsystem, XREnvironmentProbeSubsystem.Provider>, ISubsystemDescriptor
Properties
supportsAutomaticPlacement
Whether the implementation supports automatic placement of environment probes.
Declaration
public bool supportsAutomaticPlacement { get; }
Property Value
Type | Description |
---|---|
bool |
|
supportsEnvironmentTexture
Whether the implementation supports generation of environment textures.
Declaration
public bool supportsEnvironmentTexture { get; }
Property Value
Type | Description |
---|---|
bool |
|
supportsEnvironmentTextureHDR
Whether the implementation supports generation of HDR environment textures.
Declaration
public bool supportsEnvironmentTextureHDR { get; }
Property Value
Type | Description |
---|---|
bool |
|
supportsManualPlacement
Whether the implementation supports manual placement of environment probes.
Declaration
public bool supportsManualPlacement { get; }
Property Value
Type | Description |
---|---|
bool |
|
supportsRemovalOfAutomatic
Whether the implementation supports removal of automatically-placed environment probes.
Declaration
public bool supportsRemovalOfAutomatic { get; }
Property Value
Type | Description |
---|---|
bool |
|
supportsRemovalOfManual
Whether the implementation supports removal of manually-placed environment probes.
Declaration
public bool supportsRemovalOfManual { get; }
Property Value
Type | Description |
---|---|
bool |
|
Methods
Register(Cinfo)
Registers a subsystem implementation based on the given subystem parameters, and validates that the id and providerType properties are specified.
Declaration
public static void Register(XREnvironmentProbeSubsystemDescriptor.Cinfo cinfo)
Parameters
Type | Name | Description |
---|---|---|
XREnvironmentProbeSubsystemDescriptor.Cinfo | cinfo | The parameters required to initialize the descriptor. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown when the values specified in the
|