Record TVector4Cardinal

Unit

Declaration

type TVector4Cardinal = record

Description

Vector of 4 Cardinal values.

Overview

Nested Types

Public TIndex = 0..3;

Fields

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

Methods

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

Properties

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

Description

Nested Types

Public TIndex = 0..3;
 

Fields

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

Methods

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

Properties

Public property Data [const Index: TIndex]: Cardinal 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]: Cardinal read GetItems;

Get vector components by index.

Public property Items [const Index: TIndex]: Cardinal 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.