Back to Filament

getChildren

docs/android/dokka/filament-android/com.google.android.filament/-transform-manager/get-children.md

1.75.01.1 KB
Original Source

//filament-android/com.google.android.filament/TransformManager/getChildren

getChildren

[main]
open fun getChildren(i: Int, outEntities: Array<Int>): Array<Int>

Gets a list of children for a transform component.

Return

Array of retrieved children Entity.

Parameters

main

ithe EntityInstance of the transform component to get the children from.
outEntitiesarray to receive the result sized to the maximum number of children to retrieve. If null is given, a new suitable array sized to getChildCount is allocated.