OvrLineRenderer

Subclass of Ovr.OvrNode

Description

This Node is used to manage the most common interactions with the Unity LineRenderer Component.

It requires a LineRenderer to be set up. See the Unity Manual for more info.

Based on the action the LineRenderer is required to perform, this component changes its behavior and requirements.

Action Types

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

Set Position

Allows the user to set the position of a vertex in the line. The vertex is specified by an index and an OvrVector3 position.

Note: the following attributes are added to the existing ones from the super class OvrNode

NameTypeDescription

LineRenderer

Unity LineRenderer Component

ActionType

Action type [SetPosition]

Index

Vertex index

Position

Position of the vertex to set

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

NameTypeDescription

LineRenderer

Unity LineRenderer Component

ActionType

Action type [UnityAction]

UnityAction

UnityAction

UnityAction to be invoked

Last updated