getComponentCount

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "throws UnsupportedOperationException — not bound in filament.js.")
actual fun getComponentCount(): Int

Returns the number of light components (may include inactive/destroyed lights). Check with EntityManager.isAlive() before use if needed.

Return

Number of light components

Throws

on JS — getComponentCount is unbound in the web wrapper.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "throws UnsupportedOperationException — not bound in filament.js.")
expect fun getComponentCount(): Int

Returns the number of light components (may include inactive/destroyed lights). Check with EntityManager.isAlive() before use if needed.

Return

Number of light components

Throws

on JS — getComponentCount is unbound in the web wrapper.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "throws UnsupportedOperationException — not bound in filament.js.")
actual fun getComponentCount(): Int

Returns the number of light components (may include inactive/destroyed lights). Check with EntityManager.isAlive() before use if needed.

Return

Number of light components

Throws

on JS — getComponentCount is unbound in the web wrapper.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "throws UnsupportedOperationException — not bound in filament.js.")
actual fun getComponentCount(): Int

Returns the number of light components (may include inactive/destroyed lights). Check with EntityManager.isAlive() before use if needed.

Return

Number of light components

Throws

on JS — getComponentCount is unbound in the web wrapper.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "throws UnsupportedOperationException — not bound in filament.js.")
actual fun getComponentCount(): Int

Returns the number of light components (may include inactive/destroyed lights). Check with EntityManager.isAlive() before use if needed.

Return

Number of light components

Throws

on JS — getComponentCount is unbound in the web wrapper.