Packed Record TVector4Integer
Unit
Declaration
type TVector4Integer = packed record
Description
Vector of 4 Integer values.
Overview
Nested Types
TIndex = 0..3; |
Fields
X: Integer |
|
Y: Integer |
|
Z: Integer |
|
W: Integer |
|
Data: array [TIndex] of Integer |
|
XY: TVector2Integer; |
|
ZW: TVector2Integer |
|
XYZ: TVector3Integer |
Methods
class operator + (const A, B: TVector4Integer): TVector4Integer; inline; |
|
class operator - (const A, B: TVector4Integer): TVector4Integer; inline; |
|
class operator - (const V: TVector4Integer): TVector4Integer; inline; |
|
function ToString: string; |
|
function IsZero: boolean; inline; |
|
class function Equals(const V1, V2: TVector4Integer): boolean; static; inline; |
|
class function Zero: TVector4Integer; static; inline; |
Properties
property AsArray [const Index: TIndex]: Integer read GetItems; |
Description
Nested Types
TIndex = 0..3; |
|
This item has no description. |
Fields
X: Integer |
|
This item has no description. |
Y: Integer |
|
This item has no description. |
Z: Integer |
|
This item has no description. |
W: Integer |
|
This item has no description. |
Data: array [TIndex] of Integer |
|
This item has no description. |
XY: TVector2Integer; |
|
This item has no description. |
ZW: TVector2Integer |
|
This item has no description. |
XYZ: TVector3Integer |
|
This item has no description. |
Methods
class operator + (const A, B: TVector4Integer): TVector4Integer; inline; |
|
This item has no description. |
class operator - (const A, B: TVector4Integer): TVector4Integer; inline; |
|
This item has no description. |
class operator - (const V: TVector4Integer): TVector4Integer; inline; |
|
This item has no description. |
function ToString: string; |
|
This item has no description. |
function IsZero: boolean; inline; |
|
This item has no description. |
class function Equals(const V1, V2: TVector4Integer): boolean; static; inline; |
|
This item has no description. |
class function Zero: TVector4Integer; static; inline; |
|
This item has no description. |
Properties
property AsArray [const Index: TIndex]: Integer 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.