Add ultimate xr

This commit is contained in:
2024-08-06 21:58:35 +02:00
parent 864033bf10
commit 7165bacd9d
3952 changed files with 2162037 additions and 35 deletions

View File

@@ -0,0 +1,34 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UxrPostUpdateMode.cs" company="VRMADA">
// Copyright (c) VRMADA, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
using UltimateXR.Avatar;
using UnityEngine;
namespace UltimateXR.Core
{
/// <summary>
/// Enumerates where <see cref="UxrManager" /> updates the <see cref="UxrAvatar" /> post-update. Among elements
/// processed in the post-update is the animation. See <see cref="UxrManager.PostUpdateMode" />
/// </summary>
public enum UxrPostUpdateMode
{
/// <summary>
/// Don't update.
/// </summary>
None,
/// <summary>
/// Update on <see cref="UxrManager" />'s Update(). If the <see cref="UxrAvatar" /> has any <see cref="Animator" />
/// components, these will override any animation or hand poses generated by UltimateXR.
/// </summary>
Update,
/// <summary>
/// Update on <see cref="UxrManager" />'s LateUpdate(). If the <see cref="UxrAvatar" /> has any <see cref="Animator" />
/// components, UltimateXR animation or hand poses will prevail.
/// </summary>
LateUpdate
}
}