Class FbxAnimCurve

java.lang.Object
com.jme3.scene.plugins.fbx.obj.FbxObject
com.jme3.scene.plugins.fbx.anim.FbxAnimCurve

public class FbxAnimCurve extends FbxObject
  • Constructor Details Link icon

  • Method Details Link icon

    • fromElement Link icon

      public void fromElement(FbxElement element)
      Overrides:
      fromElement in class FbxObject
    • getKeyTimes Link icon

      public long[] getKeyTimes()
      Get the times for the keyframes.
      Returns:
      Keyframe times.
    • getValueAtTime Link icon

      public float getValueAtTime(long time)
      Retrieve the curve value at the given time. If the curve has no data, 0 is returned. If the time is outside the curve, then the closest value is returned. If the time isn't on an exact keyframe, linear interpolation is used to determine the value between the keyframes at the given time.
      Parameters:
      time - The time to get the curve value at (in FBX time units).
      Returns:
      The value at the given time.
    • toJmeObject Link icon

      protected Object toJmeObject()
      Specified by:
      toJmeObject in class FbxObject
    • connectObject Link icon

      public void connectObject(FbxObject object)
      Specified by:
      connectObject in class FbxObject
    • connectObjectProperty Link icon

      public void connectObjectProperty(FbxObject object, String property)
      Specified by:
      connectObjectProperty in class FbxObject