Newer
Older
SproutServerMicro / src / main / java / framework / animation / KeyFrame.java
s-bekki on 30 Nov 2017 850 bytes initial commit
package framework.animation;

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

import javax.media.j3d.Texture;


/**
 * アニメーション中でキーフレーム単位に定義される情報(キー値)
 * @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;
	}
}