KSLAnimatedEntity

annotation class KSLAnimatedEntity(val include: Boolean = true)(source)

Marks a ProcessModel.Entity subclass as animatable, mirroring the @KSLControl idiom (Phase 10.1b).

The type's animation identity is always the class's simpleName (it must equal the EntityCreated.entityType the engine emits), so — unlike @KSLControl — this annotation carries no name field. Its sole knob is include: set it false to exclude an otherwise-discovered type from the animation inventory.

Discovery does not require this annotation (nested Entity subclasses and entityType<T>() registrations are found regardless); the annotation is an explicit, idiomatic marker and the per-type opt-out.

Properties

Link copied to clipboard
val include: Boolean = true

whether to include this type in the animation inventory (default true)