Newer
Older
CarrotServer / src / framework / animation / KeyFrame.java
t-nakanishi on 18 Jul 2017 849 bytes [add] project
package framework.animation;

import java3d.Texture;

import framework.model3D.Position3D;
import framework.model3D.Quaternion3D;


/**
 * アニメーション中でキーフレーム単位に定義される情報(キー値)
 * @author 新田直也
 *
 */
public class KeyFrame {	
	long key = 0;
	Position3D keyValuePosition = null;
	Quaternion3D keyValueQuaternion = null;
	Texture keyValueTexture = null;
	Position3D keyValueTexturePosition = null;
	Quaternion3D keyValueTextureQuaternion = null;
	
	Position3D getPosition() {
		return keyValuePosition;
	}

	Quaternion3D getQuaternion() {
		return keyValueQuaternion;
	}
	
	Texture getTexture() {
		return keyValueTexture;
	}
	
	Position3D getTexturePosition() {
		return keyValueTexturePosition;
	}
	
	Quaternion3D getTextureQuaternion() {
		return keyValueTextureQuaternion;
	}
}