Class UsesIsInMiniWorldMethods
Namespace: Unity.Labs.EditorXR.Interfaces
Syntax
public static class UsesIsInMiniWorldMethods
Methods
IsInMiniWorld(IUsesIsInMiniWorld, Transform)
Returns whether the specified ray is contained in a MiniWorld
Declaration
public static bool IsInMiniWorld(this IUsesIsInMiniWorld user, Transform rayOrigin)
Parameters
Type | Name | Description |
---|---|---|
IUsesIsInMiniWorld | user | The functionality user |
Transform | rayOrigin | The rayOrigin that is being checked |
Returns
Type | Description |
---|---|
Boolean | Whether the ray is contained in a MiniWorld |