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 [const Index: TIndex]: Byte read GetItems write SetItems; deprecated 'use instead X, Y, Z, W fields';
Public property AsArray [const Index: TIndex]: Byte read GetItems;
Public property Items [const Index: TIndex]: Byte read GetItems write SetItems; deprecated 'use instead X, Y, Z, W fields';

Description

Nested Types

Public TIndex = 0..3;

This item has no description.

Fields

Public var X: Byte;

This item has no description.

Public var Y: Byte;

This item has no description.

Public var Z: Byte;

This item has no description.

Public var W: Byte;

This item has no description.

Methods

Public class operator + (const A, B: TVector4Byte): TVector4Byte; inline;

This item has no description.

Public class operator - (const A, B: TVector4Byte): TVector4Byte; inline;

This item has no description.

Public class operator - (const V: TVector4Byte): TVector4Byte; inline;

This item has no description.

Public function ToString: string;

This item has no description.

Public function IsZero: boolean; inline;

This item has no description.

Public class function Equals(const V1, V2: TVector4Byte): boolean; static; inline;

This item has no description.

Public class function Zero: TVector4Byte; static;

This item has no description.

Properties

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

Get vector components by index.

Public property Items [const Index: 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

This item has no description.


Generated by PasDoc 0.16.0.