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

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

Allows serializing self data (with pretty serializer)

deserializeFromFghj
SerdeException deserializeFromFghj(Fghj data)
Undocumented in source. Be warned that the author may not have intended to support it.
serializePartial
void serializePartial(InochiSerializer serializer, bool recursive)
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.
offsetEmissionStrength
float offsetEmissionStrength;
Undocumented in source.
offsetTint
vec3 offsetTint;
Undocumented in source.
offsetScreenTint
vec3 offsetScreenTint;
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[TextureUsage.COUNT] textures;

List of textures this part can use

textureIds
int[] textureIds;

List of texture IDs

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

emissionStrength
float emissionStrength;

Strength of emission

tint
vec3 tint;

Multiplicative tint color

screenTint
vec3 screenTint;

Screen tint color

activeTexture
Texture activeTexture()

Gets the active texture

renderMask
void renderMask(bool dodge)
Undocumented in source. Be warned that the author may not have intended to support it.
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.
getValue
float getValue(string key)
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.
setOneTimeTransform
void setOneTimeTransform(mat4* transform)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta