public enum ModelRotation extends java.lang.Enum<ModelRotation> implements IModelTransform
列挙型定数と説明 |
---|
X0_Y0 |
X0_Y180 |
X0_Y270 |
X0_Y90 |
X180_Y0 |
X180_Y180 |
X180_Y270 |
X180_Y90 |
X270_Y0 |
X270_Y180 |
X270_Y270 |
X270_Y90 |
X90_Y0 |
X90_Y180 |
X90_Y270 |
X90_Y90 |
修飾子とタイプ | メソッドと説明 |
---|---|
static ModelRotation |
getModelRotation(int x,
int y) |
TransformationMatrix |
getRotation() |
static ModelRotation |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static ModelRotation[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
isUvLock
getPartTransformation
public static final ModelRotation X0_Y0
public static final ModelRotation X0_Y90
public static final ModelRotation X0_Y180
public static final ModelRotation X0_Y270
public static final ModelRotation X90_Y0
public static final ModelRotation X90_Y90
public static final ModelRotation X90_Y180
public static final ModelRotation X90_Y270
public static final ModelRotation X180_Y0
public static final ModelRotation X180_Y90
public static final ModelRotation X180_Y180
public static final ModelRotation X180_Y270
public static final ModelRotation X270_Y0
public static final ModelRotation X270_Y90
public static final ModelRotation X270_Y180
public static final ModelRotation X270_Y270
public static ModelRotation[] values()
for(ModelRotation c: ModelRotation.values()) System.out.println(c);
public static ModelRotation valueOf(java.lang.String name)
name
- 返される列挙型定数の名前。java.lang.IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException
- 引数がnullの場合public TransformationMatrix getRotation()
getRotation
インタフェース内 IModelTransform
public static ModelRotation getModelRotation(int x, int y)