Class TCastlePunctualLight

Unit

Declaration

type TCastlePunctualLight = class(TCastleAbstractLight)

Description

Ancestor class for all punctual lights: point, spot, directional.

The name "punctual" follows the glTF terminology, https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_lights_punctual . Punctual lights are infinitely small points that emit light from simple position or direction. This makes them different e.g. from area lights, of environment lights.

Hierarchy

Overview

Fields

Protected FPunctualLight: TAbstractPunctualLightNode;

Methods

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

Properties

Published property Shadows: Boolean read FShadows write SetShadows default false;

Description

Fields

Protected FPunctualLight: TAbstractPunctualLightNode;

Descendants should set it in constructor

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 Shadows: Boolean read FShadows write SetShadows default false;

Cast shadows from this light.

This simple property is experimental. Right now:


Generated by PasDoc 0.16.0.