Packed Record TVector4Integer

Unit

Declaration

type TVector4Integer = packed record

Description

Vector of 4 Integer values.

Overview

Nested Types

Public TIndex = 0..3;

Fields

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

Methods

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

Properties

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

Description

Nested Types

Public TIndex = 0..3;
 

Fields

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

Methods

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

Properties

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

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

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

Public property AsArray [const Index: TIndex]: Integer read GetItems;

Get vector components by index.

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

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

 

Generated by PasDoc 0.16.0.