DataCollectionItemPlacerGOBase.PurgeAllRemovableGameObjects Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Purge all game objects that have been queued for removal.
public void PurgeAllRemovableGameObjects();
member this.PurgeAllRemovableGameObjects : unit -> unit
Public Sub PurgeAllRemovableGameObjects ()
Remarks
Normally items are removed as soon as they have been scrolled out of visibility, but to allow for transition effects, that default behavior for all scroll related methods can be delayed and the items can be manually purged with this method.
NOTE: if objects are not purged, they will indefinitely be referenced by this item placer, creating an effective memory leak.
This is useful for purging all previously visible items, such as after a transition effect, such as fade out, is done.