Packed Record TVector2Byte
Unit
CastleVectors
Declaration
type TVector2Byte = packed record
Description
Vector of 2 Byte values.
See also
- TVector3Byte
- Vector of 3 Byte values.
Overview
Nested Types
Fields
|
var X: Byte; |
|
var Y: Byte; |
Methods
Properties
|
property Data [constIndex:TIndex]: Byte read GetItems write SetItems; deprecated 'use instead X, Y fields'; |
|
property AsArray [constIndex:TIndex]: Byte read GetItems; |
|
property Items [constIndex:TIndex]: Byte read GetItems write SetItems; deprecated 'use instead X, Y fields'; |
Description
Nested Types
|
TIndex = 0..1; |
|
Fields
|
var X: Byte; |
|
|
var Y: Byte; |
|
Methods
|
function ToString: string; |
|
|
function IsZero: boolean; inline; |
|
|
class function Equals(const V1, V2: TVector2Byte): boolean; static; inline; |
|
Properties
|
property Data [constIndex:TIndex]: Byte 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]: Byte read GetItems; |
Get vector components by index.
|
|
property Items [constIndex:TIndex]: Byte 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.