Castle Game Engine: CastleShapes: Class TShapeTreeIterator

# Class TShapeTreeIterator
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleShapes ## Declaration `type TShapeTreeIterator = class(TObject)` ## Description Iterates over all TShape items that would be enumerated by Tree.Traverse. Sometimes it's easier to write code using this iterator than to create callbacks and use TShapeTree.Traverse. ## Hierarchy TObject TShapeTreeIterator ## Overview ### Methods
| `constructor Create(Tree: TShapeTree; const OnlyActive: boolean; const OnlyVisible: boolean = false; const OnlyCollidable: boolean = false);`
| `destructor Destroy; override;`
| `function GetNext: boolean;`
### Properties
| `property Current: TShape read FCurrent;`
## Description ### Methods
| `constructor Create(Tree: TShapeTree; const OnlyActive: boolean; const OnlyVisible: boolean = false; const OnlyCollidable: boolean = false);`
| `destructor Destroy; override;`
| `function GetNext: boolean;`
### Properties
| `property Current: TShape read FCurrent;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:12