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.TextureAssetParams
Nested classes/interfaces inherited from class zombie.asset.Asset
Asset.ObserverCallback, Asset.State
-
Field Summary
Fields Modifier and Type Field Description static int
DecalOverlayCategory
Fields inherited from class zombie.core.textures.SmartTexture
commands, result
Fields 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, yStart
Fields 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 float
addBlood(java.lang.String string, java.lang.String string2, float float1, int int1)
float
addBlood(java.lang.String string, BloodBodyPartType bloodBodyPartType, float float1)
float
addDirt(java.lang.String string, java.lang.String string2, float float1, int int1)
float
addDirt(java.lang.String string, BloodBodyPartType bloodBodyPartType, float float1)
java.lang.String
getTexName()
void
removeBlood()
void
removeBlood(BloodBodyPartType bloodBodyPartType)
void
removeDirt()
void
removeDirt(BloodBodyPartType bloodBodyPartType)
void
setBasicPatches(BloodBodyPartType bloodBodyPartType)
void
setBlood(java.lang.String string, java.lang.String string2, float float1, int int1)
void
setBlood(java.lang.String string, BloodBodyPartType bloodBodyPartType, float float1)
void
setDenimPatches(BloodBodyPartType bloodBodyPartType)
void
setLeatherPatches(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, setDirty
Methods 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, trygetTexture
Methods inherited from class zombie.asset.Asset
addDependency, getAssetManager, getObserverCb, getPath, getRefCount, getState, onBeforeEmpty, onCreated, removeDependency, setAssetParams
Methods 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()
-