OvrLight

Subclass of Ovr.OvrNode

Description

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.

Action Types

The OVER SDK provides several ways to interact with Unity Light Component. A list can be found in OvrLightActionType.

Change Light Color

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

Example of OvrLight, setting color to green.

Unity Action

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