HytaleDocs
Misc

ParticleAnimationFrame

FrameIndex

If you have cut up the texture using FrameSize you can control which texture frame gets shown.

First frame is numbered with 0.

If Min and Max differ, a random frame in the range is picked.

Type information:

(Nullable)

Range with the following properties:

KeyTypeDescription
MinInteger defaults to: 0
MaxInteger defaults to: 0

Scale

Scales the texture to these values.

Inside Animation, the value multiplies the InitialAnimationFrame scale.

Please note that the side ratios might be constrained.

Type information:

(Nullable)

RangeVector2f with the following properties:

KeyTypeDescription
X(Nullable)
Rangef

Rangef with the following properties:

KeyTypeDescription
MinNumber defaults to: 0.0
MaxNumber defaults to: 0.0
Y(Nullable)
Rangef

Rangef with the following properties:

KeyTypeDescription
MinNumber defaults to: 0.0
MaxNumber defaults to: 0.0

Rotation

Rotates the particle.

Inside Animation, the value adds to the InitialAnimationFrame rotation.

Please note that rotation might be overwritten by ParticleRotationInfluence.

Type information:

(Nullable)

RangeVector3f with the following properties:

KeyTypeDescription
X(Nullable)
Rangef

Rangef with the following properties:

KeyTypeDescription
MinNumber defaults to: 0.0
MaxNumber defaults to: 0.0
Y(Nullable)
Rangef

Rangef with the following properties:

KeyTypeDescription
MinNumber defaults to: 0.0
MaxNumber defaults to: 0.0
Z(Nullable)
Rangef

Rangef with the following properties:

KeyTypeDescription
MinNumber defaults to: 0.0
MaxNumber defaults to: 0.0

Color

Tints the texture with this colour. Grayscale textures work the best here.

Type information:

(Nullable) A color in the form:

  • #RRGGBB

  • rgb(rrr, ggg, bbb)

Opacity

Adjusts the transparency of the particle.

Inside Animation, the value multiplies the InitialAnimationFrame opacity.

-1 (the default) means unset: the frame does not change the opacity.

The RenderMode Erosion behaves differently and cuts off transparent parts instead.

Type information:

(Nullable) Either Number defaults to: -1.0 or String that matches the pattern: ^(-?Infinity|NaN)$

On this page