Beispiel #1
0
        public static PVector3 GetMotionValue(string fileId, string motionId, PVector3 linearValue, int maxSample = MotionItem.DefaultMaxSample, float tolerance = MotionItem.DefaultMaxTolerance)
        {
            MotionFile file = MotionStorage.GetFile(fileId);

            return(file.GetMotionValue(motionId, PMath.Clamp01(linearValue), maxSample, tolerance));
        }