Class SimulatedLight
A component that can be used to tag a light for use in lighting estimation, for XR Simulation.
Inherited Members
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, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
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
[RequireComponent(typeof(Light))]
[DisallowMultipleComponent]
public class SimulatedLight : MonoBehaviour
Properties
simulatedLight
The Light component that will be used in calculating light estimation.
Declaration
public Light simulatedLight { get; }
Property Value
Type | Description |
---|---|
Light |