Packed Record TVector3Integer

Unit

Declaration

type TVector3Integer = packed record

Description

Vector of 3 Integer values.

Overview

Nested Types

Public TIndex = 0..2;

Fields

Public var X: Integer;
Public var Y: Integer;
Public var Z: Integer;

Methods

Public class operator + (const A, B: TVector3Integer): TVector3Integer; inline;
Public class operator - (const A, B: TVector3Integer): TVector3Integer; inline;
Public class operator - (const V: TVector3Integer): TVector3Integer; inline;
Public function ToString: string;
Public function IsZero: boolean; inline;
Public class function Equals(const V1, V2: TVector3Integer): boolean; static; inline;
Public class function Zero: TVector3Integer; static; inline;

Properties

Public property Data [constIndex:TIndex]: Integer read GetItems write SetItems; deprecated 'use instead X, Y, Z fields';
Public property AsArray [constIndex:TIndex]: Integer read GetItems;
Public property Items [constIndex:TIndex]: Integer read GetItems write SetItems; deprecated 'use instead X, Y, Z fields';

Description

Nested Types

Public TIndex = 0..2;
 

Fields

Public var X: Integer;
 
Public var Y: Integer;
 
Public var Z: Integer;
 

Methods

Public class operator + (const A, B: TVector3Integer): TVector3Integer; inline;
 
Public class operator - (const A, B: TVector3Integer): TVector3Integer; inline;
 
Public class operator - (const V: TVector3Integer): TVector3Integer; inline;
 
Public function ToString: string;
 
Public function IsZero: boolean; inline;
 
Public class function Equals(const V1, V2: TVector3Integer): boolean; static; inline;
 
Public class function Zero: TVector3Integer; static; inline;
 

Properties

Public property Data [constIndex:TIndex]: Integer read GetItems write SetItems; deprecated 'use instead X, Y, Z fields';

Warning: this symbol is deprecated: use instead X, Y, Z fields

Access (get, set) vector components by index. We discourage using it. Use X, Y, Z to change vector components. Use AsArray to access it by index, read-only.

Public property AsArray [constIndex:TIndex]: Integer read GetItems;

Get vector components by index.

Public property Items [constIndex:TIndex]: Integer read GetItems write SetItems; deprecated 'use instead X, Y, Z fields';

Warning: this symbol is deprecated: use instead X, Y, Z fields

 

Generated by PasDoc 0.16.0.