Class TGeneratedShadowMapNode

Unit

Declaration

type TGeneratedShadowMapNode = class(TAbstractSingleTextureNode)

Description

Generate texture by rendering a depth (shadow) map. See https://castle-engine.io/x3d_extensions_shadow_maps.php

Hierarchy

Overview

Fields

Public nested const DefaultSize = 128;
Public nested const DefaultScale = 4.0;
Public nested const DefaultBias = 4.0;

Methods

Public procedure CreateNode; override;
Public destructor Destroy; override;
Public class function ClassX3DType: string; override;

Properties

Public property GeneratedTextureHandler: TGeneratedTextureHandler read FGeneratedTextureHandler;
Public property FdUpdate: TSFTextureUpdate read FFdUpdate;
Public property Update: TTextureUpdate read GetUpdate write SetUpdate;
Public property FdSize: TSFInt32 read FFdSize;
Public property FdLight: TSFNode read FFdLight;
Public property FdScale: TSFFloat read FFdScale;
Public property FdBias: TSFFloat read FFdBias;
Public property FdCompareMode: TSFStringEnum read FFdCompareMode;
Public property CompareMode: TShadowMapCompareMode read GetCompareMode write SetCompareMode;
Public property Size: Integer read GetSize write SetSize;
Public property Light: TAbstractLightNode read GetLight write SetLight;
Public property Scale: Single read GetScale write SetScale;
Public property Bias: Single read GetBias write SetBias;

Description

Fields

Public nested const DefaultSize = 128;
 
Public nested const DefaultScale = 4.0;
 
Public nested const DefaultBias = 4.0;
 

Methods

Public procedure CreateNode; override;
 
Public destructor Destroy; override;
 
Public class function ClassX3DType: string; override;
 

Properties

Public property GeneratedTextureHandler: TGeneratedTextureHandler read FGeneratedTextureHandler;
 
Public property FdUpdate: TSFTextureUpdate read FFdUpdate;
 
Public property Update: TTextureUpdate read GetUpdate write SetUpdate;

When to update the texture. See the specification of the "update" field of the GeneratedShadowMap on https://castle-engine.io/x3d_extensions_shadow_maps.php .

You should usually use this property instead of accessing FdUpdate, it will change FdUpdate.Value and call FdUpdate.Changed.

Public property FdSize: TSFInt32 read FFdSize;
 
Public property FdLight: TSFNode read FFdLight;
 
Public property FdScale: TSFFloat read FFdScale;
 
Public property FdBias: TSFFloat read FFdBias;
 
Public property FdCompareMode: TSFStringEnum read FFdCompareMode;
 
Public property CompareMode: TShadowMapCompareMode read GetCompareMode write SetCompareMode;
 
Public property Size: Integer read GetSize write SetSize;
 
Public property Light: TAbstractLightNode read GetLight write SetLight;
 
Public property Scale: Single read GetScale write SetScale;
 
Public property Bias: Single read GetBias write SetBias;
 

Generated by PasDoc 0.15.0.