Skip to content
Select language:English

AuRea 1.0.2

class Flash(speed: Float, maxValue: Float, x: Float, y: Float, z: Float) : AuAnimation

The Flash class represents an animation where the object fades in and out, giving a flashing effect.

Parameters

speed

Specifies the speed of the flashing effect, which determines how quickly the object alternates between its visible and invisible states. A higher value makes the flashing faster, while a lower value makes it more gradual.

maxValue

Defines the maximum value for the flash effect, which represent the maximum scale of the object during the flash. This value controls how visible or how large the object becomes during the peak of the flash.

x

The x coordinate of the flashing direction vector.

y

The y coordinate of the flashing direction vector.

z

The z coordinate of the flashing direction vector.

Constructors

constructor(speed: Float, maxValue: Float, x: Float, y: Float, z: Float)

Inherited properties

The handle to the native resource.

Inherited functions

open override fun close()

Release the native resources.