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 which represent tracked reflection probes in an environment.
Inherited Members
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
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 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
Type | Description |
---|---|
bool | true if the probe's cubemap value or size have been changed. Otherwise, false |
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. |