Class SimulatedEnvironmentProbe
Marks an object in a simulation environment as a source from which to provide an environment probe. This component is required by the SimulationEnvironmentProbeSubsystem on all GameObjects that represent tracked reflection probes in an environment.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.XR.Simulation
Assembly: Unity.XR.Simulation.dll
Syntax
[DisallowMultipleComponent]
public class SimulatedEnvironmentProbe : MonoBehaviour
Properties
cubemap
Get either a user-assigned cubemap reference or a generated one if loaded into the SimulationEnvironmentProbeSubsystem.
Declaration
public Cubemap cubemap { get; }
Property Value
Type | Description |
---|---|
Cubemap | The Cubemap for this probe. |
hasChanged
Get whether the cubemap value or size have changed since the last SimulationEnvironmentProbeSubsystem update.
Declaration
public bool hasChanged { get; }
Property Value
Type | Description |
---|---|
bool | true if the |
size
Get the size of the simulated probe area.
Declaration
public Vector3 size { get; }
Property Value
Type | Description |
---|---|
Vector3 | The size. |