static readonly GrabPoseScore | Max[Get] |
GrabPoseScore ( float translationScore, float rotationScore, PoseMeasureParameters measureParameters ) Creates a GrabPoseScore with the given values. | |
Calculates and creates a purely positional score. | |
GrabPoseScore ( in Pose poseA, in Pose poseB, in Pose offset, PoseMeasureParameters measureParameters ) Calculates and creates a score from a desired pose to a reference pose. | |
bool | IsValid ( ) |
bool | IsBetterThan ( GrabPoseScore referenceScore ) Calculates if the GrabPoseScore is better than other GrabPoseScore by comparing the Translational and Rotational scores based on their weights. |
static GrabPoseScore | Linearly interpolate two scores by individually interpolating its components. |
readonly GrabPoseScore Oculus.Interaction.Grab.GrabPoseScore.Max |
---|
No description available.
|
Oculus.Interaction.Grab.GrabPoseScore.GrabPoseScore ( float translationScore, float rotationScore, PoseMeasureParameters measureParameters ) |
---|
Creates a GrabPoseScore with the given values. Parameters translationScore The translational score rotationScoreThe rotational score measureParametersParemeters indicating how to compare scores |
Oculus.Interaction.Grab.GrabPoseScore.GrabPoseScore ( Vector3 fromPoint, Vector3 toPoint, bool isInside ) |
---|
Calculates and creates a purely positional score. This score has a rotational weight of 0. Parameters fromPoint Desired point of measure toPointIdeal point of measure isInsideIf true, the translation is stored as a negative scalar |
Oculus.Interaction.Grab.GrabPoseScore.GrabPoseScore ( in Pose poseA, in Pose poseB, in Pose offset, PoseMeasureParameters measureParameters ) |
---|
Calculates and creates a score from a desired pose to a reference pose. Parameters poseA The desired root pose poseBThe reference root pose offsetOffset from the poses for scoring measureParametersParemeters indicating how to compare scores |
bool Oculus.Interaction.Grab.GrabPoseScore.IsValid ( ) |
---|
No description available.
|
bool Oculus.Interaction.Grab.GrabPoseScore.IsBetterThan ( GrabPoseScore referenceScore ) |
---|
Calculates if the GrabPoseScore is better than other GrabPoseScore by comparing the Translational and Rotational scores based on their weights. Parameters referenceScore The score to compare against Returns True of this score is better than the provided one, false otherwise |
static GrabPoseScore Oculus.Interaction.Grab.GrabPoseScore.Lerp ( in GrabPoseScore from, in GrabPoseScore to, float t ) |
---|
Linearly interpolate two scores by individually interpolating its components. Parameters from Originb score toTarget score tInterpolation factor Returns |