Class TCastleCone

Unit

Declaration

type TCastleCone = class(TCastleAbstractPrimitive)

Description

Cone with configurable size, position and material.

Hierarchy

Overview

Methods

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

Properties

Published property BottomRadius: Single read FBottomRadius write SetBottomRadius default 1;
Published property Height: Single read FHeight write SetHeight default 2;
Published property DoubleSided: Boolean read FDoubleSided write SetDoubleSided default false;
Published property Bottom: Boolean read FBottom write SetBottom default true;
Published property Side: Boolean read FSide write SetSide default true;

Description

Methods

Public constructor Create(AOwner: TComponent); 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

Published property BottomRadius: Single read FBottomRadius write SetBottomRadius default 1;

Cone bottom radius.

Published property Height: Single read FHeight write SetHeight default 2;

Cone height.

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 Bottom: Boolean read FBottom write SetBottom default true;

Display bottom of the cone. When False, you can see the cone interior if looking from the outside (note: turn on DoubleSided to make interior visible).

Published property Side: Boolean read FSide write SetSide default true;

Display sides of the cone. When this is False, and Bottom is True, then cone bottom is effectively displayed as just a disk.


Generated by PasDoc 0.16.0-snapshot.