Class TCastleSphere

Unit

Declaration

type TCastleSphere = class(TCastleAbstractPrimitive)

Description

Sphere 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

Published property Radius: Single read FRadius write SetRadius default 1;
Published property DoubleSided: Boolean read FDoubleSided write SetDoubleSided default false;
Published property CollisionSphereRadius stored false;

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

Published property Radius: Single read FRadius write SetRadius default 1;

Sphere radius.

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 CollisionSphereRadius stored false;

CollisionSphereRadius is always derived from Radius for this component.


Generated by PasDoc 0.16.0-snapshot.