UxrGrabPointInfo.GetCompatibleGripPoseInfos Method

Gets all the grip pose infos that can be used with the given avatar.

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

Syntax

C#

public IEnumerable<UxrGripPoseInfo> GetCompatibleGripPoseInfos(
	UxrAvatar avatar,
	bool usePrefabInheritance = true
)


Parameters

 

avatar
Type: UltimateXR.Avatar.UxrAvatar
The avatar to check
usePrefabInheritance (Optional)
Type: System.Boolean
Whether to check for compatibility using all the parents in the prefab hierarchy

Return Value

Type: IEnumerable(UxrGripPoseInfo)
List of UxrGripPoseInfo that are potentially compatible with the given avatar

See Also

Reference

UxrGrabPointInfo Class
UltimateXR.Manipulation Namespace