AnimatedPart

Parts which contain spritesheet animation

@TypeId("AnimatedPart")
class AnimatedPart : Part {}

Members

Functions

typeId
string typeId()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

splits
vec2i splits;

The amount of splits in the texture

Inherited Members

From Part

renderMask
void renderMask(bool dodge)
Undocumented in source. Be warned that the author may not have intended to support it.
typeId
string typeId()
Undocumented in source. Be warned that the author may not have intended to support it.
serializeSelf
void serializeSelf(InochiSerializer serializer)

Allows serializing self data (with pretty serializer)

serializeSelf
void serializeSelf(InochiSerializerCompact serializer)

Allows serializing self data (with compact serializer)

deserializeFromFghj
SerdeException deserializeFromFghj(Fghj data)
Undocumented in source. Be warned that the author may not have intended to support it.
offsetMaskThreshold
float offsetMaskThreshold;
Undocumented in source.
offsetOpacity
float offsetOpacity;
Undocumented in source.
offsetTint
vec3 offsetTint;
Undocumented in source.
maskCount
size_t maskCount()
Undocumented in source. Be warned that the author may not have intended to support it.
dodgeCount
size_t dodgeCount()
Undocumented in source. Be warned that the author may not have intended to support it.
textures
Texture[] textures;

List of textures this part can use

masks
MaskBinding[] masks;

List of masks to apply

blendingMode
BlendMode blendingMode;

Blending mode

maskAlphaThreshold
float maskAlphaThreshold;

Alpha Threshold for the masking system, the higher the more opaque pixels will be discarded in the masking process

opacity
float opacity;

Opacity of the mesh

tint
vec3 tint;

Tint of color based texture

activeTexture
Texture activeTexture()

Gets the active texture

hasParam
bool hasParam(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
getDefaultValue
float getDefaultValue(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
setValue
bool setValue(string key, float value)
Undocumented in source. Be warned that the author may not have intended to support it.
isMaskedBy
bool isMaskedBy(Drawable drawable)
Undocumented in source. Be warned that the author may not have intended to support it.
getMaskIdx
ptrdiff_t getMaskIdx(Drawable drawable)
Undocumented in source. Be warned that the author may not have intended to support it.
getMaskIdx
ptrdiff_t getMaskIdx(uint uuid)
Undocumented in source. Be warned that the author may not have intended to support it.
beginUpdate
void beginUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
rebuffer
void rebuffer(MeshData data)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
drawOne
void drawOne()
Undocumented in source. Be warned that the author may not have intended to support it.
drawOneDirect
void drawOneDirect(bool forMasking)
Undocumented in source. Be warned that the author may not have intended to support it.
finalize
void finalize()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta