Record TVector2SmallInt
Unit
Declaration
type TVector2SmallInt = record
Description
Vector of 2 SmallInt values.
Source: base/castlevectors_smallint.inc (line 23).
Overview
Nested Types
| Public | TIndex = 0..1; |
Fields
| Public | X: SmallInt |
| Public | Y: SmallInt |
| Public | Data: array [TIndex] of SmallInt |
Methods
| Public | class operator + (const A, B: TVector2SmallInt): TVector2SmallInt; inline; |
| Public | class operator - (const A, B: TVector2SmallInt): TVector2SmallInt; inline; |
| Public | class operator - (const V: TVector2SmallInt): TVector2SmallInt; inline; |
| Public | function ToString: string; |
| Public | class function Zero: TVector2SmallInt; static; inline; |
Properties
| Public | property AsArray [const Index: TIndex]: SmallInt read GetItems; |
Description
Nested Types
| Public | TIndex = 0..1; |
|
This item has no description. | |
Fields
| Public | X: SmallInt |
|
This item has no description. | |
| Public | Y: SmallInt |
|
This item has no description. | |
| Public | Data: array [TIndex] of SmallInt |
|
This item has no description. | |
Methods
| Public | class operator + (const A, B: TVector2SmallInt): TVector2SmallInt; inline; |
|
This item has no description. | |
| Public | class operator - (const A, B: TVector2SmallInt): TVector2SmallInt; inline; |
|
This item has no description. | |
| Public | class operator - (const V: TVector2SmallInt): TVector2SmallInt; inline; |
|
This item has no description. | |
| Public | function ToString: string; |
|
This item has no description. | |
| Public | class function Zero: TVector2SmallInt; static; inline; |
|
This item has no description. | |
Properties
| Public | property AsArray [const Index: TIndex]: SmallInt read GetItems; |
|
Get vector components by index. This is a default property, so you can write But note that this is not writeable (because exposing writeable properties on vectors would cause some subtle traps, see https://castle-engine.io/coding_traps ). Use | |
Generated by PasDoc 0.17.0.snapshot.