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 SourcegameObject
Gets the GameObject for the controller visual.
Declaration
GameObject gameObject { get; }
Property Value
Type | Description |
---|---|
UnityEngine.GameObject |
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> |
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> |
PointerVisual
Gets or sets the IVRPointerVisual for the controller.
Declaration
IVRPointerVisual PointerVisual { get; }
Property Value
Type | Description |
---|---|
IVRPointerVisual |
transform
Gets the GameObject for the controller visual.
Declaration
Transform transform { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Transform |
Methods
| Improve this Doc View SourceGetInput(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 |
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 |