package com.metaio.sdk.jni;

public class AnimationKeyFrame
{
  protected boolean swigCMemOwn;
  private long swigCPtr;

  public AnimationKeyFrame()
  {
    this(MetaioSDKJNI.new_AnimationKeyFrame(), true);
  }

  public AnimationKeyFrame(long paramLong, boolean paramBoolean)
  {
    this.swigCMemOwn = paramBoolean;
    this.swigCPtr = paramLong;
  }

  public static long getCPtr(AnimationKeyFrame paramAnimationKeyFrame)
  {
    if (paramAnimationKeyFrame == null)
      return 0L;
    return paramAnimationKeyFrame.swigCPtr;
  }

  public void delete()
  {
    try
    {
      if (this.swigCPtr != 0L)
      {
        if (this.swigCMemOwn)
        {
          this.swigCMemOwn = false;
          MetaioSDKJNI.delete_AnimationKeyFrame(this.swigCPtr);
        }
        this.swigCPtr = 0L;
      }
      return;
    }
    finally
    {
    }
  }

  protected void finalize()
  {
    delete();
  }

  public int getIndex()
  {
    return MetaioSDKJNI.AnimationKeyFrame_index_get(this.swigCPtr, this);
  }

  public Rotation getRotation()
  {
    long l = MetaioSDKJNI.AnimationKeyFrame_rotation_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new Rotation(l, false);
  }

  public Vector3d getScale()
  {
    long l = MetaioSDKJNI.AnimationKeyFrame_scale_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new Vector3d(l, false);
  }

  public Vector3d getTranslation()
  {
    long l = MetaioSDKJNI.AnimationKeyFrame_translation_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new Vector3d(l, false);
  }

  public void setIndex(int paramInt)
  {
    MetaioSDKJNI.AnimationKeyFrame_index_set(this.swigCPtr, this, paramInt);
  }

  public void setRotation(Rotation paramRotation)
  {
    MetaioSDKJNI.AnimationKeyFrame_rotation_set(this.swigCPtr, this, Rotation.getCPtr(paramRotation), paramRotation);
  }

  public void setScale(Vector3d paramVector3d)
  {
    MetaioSDKJNI.AnimationKeyFrame_scale_set(this.swigCPtr, this, Vector3d.getCPtr(paramVector3d), paramVector3d);
  }

  public void setTranslation(Vector3d paramVector3d)
  {
    MetaioSDKJNI.AnimationKeyFrame_translation_set(this.swigCPtr, this, Vector3d.getCPtr(paramVector3d), paramVector3d);
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.metaio.sdk.jni.AnimationKeyFrame
 * JD-Core Version:    0.6.2
 */