ProximityLight.LightSettings Class

Definition

C++
public: ref class ProximityLight::LightSettings
Inheritance
ProximityLight.LightSettings
Attributes

Constructors

Properties

CenterColor

The color of the ProximityLight gradient at the center (RGB) and (A) is gradient extent.

FarRadius

Specifies the radius of the ProximityLight effect when far from a surface.

MiddleColor

The color of the ProximityLight gradient at the center (RGB) and (A) is gradient extent.

MinNearSizePercentage

When a ProximityLight is near, the smallest size percentage from the far size it can shrink to.

NearDistance

Specifies the distance a ProximityLight must be from a surface to be considered near.

NearRadius

Specifies the radius of the ProximityLight effect when near to a surface.

OuterColor

The color of the ProximityLight gradient at the center (RGB) and (A) is gradient extent.

Applies to

Produit Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0