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;

This item has no description.

Fields

Public var X: Integer;

This item has no description.

Public var Y: Integer;

This item has no description.

Public var Z: Integer;

This item has no description.

Public var W: Integer;

This item has no description.

Methods

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

This item has no description.

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

This item has no description.

Public class operator - (const V: TVector4Integer): TVector4Integer; 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: TVector4Integer): boolean; static; inline;

This item has no description.

Public class function Zero: TVector4Integer; static; inline;

This item has no description.

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

This item has no description.


Generated by PasDoc 0.16.0.