Package zombie.characterTextures
Class ItemSmartTexture
java.lang.Object
zombie.asset.Asset
zombie.core.textures.Texture
zombie.core.textures.SmartTexture
zombie.characterTextures.ItemSmartTexture
- All Implemented Interfaces:
java.io.Serializable,IDestroyable,IMaskerable,ITexture
public final class ItemSmartTexture extends SmartTexture
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.core.textures.Texture
Texture.PZFileformat, Texture.TextureAssetParamsNested classes/interfaces inherited from class zombie.asset.Asset
Asset.ObserverCallback, Asset.State -
Field Summary
Fields Modifier and Type Field Description static intDecalOverlayCategoryFields inherited from class zombie.core.textures.SmartTexture
commands, resultFields inherited from class zombie.core.textures.Texture
ASSET_TYPE, assetParams, bDoingQuad, bindAlways, BindCount, dataid, flip, height, heightOrig, la, lastlastTextureID, lastTextureID, lb, lg, lr, mask, name, nullTextures, offsetX, offsetY, solid, subTexture, totalTextureID, WarnFailFindTexture, width, widthOrig, xEnd, xStart, yEnd, yStartFields inherited from class zombie.asset.Asset
m_asset_manager -
Constructor Summary
Constructors Constructor Description ItemSmartTexture(java.lang.String string)ItemSmartTexture(java.lang.String string, float float1) -
Method Summary
Modifier and Type Method Description floataddBlood(java.lang.String string, java.lang.String string2, float float1, int int1)floataddBlood(java.lang.String string, BloodBodyPartType bloodBodyPartType, float float1)floataddDirt(java.lang.String string, java.lang.String string2, float float1, int int1)floataddDirt(java.lang.String string, BloodBodyPartType bloodBodyPartType, float float1)java.lang.StringgetTexName()voidremoveBlood()voidremoveBlood(BloodBodyPartType bloodBodyPartType)voidremoveDirt()voidremoveDirt(BloodBodyPartType bloodBodyPartType)voidsetBasicPatches(BloodBodyPartType bloodBodyPartType)voidsetBlood(java.lang.String string, java.lang.String string2, float float1, int int1)voidsetBlood(java.lang.String string, BloodBodyPartType bloodBodyPartType, float float1)voidsetDenimPatches(BloodBodyPartType bloodBodyPartType)voidsetLeatherPatches(BloodBodyPartType bloodBodyPartType)Methods inherited from class zombie.core.textures.SmartTexture
add, add, add, add, add, add, add, add, add, add, addDirtOverlay, addHole, addHue, addHue, addMaskedTexture, addMaskedTexture, addOverlay, addOverlay, addOverlayPatches, addRect, addTexture, addTint, addTint, bind, calculate, clear, destroy, getData, getFirstFromCategory, getID, isEmpty, isFailure, isReady, mask, mask, maskHue, maskHue, maskTint, maskTint, removeHole, removeHole, removeHole, save, setDirtyMethods inherited from class zombie.core.textures.Texture
bind, bindNone, clearTextures, collectAllIcons, copyMaskRegion, createMask, createMask, createMask, createMask, equals, flipPixels, forgetTexture, getEngineMipmapTexture, getErrorTexture, getHeight, getHeightHW, getHeightOrig, getMask, getName, getOffsetX, getOffsetY, getRealHeight, getRealWidth, getSharedTexture, getSharedTexture, getSharedTexture, getSharedTexture, getSteamAvatar, getTexture, getTextureId, getType, getUseAlphaChannel, getUVScale, getWhite, getWidth, getWidthHW, getWidthOrig, getXEnd, getXStart, getYEnd, getYStart, isCollisionable, isDestroyed, isSolid, isValid, loadMaskRegion, makeTransp, onBeforeReady, onTexturePacksChanged, processFilePath, reload, reloadFromFile, render, render, render, render, renderdiamond, rendershader2, renderstrip, renderwalln, renderwallnw, renderwallw, saveMask, saveMaskRegion, setAlphaForeach, setCustomizedTexture, setData, setHeight, setMask, setName, setNameOnly, setOffsetX, setOffsetY, setRealHeight, setRealWidth, setRegion, setUseAlphaChannel, setWidth, split, split, split, split2D, splitIcon, steamAvatarChanged, toString, trygetTextureMethods inherited from class zombie.asset.Asset
addDependency, getAssetManager, getObserverCb, getPath, getRefCount, getState, onBeforeEmpty, onCreated, removeDependency, setAssetParamsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
DecalOverlayCategory
public static final int DecalOverlayCategory- See Also:
- Constant Field Values
-
-
Constructor Details
-
ItemSmartTexture
public ItemSmartTexture(java.lang.String string) -
ItemSmartTexture
public ItemSmartTexture(java.lang.String string, float float1)
-
-
Method Details
-
setDenimPatches
-
setLeatherPatches
-
setBasicPatches
-
setBlood
-
setBlood
public void setBlood(java.lang.String string, java.lang.String string2, float float1, int int1) -
addBlood
-
addDirt
-
addBlood
public float addBlood(java.lang.String string, java.lang.String string2, float float1, int int1) -
addDirt
public float addDirt(java.lang.String string, java.lang.String string2, float float1, int int1) -
removeBlood
public void removeBlood() -
removeDirt
public void removeDirt() -
removeBlood
-
removeDirt
-
getTexName
public java.lang.String getTexName()
-