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