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

AuRea 1.0.2

class AuGroup(trans: Mat4f = Mat4f.identity()) : AuEntity, AuContainer

Represents a group of entities in the 3D scene.

Parameters

trans

The transformation matrix of the group.

Constructors

constructor(trans: Mat4f = Mat4f.identity())

Inherited properties

The handle to the native resource.

var transformation: Mat4f

The transformation matrix of the entity.

Whether or not this entity is visible.

Functions

open override fun add(entity: AuEntity)

Adds the specified entity to this container.

open override fun remove(entity: AuEntity)

Removes the specified entity from this container.

open override fun removeAllEntities()

Removes all entities currently attached to this container.

open override fun removeLastEntity()

Removes the most recently added entity from this container.

Inherited functions

fun add(animation: AuAnimation)

Adds the specified animation to this entity.

open override fun close()

Release the native resources.

Disables hit detection for this entity.

fun enableHit(id: Long, bounds: FloatArray)

Enables hit detection for this entity.

fun remove(animation: AuAnimation)

Removes the specified animation from this entity.

Removes all animations currently attached to this entity.

Removes the most recently added animation from this entity.