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