Class TShapeTreeIterator
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
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 2014-04-30 22:06:45