Class TCastleCone
Unit
Declaration
type TCastleCone = class(TCastleAbstractPrimitive)
Description
Cone with configurable size, position and material.
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TCastleTransform
- TCastleAbstractPrimitive
- TCastleCone
Overview
Methods
constructor Create(AOwner: TComponent); override; |
|
function PropertySections(const PropertyName: String): TPropertySections; override; |
Properties
property BottomRadius: Single read FBottomRadius write SetBottomRadius default 1; |
|
property Height: Single read FHeight write SetHeight default 2; |
|
property DoubleSided: Boolean read FDoubleSided write SetDoubleSided default false; |
|
property Bottom: Boolean read FBottom write SetBottom default true; |
|
property Side: Boolean read FSide write SetSide default true; |
|
property Slices: Cardinal read FSlices write SetSlices default 0; |
|
property Stacks: Cardinal read FStacks write SetStacks default 0; |
Description
Methods
constructor Create(AOwner: TComponent); override; |
|
This item has no description. |
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
property BottomRadius: Single read FBottomRadius write SetBottomRadius default 1; |
|
Cone bottom radius. |
property Height: Single read FHeight write SetHeight default 2; |
|
Cone height. |
property DoubleSided: Boolean read FDoubleSided write SetDoubleSided default false; |
|
When this is |
property Bottom: Boolean read FBottom write SetBottom default true; |
|
Display bottom of the cone. When |
property Side: Boolean read FSide write SetSide default true; |
|
Display sides of the cone. When this is |
property Slices: Cardinal read FSlices write SetSlices default 0; |
|
How many "slices" to use to approximate the cone. The cone is rendered using polygons (triangles and quads) that approximate the cone shape. The more slices, the more the cone will look like a cone. Slices divide the objects like slices of a pizza. The default value of 0 means to follow global variable DefaultTriangulationSlices. |
property Stacks: Cardinal read FStacks write SetStacks default 0; |
|
How many "stacks" to use to approximate the cone. The cone is rendered using polygons (triangles and quads) that approximate the cone shape. The more stacks, the more the cone will look like a cone. Stacks divide the objects like stacks of a tower. The default value of 0 means to follow global variable DefaultTriangulationStacks. |
Generated by PasDoc 0.16.0-snapshot.