Class TCastleVector3Persistent

Unit

Declaration

type TCastleVector3Persistent = class(TCastleComponent)

Description

TVector3 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 TVector3 values, which is faster and more natural. TVector3 are simple records, so they are naturally copied on assignment, and various operators like additions work in a natural way too.

Hierarchy

Overview

Fields

Public InternalGetValue: TGetVector3Event;
Public InternalSetValue: TSetVector3Event;
Public InternalDefaultValue: TVector3;

Methods

Protected procedure Loaded; override;
Public constructor Create(const AOwner: TComponent = nil); reintroduce;
Public function HasDefaultValue: Boolean;
Public function PropertySections(const PropertyName: String): TPropertySections; override;

Properties

Public property Value: TVector3 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;

Description

Fields

Public InternalGetValue: TGetVector3Event;

This item has no description.

Public InternalSetValue: TSetVector3Event;

This item has no description.

Public InternalDefaultValue: TVector3;

This item has no description.

Methods

Protected procedure Loaded; override;

This item has no description.

Public constructor Create(const AOwner: TComponent = nil); reintroduce;

This item has no description.

Public function HasDefaultValue: Boolean;

This item has no description.

Public function PropertySections(const PropertyName: String): TPropertySections; override;

This item has no description. Showing description inherited from TCastleComponent.PropertySections.

Section where to show property in the editor.

Properties

Public property Value: TVector3 read GetValue write SetValue;

This item has no description.

Published property X: Single read GetX write SetX stored XIsStored nodefault;

This item has no description.

Published property Y: Single read GetY write SetY stored YIsStored nodefault;

This item has no description.

Published property Z: Single read GetZ write SetZ stored ZIsStored nodefault;

This item has no description.


Generated by PasDoc 0.16.0.