Record TVector2SmallInt
Unit
Declaration
type TVector2SmallInt = record
Description
Vector of 2 SmallInt values.
Overview
Nested Types
TIndex = 0..1; |
Fields
X: SmallInt |
|
Y: SmallInt |
|
Data: array [TIndex] of SmallInt |
Methods
class operator + (const A, B: TVector2SmallInt): TVector2SmallInt; inline; |
|
class operator - (const A, B: TVector2SmallInt): TVector2SmallInt; inline; |
|
class operator - (const V: TVector2SmallInt): TVector2SmallInt; inline; |
|
function ToString: string; |
|
class function Zero: TVector2SmallInt; static; inline; |
Properties
property AsArray [const Index: TIndex]: SmallInt read GetItems; |
Description
Nested Types
TIndex = 0..1; |
|
This item has no description. |
Fields
X: SmallInt |
|
This item has no description. |
Y: SmallInt |
|
This item has no description. |
Data: array [TIndex] of SmallInt |
|
This item has no description. |
Methods
class operator + (const A, B: TVector2SmallInt): TVector2SmallInt; inline; |
|
This item has no description. |
class operator - (const A, B: TVector2SmallInt): TVector2SmallInt; inline; |
|
This item has no description. |
class operator - (const V: TVector2SmallInt): TVector2SmallInt; inline; |
|
This item has no description. |
function ToString: string; |
|
This item has no description. |
class function Zero: TVector2SmallInt; static; inline; |
|
This item has no description. |
Properties
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.16.0-snapshot.