Class VisionOSEnvironmentLightingConfiguration
Acts as a direct proxy to RealityKit's EnvironmentLightingConfigurationComponent, which allows configuring the amount of environment lighting that an entity receives.
Inheritance
Inherited Members
Namespace: Unity.PolySpatial
Assembly: Unity.PolySpatial.dll
Syntax
[DisallowMultipleComponent]
public class VisionOSEnvironmentLightingConfiguration : MonoBehaviour
Properties
EnvironmentLightingWeight
The amount of environment lighting to use, from 0 (none) to 1 (full).
Declaration
public float EnvironmentLightingWeight { get; set; }
Property Value
Type | Description |
---|---|
float |