Show / Hide Table of Contents

Interface IVRControllerVisual

An interface for controller visuals.

Namespace: Liminal.SDK.VR.Avatars.Controllers
Assembly: Liminal.SDK.dll
Syntax
public interface IVRControllerVisual

Properties

| Improve this Doc View Source

gameObject

Gets the GameObject for the controller visual.

Declaration
GameObject gameObject { get; }
Property Value
Type Description
UnityEngine.GameObject
| Improve this Doc View Source

Inputs

Gets the enumerable collection of controller input visuals belonging to the visual.

Declaration
IEnumerable<VRControllerInputVisual> Inputs { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<VRControllerInputVisual>
| Improve this Doc View Source

Nodes

Gets the enumerable collection of controller nodes belonging to the visual.

Declaration
IEnumerable<VRControllerNode> Nodes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<VRControllerNode>
| Improve this Doc View Source

PointerVisual

Gets or sets the IVRPointerVisual for the controller.

Declaration
IVRPointerVisual PointerVisual { get; }
Property Value
Type Description
IVRPointerVisual
| Improve this Doc View Source

transform

Gets the GameObject for the controller visual.

Declaration
Transform transform { get; }
Property Value
Type Description
UnityEngine.Transform

Methods

| Improve this Doc View Source

GetInput(String)

Gets the the VRControllerInputVisual with the name specified by inputName.

Declaration
VRControllerInputVisual GetInput(string inputName)
Parameters
Type Name Description
System.String inputName

The name of the input component.

Returns
Type Description
VRControllerInputVisual

The VRControllerInputVisual with the name specified by inputName.

| Improve this Doc View Source

GetNode(String)

Gets the the VRControllerNode with the name specified by nodeName.

Declaration
VRControllerNode GetNode(string nodeName)
Parameters
Type Name Description
System.String nodeName

The name of the node.

Returns
Type Description
VRControllerNode

The VRControllerNode with the name specified by nodeName.

Extension Methods

VRControllerVisualExtensions.GetNodeTransform(IVRControllerVisual, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX