Class TCastleBox
Unit
CastleScene
Declaration
type TCastleBox = class(TCastleAbstractPrimitive)
Description
Box with configurable size, position and material.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
constructor Create(AOwner: TComponent); override; |
|
 |
destructor Destroy; override; |
|
Properties
 |
property Size: TVector3 read FSize write SetSize; |
Size of the box in 3D. By default (2, 2, 2).
|
 |
property DoubleSided: Boolean read FDoubleSided write SetDoubleSided default false; |
When this is True , the object is visible (and lit) from both sides.
|
 |
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.