Packed Record TVector4Byte

Unit

Declaration

type TVector4Byte = packed record

Description

Vector of 4 Byte values.

Overview

Nested Types

Public TIndex = 0..3;

Fields

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

Methods

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

Properties

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

Description

Nested Types

Public TIndex = 0..3;
 

Fields

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

Methods

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

Properties

Public property Data [constIndex:TIndex]: Byte 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 [constIndex:TIndex]: Byte read GetItems;

Get vector components by index.

Public property Items [constIndex:TIndex]: Byte 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.