Class TCastleBox

Unit

Declaration

type TCastleBox = class(TCastleAbstractPrimitive)

Description

Box with configurable size, position and material.

Hierarchy

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public function PropertySections(const PropertyName: String): TPropertySections; override;

Properties

Public property Size: TVector3 read FSize write SetSize;
Published property DoubleSided: Boolean read FDoubleSided write SetDoubleSided default false;
Published property SizePersistent: TCastleVector3Persistent read FSizePersistent ;

Description

Methods

Public constructor Create(AOwner: TComponent); override;

This item has no description.

Public destructor Destroy; override;

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 Size: TVector3 read FSize write SetSize;

Size of the box in 3D. By default (2, 2, 2).

Published property DoubleSided: Boolean read FDoubleSided write SetDoubleSided default false;

When this is True, the object is visible (and lit) from both sides.

Published property SizePersistent: TCastleVector3Persistent read FSizePersistent ;

Size that can be visually edited in Castle Game Engine Editor, Lazarus and Delphi. Normal user code does not need to deal with this, instead read or write Size directly.

See also
Size
Size of the box in 3D.

Generated by PasDoc 0.16.0.