Packed Record TVector2Integer
Unit
CastleVectors
Declaration
type TVector2Integer = packed record
Description
Vector of 2 Integer values.
See also
- TVector3Integer
- Vector of 3 Integer values.
Overview
Nested Types
Fields
|
var X: Integer; |
|
var Y: Integer; |
Methods
Properties
|
property Data [constIndex:TIndex]: Integer read GetItems write SetItems; deprecated 'use instead X, Y fields'; |
|
property AsArray [constIndex:TIndex]: Integer read GetItems; |
|
property Items [constIndex:TIndex]: Integer read GetItems write SetItems; deprecated 'use instead X, Y fields'; |
Description
Nested Types
|
TIndex = 0..1; |
|
Fields
|
var X: Integer; |
|
|
var Y: Integer; |
|
Methods
|
function ToString: string; |
|
|
function IsZero: boolean; inline; |
|
|
class function Equals(const V1, V2: TVector2Integer): boolean; static; inline; |
|
Properties
|
property Data [constIndex:TIndex]: Integer read GetItems write SetItems; deprecated 'use instead X, Y fields'; |
Warning: this symbol is deprecated: use instead X, Y fields
Access (get, set) vector components by index. We discourage using it. Use X, Y to change vector components. Use AsArray to access it by index, read-only.
|
|
property AsArray [constIndex:TIndex]: Integer read GetItems; |
Get vector components by index.
|
|
property Items [constIndex:TIndex]: Integer read GetItems write SetItems; deprecated 'use instead X, Y fields'; |
Warning: this symbol is deprecated: use instead X, Y fields |
Generated by PasDoc 0.16.0.