UxrGrabManager.TryGrab Method

Tries to grab something.

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

Syntax

C#

public UxrGrabber TryGrab(
	UxrAvatar avatar,
	UxrHandSide handSide
)

Parameters

 

avatar
Type: UltimateXR.Avatar.UxrAvatar
Avatar that tried to grab something
handSide
Type: UltimateXR.Core.UxrHandSide
Whether it is trying to grab using the left hand or right hand

Return Value

Type: UxrGrabber
The grabber component that grabbed an object, if an object was grabbed.

See Also

Reference

UxrGrabManager Class
UltimateXR.Manipulation Namespace