Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

AuRea 1.0.2

class Spin(anglePerSecond: Float, x: Float, y: Float, z: Float) : AuAnimation

The Spin class represents an animation where the object rotates continuously around a specified axis.

Parameters

anglePerSecond

The speed of the spin, in radiant per second. This parameter controls how fast the object will rotate over time.

x

The x coordinate of the axis of rotation.

y

The y coordinate of the axis of rotation.

z

The z coordinate of the axis of rotation.

Constructors

constructor(anglePerSecond: 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.