Skip to content
Select language:English

AuRea 1.0.2

abstract class AuObject : AuEntity

Represents an object in the 3D scene.

Inheritors

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

fun setMesh(mesh: AuMesh)

Sets a new mesh for the object.

fun setOcclusion(value: Boolean)

Sets if this object is occluded by real object.

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.