public enum Md3Animation extends java.lang.Enum<Md3Animation>
| Enum Constant and Description |
|---|
BOTH_DEAD1
Torso/Leg animation: end of first twirling death
|
BOTH_DEAD2
Torso/Leg animation: end of second twirling death
|
BOTH_DEAD3
Torso/Leg animation: end of the back flip death
|
BOTH_DEATH1
Torso/Leg animation: first twirling death
|
BOTH_DEATH2
Torso/Leg animation: second twirling death
|
BOTH_DEATH3
Torso/Leg animation: back flip death
|
LEGS_BACK
Leg animation: run backwards
|
LEGS_IDLE
Leg animation: idle stand
|
LEGS_IDLECR
Leg animation: udle crouching
|
LEGS_JUMP
Leg animation: jumping
|
LEGS_JUMPB
Leg animation: jumping back
|
LEGS_LAND
Leg animation: landing
|
LEGS_LANDB
Leg animation: landing back
|
LEGS_RUN
Leg animation: run
|
LEGS_SWIM
Leg animation: swimming
|
LEGS_TURN
Leg animation: turn
|
LEGS_WALK
Leg animation: walk
|
LEGS_WALKCR
Leg animation: crouching walk
|
TORSO_ATTACK
Torso animation: attack 1
|
TORSO_ATTACK2
Torso animation: attack 2
|
TORSO_DROP
Torso animation: weapon drop
|
TORSO_GESTURE
Torso animation: gesturing
|
TORSO_RAISE
Torso animation: weapon pickup
|
TORSO_STAND
Torso animation: idle stand
|
TORSO_STAND2
Torso animation: idle stand2
|
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
BONE_HEAD |
protected static java.lang.String |
BONE_LOWER |
protected static java.lang.String |
BONE_UPPER |
protected static java.lang.String |
BONE_WEAPON |
protected static java.lang.String |
TAG_HEAD |
protected static java.lang.String |
TAG_TORSO |
protected static java.lang.String |
TAG_WEAPON |
| Modifier and Type | Method and Description |
|---|---|
static Model |
getHead(Model model) |
static Model |
getLower(Model model) |
static Model |
getUpper(Model model) |
static Model |
getWeapon(Model model) |
static boolean |
setLegsAnimation(Model model,
Md3Animation anim)
Set the lower body animation.
|
static boolean |
setTorsoAnimation(Model model,
Md3Animation anim)
Set the upper body animation.
|
static Md3Animation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Md3Animation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Md3Animation BOTH_DEATH1
public static final Md3Animation BOTH_DEAD1
public static final Md3Animation BOTH_DEATH2
public static final Md3Animation BOTH_DEAD2
public static final Md3Animation BOTH_DEATH3
public static final Md3Animation BOTH_DEAD3
public static final Md3Animation TORSO_GESTURE
public static final Md3Animation TORSO_ATTACK
public static final Md3Animation TORSO_ATTACK2
public static final Md3Animation TORSO_DROP
public static final Md3Animation TORSO_RAISE
public static final Md3Animation TORSO_STAND
public static final Md3Animation TORSO_STAND2
public static final Md3Animation LEGS_WALKCR
public static final Md3Animation LEGS_WALK
public static final Md3Animation LEGS_RUN
public static final Md3Animation LEGS_BACK
public static final Md3Animation LEGS_SWIM
public static final Md3Animation LEGS_JUMP
public static final Md3Animation LEGS_LAND
public static final Md3Animation LEGS_JUMPB
public static final Md3Animation LEGS_LANDB
public static final Md3Animation LEGS_IDLE
public static final Md3Animation LEGS_IDLECR
public static final Md3Animation LEGS_TURN
protected static final java.lang.String BONE_HEAD
protected static final java.lang.String BONE_UPPER
protected static final java.lang.String BONE_LOWER
protected static final java.lang.String BONE_WEAPON
protected static final java.lang.String TAG_TORSO
protected static final java.lang.String TAG_HEAD
protected static final java.lang.String TAG_WEAPON
public static Md3Animation[] values()
for (Md3Animation c : Md3Animation.values()) System.out.println(c);
public static Md3Animation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static boolean setTorsoAnimation(Model model, Md3Animation anim)
public static boolean setLegsAnimation(Model model, Md3Animation anim)
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com