public static class AltTextures.AltTexture
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
AltTextures.AltTexture(java.lang.String name,
FormID txst,
int index)
Creates a new AltTexture, which can be added to the ARMA to give it
an alternate texture.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getIndex() |
java.lang.String |
getName() |
FormID |
getTexture() |
int |
hashCode() |
void |
setIndex(int index) |
void |
setName(java.lang.String name) |
void |
setTexture(FormID txst) |
public AltTextures.AltTexture(java.lang.String name, FormID txst, int index)
name
- Name of the NiTriShape to apply this TXST to.txst
- FormID of the TXST to apply as the alt.index
- Index of the NiTriShape to apply this TXST to.public void setName(java.lang.String name)
name
- String to set the AltTexture name to.public java.lang.String getName()
public void setTexture(FormID txst)
txst
- FormID of the TXST to tie the AltTexture to.public FormID getTexture()
public void setIndex(int index)
index
- The NiTriShape index to assign.public int getIndex()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- public int hashCode()
hashCode
in class java.lang.Object