Class TSector

Unit

Declaration

type TSector = class(TObject)

Description

This item has no description.

Hierarchy

  • TObject
  • TSector

Overview

Methods

Public constructor Create;
Public destructor Destroy; override;
Public function Contains(const Point: TVector3): boolean;
Public function Collision(const Box: TBox3D): boolean;

Properties

Public property Boxes: TBox3DList read FBoxes;
Public property VisibleSectors: TBooleanList read FVisibleSectors;
Public property Waypoints: TWaypointList read FWaypoints;

Description

Methods

Public constructor Create;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public function Contains(const Point: TVector3): boolean;

Is Point inside the sector.

Public function Collision(const Box: TBox3D): boolean;

Does the box collide (at least partially) with sector.

Properties

Public property Boxes: TBox3DList read FBoxes;

This item has no description.

Public property VisibleSectors: TBooleanList read FVisibleSectors;

What sectors are visible from this sector.

When reading this, you should generally be prepared that length of it may be smaller than all sectors of your scene. That's because sometimes we don't initialize VisibleSectors fully.

In this case you should assume that not initialized sector indexes are visible. And always you can assume that Always Sectors[I].VisibleSectors[I] = True, i.e. the sector is visible from itself (assuming that VisibleSectors has enough length to contain I).

Public property Waypoints: TWaypointList read FWaypoints;

Waypoints that are included in this sector.


Generated by PasDoc 0.16.0-snapshot.