public void animate ( float timeInSec ) { GVRSkeleton skel = getSkeleton ( ) ; GVRPose pose = skel . getPose ( ) ; computePose ( timeInSec , pose ) ; skel . poseToBones ( ) ; skel . updateBonePose ( ) ; skel . updateSkinPose ( ) ; }
Compute pose of skeleton at the given time from the animation channels .