Class TCastleVector4Persistent

Unit

Declaration

type TCastleVector4Persistent = class(TPersistent)

Description

TVector4 record represented as a TPersistent descendant, to be able to visually edit it (in Lazarus and Delphi visual designer, and Castle Game Engine visual designer) and to serialize it.

Normal user code does not need to deal with this class or it's instances. Instead directly operate on TVector4 values, which is faster and more natural. TVector4 are simple records, so they are naturally copied on assignment, and various operators like additions work in a natural way too.

Hierarchy

  • TObject
  • TPersistent
  • TCastleVector4Persistent

Overview

Fields

Public InternalGetValue: TGetVector4Event;
Public InternalSetValue: TSetVector4Event;
Public InternalDefaultValue: TVector4;

Methods

Public function HasDefaultValue: Boolean;

Properties

Public property Value: TVector4 read GetValue write SetValue;
Published property X: Single read GetX write SetX stored XIsStored nodefault;
Published property Y: Single read GetY write SetY stored YIsStored nodefault;
Published property Z: Single read GetZ write SetZ stored ZIsStored nodefault;
Published property W: Single read GetW write SetW stored WIsStored nodefault;

Description

Fields

Public InternalGetValue: TGetVector4Event;
 
Public InternalSetValue: TSetVector4Event;
 
Public InternalDefaultValue: TVector4;
 

Methods

Public function HasDefaultValue: Boolean;
 

Properties

Public property Value: TVector4 read GetValue write SetValue;
 
Published property X: Single read GetX write SetX stored XIsStored nodefault;
 
Published property Y: Single read GetY write SetY stored YIsStored nodefault;
 
Published property Z: Single read GetZ write SetZ stored ZIsStored nodefault;
 
Published property W: Single read GetW write SetW stored WIsStored nodefault;
 

Generated by PasDoc 0.16.0.