Back to Filament

removeEntity

docs/android/dokka/filament-android/com.google.android.filament/-scene/remove-entity.md

1.75.0536 B
Original Source

//filament-android/com.google.android.filament/Scene/removeEntity

removeEntity

[main]
open fun removeEntity(entity: Int)

Removes an Entity from the Scene.

Parameters

main

entitythe Entity to remove from the Scene. If the specified entity doesn't exist, this call is ignored.