Class XREnvironmentProbeSubsystem
Defines an interface for interacting with environment probe functionality for creating realistic lighting and environment texturing in AR scenes.
Inheritance
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public class XREnvironmentProbeSubsystem : TrackingSubsystem<XREnvironmentProbe, XREnvironmentProbeSubsystem, XREnvironmentProbeSubsystemDescriptor, XREnvironmentProbeSubsystem.Provider>, ISubsystem
Constructors
Name | Description |
---|---|
XREnvironmentProbeSubsystem() | Constructs an XREnvironmentProbeSubsystem.
Do not create this directly.
Call |
Properties
Name | Description |
---|---|
automaticPlacementEnabled |
|
automaticPlacementRequested | Specifies whether the AR session should automatically place environment probes in the scene. |
environmentTextureHDREnabled |
|
environmentTextureHDRRequested | Specifies whether the environment textures should be returned as HDR textures. |
Methods
Name | Description |
---|---|
GetChanges(Allocator) | Get the changes (added, updated, and removed) environment probes since the last call to GetChanges(Allocator). |
Register(XREnvironmentProbeSubsystemCinfo) | Registers a subsystem implementation based on the given subystem parameters. |
RemoveEnvironmentProbe(TrackableId) | Asynchronously removes the environment probe matching the trackable ID from the AR session. |
TryAddEnvironmentProbe(Pose, Vector3, Vector3, out XREnvironmentProbe) | Tries to create an environment probe. |