Class TShapeList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TShapeList = class(specialize TFPGObjectList<TShape>)

Description

Hierarchy

  • TFPGObjectList
  • TShapeList

Overview

Methods

Public constructor Create;
Public constructor Create(Tree: TShapeTree; const OnlyActive: boolean; const OnlyVisible: boolean = false; const OnlyCollidable: boolean = false);
Public procedure SortFrontToBack(const Position: TVector3Single);
Public procedure SortBackToFront(const Position: TVector3Single);

Description

Methods

Public constructor Create;
 
Public constructor Create(Tree: TShapeTree; const OnlyActive: boolean; const OnlyVisible: boolean = false; const OnlyCollidable: boolean = false);

Constructor that initializes list contents by traversing given tree.

Public procedure SortFrontToBack(const Position: TVector3Single);

Sort shapes by distance to given Position point, closest first.

Public procedure SortBackToFront(const Position: TVector3Single);

Sort shapes by distance to given Position point, farthest first.


Generated by PasDoc 0.13.0 on 2014-08-30 12:10:41