OvrLight
Subclass of Ovr.OvrNode
Subclass of Ovr.OvrNode
This Node is used to manage the most common interactions with the Unity Light Component.
This OVER Component requires a Light to be set up. See the Unity Manual for more info.
Based on the action the Light is required to perform, this component changes its behavior and requirements.
The OVER SDK provides several ways to interact with Unity Light Component. A list can be found in OvrLightActionType.
Allows the user to change Light color when executed.
Note: the following attributes are added to the existing ones from the super class OvrNode
Name | Type | Description |
---|---|---|
LightObject | Unity Light Component | |
ActionType | Action type [ChangeLightColor] | |
LightColor | Color | New light color to set |
Execute the assigned UnityAction. Use this Type to directly access the functions made available by Unity in the specific component.
Note: the following attributes are added to the existing ones from the super class OvrNode
Name | Type | Description |
---|---|---|
LightObject | Unity Light Component | |
ActionType | Action type [UnityAction] | |
UnityAction | UnityAction | UnityAction to be invoked |