예제 #1
0
 public virtual int GetEyePose(ref EyePose eyePose, int frameIndex = -1)
 {
     eyePose.leftStatus     = 0;
     eyePose.rightStatus    = 0;
     eyePose.combinedStatus = 0;
     return(0);
 }
예제 #2
0
    public override int GetEyePose(ref EyePose eyePose, int frameIndex = -1)
    {
        int rv = SvrGetEyePose(
            ref eyePose.leftStatus, ref eyePose.rightStatus, ref eyePose.combinedStatus,
            ref eyePose.leftOpenness, ref eyePose.rightOpenness,
            ref eyePose.leftDirection.x, ref eyePose.leftDirection.y, ref eyePose.leftDirection.z,
            ref eyePose.leftPosition.x, ref eyePose.leftPosition.y, ref eyePose.leftPosition.z,
            ref eyePose.rightDirection.x, ref eyePose.rightDirection.y, ref eyePose.rightDirection.z,
            ref eyePose.rightPosition.x, ref eyePose.rightPosition.y, ref eyePose.rightPosition.z,
            ref eyePose.combinedDirection.x, ref eyePose.combinedDirection.y, ref eyePose.combinedDirection.z,
            ref eyePose.combinedPosition.x, ref eyePose.combinedPosition.y, ref eyePose.combinedPosition.z,
            frameIndex);

        return(rv);
    }