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 Simulation
Inherited Members
Namespace: UnityEngine .XR.Simulation
Assembly: Unity.XR.Simulation.dll
Syntax
[DisallowMultipleComponent]
public class SimulatedEnvironmentProbe : MonoBehaviour
Properties
cubemap
Get the cubemap for this probe.
Declaration
public Cubemap cubemap { get; }
Property Value
Type | Description |
---|---|
Cubemap | The cubemap. |
hasChanged
Get whether the probe's cubemap value or size have been changed since the last Simulation probe subsystem update.
Declaration
public bool hasChanged { get; }
Property Value
size
Get the size of the simulated probe area.
Declaration
public Vector3 size { get; }
Property Value
Type | Description |
---|---|
Vector3 | The size of the simulated probe area. |