Class TCastleSphere
Unit
Declaration
type TCastleSphere = class(TCastleAbstractPrimitive)
Description
Sphere with configurable size, position and material.
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TCastleTransform
- TCastleAbstractPrimitive
- TCastleSphere
Overview
Methods
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
function PropertySections(const PropertyName: String): TPropertySections; override; |
Properties
![]() |
property Radius: Single read FRadius write SetRadius default 1; |
![]() |
property DoubleSided: Boolean read FDoubleSided write SetDoubleSided default false; |
![]() |
property CollisionSphereRadius stored false; |
![]() |
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; |
![]() |
destructor Destroy; override; |
![]() |
function PropertySections(const PropertyName: String): TPropertySections; override; |
Properties
![]() |
property Radius: Single read FRadius write SetRadius default 1; |
Sphere radius. |
![]() |
property DoubleSided: Boolean read FDoubleSided write SetDoubleSided default false; |
When this is |
![]() |
property CollisionSphereRadius stored false; |
|
![]() |
property Slices: Cardinal read FSlices write SetSlices default 0; |
How many "
The default value of 0 means to follow global variable DefaultTriangulationSlices. |
![]() |
property Stacks: Cardinal read FStacks write SetStacks default 0; |
How many "
The default value of 0 means to follow global variable DefaultTriangulationStacks. |
Generated by PasDoc 0.16.0.