forEachProperty Method

Call a function for each property of this Entity.

forEachProperty(func: PropertyCallback, includeCustom: boolean = true): void

note Custom-handled properties are core properties that have behavior enforced by C++ handlers.

Parameter Type Description
func PropertyCallback The callback to be invoked on each property
includeCustom boolean If true (default), include custom-handled properties in the iteration. Otherwise, skip custom-handled properties.

Returns - void

Defined in

Last Updated: 30 November, 2023