UxrAvatar.GetControllerInputForward Method

Gets the transform in the given hand controller that points forward. The controller needs to have a 3D model assigned to it, which all controllers in the framework have.

Namespace: UltimateXR.Avatar
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public Transform GetControllerInputForward(
	UxrHandSide handSide
)

Parameters

 

handSide
Type: UltimateXR.Core.UxrHandSide
Hand to get the forward of

Return Value

Type: Transform
The transform describing the controller forward direction (use forward to get the actual vector). Null if there is no input controller available or if it doesn’t have a 3D model assigned.

See Also

Reference

UxrAvatar Class
UltimateXR.Avatar Namespace