Namespace Unity.XR.CoreUtils
Classes
BoolUnityEvent
bool Unity Event implementation to serialize in the editor.
BoundsExtensions
Extension methods for the Bounds type.
BoundsUtils
Bounds related utilities
CachedComponentFilter<TFilterType, TRootType>
Provides utility functions to retrieve filtered lists of components. The lists created are automatically cached.
CameraExtensions
Extension methods for Camera components.
CollectionExtensions
Extension methods for ICollection<T> objects.
CollectionPool<TCollection, TValue>
A pool of collection objects for avoiding allocations when new empty collections are needed frequently.
ColorUnityEvent
Color Unity Event implementation to serialize in the editor.
ComponentUtils
Utility class for working with Components.
ComponentUtils<T>
Special utility class for getting components in the editor without allocations.
DebugDraw
Helpers for drawing shapes for debugging purposes.
DictionaryExtensions
Extension methods for Dictionary<TKey, TValue> objects.
EnumValues<T>
Helper class for caching enum values.
FloatUnityEvent
float Unity Event implementation to serialize in the editor.
GameObjectExtensions
Extensions methods for the GameObject class.
GameObjectUtils
Utility methods for creating GameObjects. Allows systems to subscribe to GameObjectInstantiated.
GeometryUtils
Utility methods for common geometric operations.
GuidExtensions
Extensions to the Guid type.
GuidUtil
Utility for dealing with Guid objects.
HashSetExtensions
Extension methods for HashSet<T> objects.
IntUnityEvent
int Unity Event implementation to serialize in the editor.
LayerMaskExtensions
Extension methods for LayerMask structs.
ListExtensions
Extension methods for List<T> objects.
MaterialUtils
Runtime Material utilities.
MathUtility
Math utilities.
MonoBehaviourExtensions
Extension methods for MonoBehaviour objects.
NativeArrayUtils
Utility methods for working with NativeArray`1 objects.
ObjectPool<T>
Provides a generic object pool implementation.
OnDestroyNotifier
MonoBehaviour that invokes a callback when it is destroyed.
PoseExtensions
Extension methods for Pose structs.
QuaternionExtensions
Extension methods for Quaternion structs.
QuaternionUnityEvent
Quaternion Unity Event Implementation to serialize in the editor.
ReadOnlyAttribute
Serialized fields marked with this ReadOnly attribute use a CustomPropertyDrawer that makes the property non-editable.
ReflectionUtils
Utility methods for common reflection-based operations.
ScriptableSettingsBase
Base class for all scriptable settings that is easier to look up via-reflection.
ScriptableSettingsBase<T>
Base class for ScriptableSettings.
ScriptableSettingsPathAttribute
Allows a class inheriting from ScriptableSettings<T> to specify that its instance Asset should be saved under "Assets/[Path]/Resources/ScriptableSettings/".
ScriptableSettings<T>
A helper class for accessing settings stored in ScriptableObject instances.
SerializableGuidUtil
Utility for creating a SerializableGuid.
Unity can serialize a SerializableGuid
, but not a System.Guid
.
StopwatchExtensions
Extension methods for System.Diagnostics.Stopwatch
objects.
StringExtensions
Extension methods for string objects.
StringUnityEvent
string Unity Event Implementation to serialize in the editor.
TextureUtils
Utilities for manipulating Textures.
TransformExtensions
Extension methods for Transform components.
TypeExtensions
Extension methods for Type objects.
UndoBlock
Represents a series of object actions as a single undo-operation.
UnityObjectUtils
Utility methods for working with UnityEngine Object types.
Vector2Extensions
Extension methods for the Vector2 type.
Vector2UnityEvent
Vector2 Unity Event implementation to serialize in the editor.
Vector3Extensions
Extension methods for the Vector3 type.
Vector3UnityEvent
Vector3 Unity Event implementation to serialize in the editor.
Vector4UnityEvent
Vector4 Unity Event implementation to serialize in the editor.
XRLoggingUtils
Utility methods for logging.
XROrigin
The XR Origin represents the session-space origin (0, 0, 0) in an XR scene.
Structs
ARTrackablesParentTransformChangedEventArgs
Event arguments for the TrackablesParentTransformChanged event.
SerializableGuid
A Guid
that can be serialized by Unity.
Interfaces
IComponentHost<THostType>
Implement this interface for Component classes you want discoverable
by the cached component filter. Make sure the THostType
matches the TFilterType
in the
CachedComponentFilter<TFilterType, TRootType> filter.
Enums
CachedSearchType
Describes where the initial list of components should be built from.
XROrigin.TrackingOriginMode
Sets which Tracking Origin Mode to use when initializing the input device.