AvatarReady
Loading...
Searching...
No Matches
Inria.Avatar.AvatarReady.HeightAndArmspanRatioCalibration Class Reference
Inheritance diagram for Inria.Avatar.AvatarReady.HeightAndArmspanRatioCalibration:
Inria.Avatar.AvatarReady.CalibrationTechnique

Public Member Functions

override IEnumerator UpdateUserProfile (AvatarReady avatarReady, CalibrationProfile calibrationProfile)
 Starts the calibration process. This method should be called by the CalibrationManager to ensure that all information is correct.
 
override IEnumerator CalibrateAvatar (AvatarReady avatarReady, CalibrationProfile calibrationProfile)
 Method that calibrates an avatar based on the calibration profile.
 
override float GetData (AvatarReady avatarReady, string dataKey)
 Method used to query the data required by the user profile.
 
- Public Member Functions inherited from Inria.Avatar.AvatarReady.CalibrationTechnique
virtual void ApplySettings (AvatarReady avatarReady)
 Method that allows to customize pre-defined parameters linked to animation providers or avatars. This method is called automatically by AvatarReady.
 
virtual void ResetSettings (AvatarReady avatarReady)
 Method that reverts the pre-defined parameters defined by ApplySetting method. This method is called automatically by AvatarReady.
 

Private Member Functions

void Awake ()
 

Private Attributes

Animator animator
 
Vector3 tposeAvatarEyePosition
 
float tposeAvatarHandsDistance
 
float tposeAvatarShouldersDistance
 

Static Private Attributes

const string headsetHeightKey = "headsetHeight"
 
const string wristArmspanKey = "wristArmspan"
 

Member Function Documentation

◆ UpdateUserProfile()

override IEnumerator Inria.Avatar.AvatarReady.HeightAndArmspanRatioCalibration.UpdateUserProfile ( AvatarReady avatarReady,
CalibrationProfile calibrationProfile )
inlinevirtual

Starts the calibration process. This method should be called by the CalibrationManager to ensure that all information is correct.

Parameters
avatarReady
calibrationProfilePre: not null
overrideProfile

Reimplemented from Inria.Avatar.AvatarReady.CalibrationTechnique.

◆ CalibrateAvatar()

override IEnumerator Inria.Avatar.AvatarReady.HeightAndArmspanRatioCalibration.CalibrateAvatar ( AvatarReady avatarReady,
CalibrationProfile calibrationProfile )
inlinevirtual

Method that calibrates an avatar based on the calibration profile.

Parameters
avatarReadyPointer to avatar ready component.
calibrationProfileValid calibration profile.

Reimplemented from Inria.Avatar.AvatarReady.CalibrationTechnique.

◆ GetData()

override float Inria.Avatar.AvatarReady.HeightAndArmspanRatioCalibration.GetData ( AvatarReady avatarReady,
string dataKey )
inlinevirtual

Method used to query the data required by the user profile.

Parameters
avatarReadyPointer to avatar ready component.
dataKeyKey value of the parameter requested
Returns

Reimplemented from Inria.Avatar.AvatarReady.CalibrationTechnique.


The documentation for this class was generated from the following file: