Tanoda
ISpline.cs
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) Ultraleap, Inc. 2011-2020. *
3 * *
4 * Use subject to the terms of the Apache License 2.0 available at *
5 * http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
6 * between Ultraleap and you, your company or other organization. *
7 ******************************************************************************/
8
9using UnityEngine;
10
11namespace Leap.Unity.Animation {
12
13 public interface ISpline<XType, dXType> {
14
15 float minT { get; }
16 float maxT { get; }
17
18 XType ValueAt(float t);
19
20 dXType DerivativeAt(float t);
21
22 void ValueAndDerivativeAt(float t, out XType value, out dXType deltaValuePerT);
23
24 }
25
26}
dXType DerivativeAt(float t)
void ValueAndDerivativeAt(float t, out XType value, out dXType deltaValuePerT)