// Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved. using Unity.Collections; using static Meta.XR.Movement.MSDKUtility; namespace Meta.XR.Movement.Retargeting { /// /// The source data provider interface, which provides source data. /// public interface ISourceDataProvider { /// /// The source current skeleton pose data. /// /// The array of transforms that represents the current skeleton pose data. public NativeArray GetSkeletonPose(); /// /// The source T-Pose skeleton pose data. /// /// The array of transforms that represents the skeleton T-Pose data. public NativeArray GetSkeletonTPose(); /// /// The current manifestation that should be used for retargeting. /// /// The current manifestation name. public string GetManifestation(); /// /// Returns true if the current pose data is valid. /// /// True if the current pose data is valid. public bool IsPoseValid(); /// /// Returns true if there is a new updated T-Pose available. /// /// True if there is a new T-Pose available. public bool IsNewTPoseAvailable(); } }