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
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags
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 UnityEngine.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. |