Class CharacterSmartTexture
java.lang.Object
zombie.asset.Asset
zombie.core.textures.Texture
zombie.core.textures.SmartTexture
zombie.characterTextures.CharacterSmartTexture
- All Implemented Interfaces:
Serializable
,IDestroyable
,IMaskerable
,ITexture
Created by LEMMY on 6/30/2016.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.core.textures.Texture
Texture.TextureAssetParams
Nested classes/interfaces inherited from class zombie.asset.Asset
Asset.ObserverCallback, Asset.State
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]
static int
static int
static int
static int
static int
static final String[]
static int
static final String[]
static final String[]
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
isDefered, m_asset_manager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
addBlood
(BloodBodyPartType bodyPart, float intensity, IsoGameCharacter chr) float
addDirt
(BloodBodyPartType bodyPart, float intensity, IsoGameCharacter chr) void
addShirtDecal
(String dec) void
void
removeBlood
(BloodBodyPartType bodyPart) void
setBlood
(BloodBodyPartType bodyPart, float intensity) void
setDirt
(BloodBodyPartType bodyPart, float intensity) 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, addSeparate, addSeparate, addSeparate, addSeparate, addTexture, addTint, addTint, addTintedOverlay, bind, calculate, clear, destroy, getData, getFirstFromCategory, getID, isEmpty, isFailure, isReady, mask, mask, maskHue, maskHue, maskTint, maskTint, removeHole, removeHole, removeHole, saveOnRenderThread, 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, getSteamAvatar, getTexture, getTextureId, getType, getUseAlphaChannel, getUVScale, getWhite, getWidth, getWidthHW, getWidthOrig, getX, getXEnd, getXStart, getY, getYEnd, getYStart, isCollisionable, isDestroyed, isMaskSet, isSolid, isValid, loadMaskRegion, makeTransp, onBeforeReady, onTexturePacksChanged, processFilePath, reload, reloadFromFile, render, render, render, render, renderdiamond, rendershader2, renderstrip, renderwalln, renderwallnw, renderwallw, saveMask, saveMaskRegion, saveToCurrentSavefileDirectory, saveToZomboidDirectory, setAlphaForeach, setCustomizedTexture, setData, setHeight, setMask, setName, setNameOnly, setOffsetX, setOffsetY, setRealHeight, setRealWidth, setRegion, setUseAlphaChannel, setWidth, split, split, split, split2D, splitIcon, steamAvatarChanged, TexDeferedCreation, TexDeferedCreation, toString, trygetTexture
Methods inherited from class zombie.asset.Asset
addDependency, getAssetManager, getObserverCb, getPath, getRefCount, getState, onBeforeEmpty, onCreated, removeDependency, setAssetParams
-
Field Details
-
BodyCategory
public static int BodyCategory -
ClothingBottomCategory
public static int ClothingBottomCategory -
ClothingTopCategory
public static int ClothingTopCategory -
ClothingItemCategory
public static int ClothingItemCategory -
DecalOverlayCategory
public static int DecalOverlayCategory -
DirtOverlayCategory
public static int DirtOverlayCategory -
MaskFiles
-
BasicPatchesMaskFiles
-
DenimPatchesMaskFiles
-
LeatherPatchesMaskFiles
-
-
Constructor Details
-
CharacterSmartTexture
public CharacterSmartTexture()
-
-
Method Details
-
setBlood
-
setDirt
-
removeBlood
public void removeBlood() -
removeBlood
-
addBlood
-
addDirt
-
addShirtDecal
-