Class VRControllerVisualExtensions
Extension methods for the IVRControllerVisual interface.
Inheritance
System.Object
VRControllerVisualExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Liminal.SDK.VR.Avatars.Controllers
Assembly: Liminal.SDK.dll
Syntax
public static class VRControllerVisualExtensions
Methods
| Improve this Doc View SourceGetNodeTransform(IVRControllerVisual, String)
Gets the transform for the VRControllerNode on this controller visual with specified name.
Declaration
public static Transform GetNodeTransform(this IVRControllerVisual controllerVisual, string nodeName)
Parameters
| Type | Name | Description |
|---|---|---|
| IVRControllerVisual | controllerVisual | The controller visual. |
| System.String | nodeName | The name of the node to retrieve the transform of. |
Returns
| Type | Description |
|---|---|
| UnityEngine.Transform | The transform for the VRControllerNode on this controller visual with specified name, or null if no node is found. |