示例#1
0
 /// <summary>
 /// Retrieve the source Orientation/Up-Vector for a given relative position
 /// </summary>
 /// <param name="tf">relative position</param>
 /// <returns>
 /// the Up-Vector
 /// </returns>
 protected override Vector3 GetOrientation(float tf)
 {
     return((Space == Space.World) ? Path.Module.Generator.transform.TransformDirection(PathData.InterpolateUp(tf)) : PathData.InterpolateUp(tf));
 }